Forum Moderators: open

Message Too Old, No Replies

How do I get Iframe pages to go blank with navigation

         

Blade Runner

6:38 pm on Sep 22, 2003 (gmt 0)

10+ Year Member



In my web design, I have a page with three iframes on it. When a link points to the "nav" iframe, the appropriate "nav" page shows up. When a link present in the "nav" iframe points to a page in the "content" iframe, again, the appropriate "content" page displays correctly. So far, so good. My question is, how can I get an iframe to display a blank page (in this case, the "content" iframe should go blank when a new main link points to a new "nav" iframe page)? The reason is, the navigation could get confusing for visitors when the "nav" iframe changes to a new page but the "content" iframe page remains the same. This logic should follow so that the "content" iframe is dependant on clicking a link in the "nav" iframe. If a new iframe comes up, the "content" iframe shouldn't continue to display an older page. It's okay if it does, it's just that I think the navigation would be cleaner with either a blank page or some simplistic page showing.

Any thoughts or ideas?

Ryan8720

10:36 pm on Sep 22, 2003 (gmt 0)

10+ Year Member



Make a page called blank.html and put nothing in it. Then search this forum for "opening two targets from same href". That should give you what you need.

And just for the record, I discourage the use of iFrames and frames for main nav/layout of a site.