-
Help with getting back to a Framed content page
Hi,
Assuming the user has clicked off to another page (which then has a further 'next' page), is there a way I can point the user 'back to' the original page if it was in a Frame?
I appreciate I could use the method:
a href="javascript:history.go(-2);"
- though this will not work correctly if the user has two'ed & fro'ed on the divert page as the '-2' may not then be the original page.
I guess what I'm asking is, how do I address a specific 'back to' via a href ?
i.e specific call of Frame within an html page - rather than the default Frame when first visited?
a href="main_page.htm[specific frame page.htm]"
Thanks in advance!
-
-
Other than history.go(), there is no client-side way of sending the user backward. I suggest that you store the user's history in some way, possibly in a cookie or session, and use that to judge what "back" is.
-
-
If your object is not sending the user 'back', but rather sending the user to a page in a frame of a frameset, you could make up another, nearly identical, frameset that has the page you want as the src of the frame in question and link to that frameset.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks