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

Back button...

Status
Not open for further replies.
May 9, 2000
446
GB
I have a site that uses two frames, one for the actual pages and one smaller frame used to hold navigatuions things. On some of the main pages there I have back buttons using the code below:

img src="images/BACK.gif" width="97" height="25" onClick="history.back()"

IOt works fine but is there a way to put it in the smaller frame but still have it work on the main frame so that clicking on it in the smaller frame will make the main frame page go back?
Cheers
 
You should be able to do that. Alls you should have to do is to make sure that each frame has it's own name then use that name in the script. so it would be something like
frameName.history.back().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top