View Full Version : redirect to a specific location on a page

04-03-2003, 10:48 AM
Is it possible to redirect(go back) to a specific location on page.

What i want is:

The user scroll down a page an click a link.

The link opens a new page, the user then click a button and return to the same position on the parent page.

04-03-2003, 11:13 AM
Depends on browser used. For IE you can write:

04-03-2003, 01:07 PM
I use this one which I'm told works woth other browsers than IE but I havent tried it myself.

<a href="javascript:history.back(-1)">Back a page</a>

If you change the number in the brackets, your change the number of pages you can move back.