Forum Moderators: mack

Message Too Old, No Replies

First page in iframe

How can I make a default front page show in an iframe?

         

melaniea76

9:39 pm on Nov 4, 2007 (gmt 0)

10+ Year Member



Hello;
New poster here. I found this forum while searching for an answer to a problem I was having with iframes. This post [webmasterworld.com...] helped me out a lot (thanks!) but I have a follow up question: when I use this method, I end up with a blank white page in the iframe when I visit the site for the first time. Is there a way to get a "default" home page to appear in there? I tried to put the front page html on the page I have listed in the iframe name tag, but it doesn't work. Any thoughts?
Thanks to anyone in advance.
Mel

melaniea76

1:06 am on Nov 5, 2007 (gmt 0)

10+ Year Member



Never mind... I have figured it out!

You have to put two name commands:

<IFRAME SRC="front.html" NAME="front.html"></IFRAME>

I was only putting the first one. Thanks anyway!