File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Auto resizing iframe upon window resize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Auto resizing iframe upon window resize" Watch "Auto resizing iframe upon window resize" New topic
Author

Auto resizing iframe upon window resize

dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
I have a couple iframe at the bottom of page. I'd like to get these iframes resized to fill entire browser window space. What's is general technique for that?


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
memyself me
Greenhorn

Joined: May 16, 2006
Posts: 1
does anyone have a solution for this?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
"memyself me",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
Eric Pascarello
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The solution would be to set the size by reading the page width and height properties. Simple Google search will give you the answer for a page width and height.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto resizing iframe upon window resize
 
Similar Threads
Iframes height problem
Problem using html frames with struts and tiles
Can any body provide some link for writing MYPage
Positioning the column in the table
JSP error 500