PDA

View Full Version : IFrame Help


Showtime2k4
12-11-2004, 01:34 AM
Hello, i'm using an IFrame on my site, everything works fine except I cannot figure out the code to make a webpage atuomatically load within the iframe on arrival. For instance, I view the main page and all, the Iframe is just blank...i'm trying to figure out how to startr it off with a link already loaded in the iframe, I tried a bunch of codes but nothing works. Here is the link, the IFrame is the white box in the middle.

http://www.angelfire.com/games5/ko/Main.html

Thanks.

tmmoose
12-11-2004, 11:42 AM
<iframe id="middlenav" src="mycontentspage.htm" width=500 height=200 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=1 scrolling=no></iframe>

try this.. :hellother

Found this have no tried it... (http://www.cmg02.com/cg2/iframe.htm)

Dukes
12-14-2004, 06:57 AM
Just in case you don't know this already, you need to add a target="(IFrame Name Here)" to your links so they will open in the IFrame.

You'll also need this: name="(IFrame Name)" in your IFrame tag. Just thought you might need that.