Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make banner frame disappear 1

Status
Not open for further replies.

peitzza

Technical User
Apr 13, 2000
80
US
hi i've made a site with a banner at the top displaying a few links and the name of the site. is there any way to put a link(or button) on the banner so that when the user clicks it, the banner disappears leaving only the <b>current</b> page? eg. <A HREF=" TARGET="_new"> - when you ask a question and click one of the answer links it leaves the a banner frame for navigation back to the site, (or to the question you asked), but allows you to close frame leaving the current page.<br><br>any help would be great! thanx in advance<br><br>peter <p>Peter Heaton<br><a href=mailto:heaton@characterlink.net>heaton@characterlink.net</a><br><a href= it how ever you want</a><br>
 
Dear Peter,<br><br>If the bottom frame tag has a name of &quot;botframe&quot; like this:<br><br>&lt;frame name=&quot;botframe&quot; ....&gt;<br><br>Then in the top frame document you could do this:<br><br>function whatever_onclick(){<br><br>&nbsp;&nbsp;window.top.location =<br>&nbsp;&nbsp;&nbsp;&nbsp;window.top.frames(&quot;botframe&quot;).document.location;<br>}<br><br>Hope this helps<br>-pete
 
oops! rejoiced to fast... doesn't work unless you're in my site:( <p>Peter Heaton<br><a href=mailto:heaton@characterlink.net>heaton@characterlink.net</a><br><a href= it how ever you want</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top