Log in

View Full Version : Image over Iframe



detroll
03-07-2012, 06:25 PM
Hi, I am useing an Iframe to load sub-page informations.
However, when I first open's the website, the place where Iframe is,
its empty..as in the content isn't loaded yet. So I was wondering
if I can put a image or text on the Iframe until I click on the sub-page link
for the content to load and then the image/text on there before will disappear
after the content is loaded.

Thank You.

jscheuer1
03-07-2012, 10:56 PM
The easiest solution would be to put your image, or a page with your image and/or text in the iframe to start:


<iframe name="whatever" src="placeholder.htm"></iframe>

On placeholder.htm you could have your image, or some text, or both. Once the user clicks on a link that targets the iframe, that new page will take over in the iframe

detroll
03-08-2012, 08:22 PM
Lol wow..can't believe I didn't think of that.
Thank you sir. =)