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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browser back button and frames....

Status
Not open for further replies.

spewn

Programmer
May 7, 2001
1,034
it seems on ie and nscp that the back button operates frames one at a time. cool, i get that, but that makes things a little confusing for users. anyone come up with something to either change both locations (frame) on back button click?

i thought about on page unload, but then that messes up my existing js and code. the top frame contents are specific to the main frame, so if they use the back and the nav frame goes back one, problems arise. you know it's no good if you have to tell the user what to do and get technical.

also, the question might be answered if anyone oould come up with an answer to a previously posted follow up by me...


*****

how can you tell if the frame is at a particular url?

like,

if this.url == ' { yada yada yada }

but the catch is, it would have to detect all directories and folders of the address...

like when you search for something, you put an '*' to denote all additional characters...

*****


thanks. - crispy
 
Not sure if this is what you are looking for, but my site is done in frames and on the left side I have a house icon, and use this script,
<BODY BACKGROUND=&quot;images/backsubmenu.gif&quot; BGCOLOR=&quot;#FFFFFF&quot; TEXT=&quot;#000000&quot; LINK=&quot;#000080&quot; VLINK=&quot;#800080&quot; ALINK=&quot;#FF0000&quot;>
<center><p><a href=&quot;index.html&quot; target=&quot;_top&quot;><img src=&quot;mini166.jpg&quot; height=15 width=17 border=&quot;0&quot; ALT= &quot;Back To Main Menu&quot;></a></b>

Then whatever page a user is on, one click will reload the main(1st)menu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top