how to make an IFRAME shrink?
i have an iframe with only one image inside.
i want the IFRAME to be exactly the size of the image, how do i do this?
p.s: i have alot of images in a variety of sizes
Well the 1st question to be asked is, can what you want to do be accomplished without use of an iframe?
2) no, kuz iframe is the only thing that comes in a layer ABOVE all.. especially selects which i have a few.
3) my goal is to make kind of a "popup" window without it being a popup.
i hate the way it looks, and with FF with some extension the popup will open in a tab instead of new window.
if this will be the only solution i will make a popup with a script to shrink to images size. but only as a last resort!!
<iframe id="sizeframe" name="sizeframe" src="yourpage.htm" width=300 height=100 scrolling="yes" frameborder="yes" onload=resize_iframe()></iframe>
The Silent One
The most dangerous thing in the world is an idea.
The most dangerous person in the world is one with an idea
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)