PDA

View Full Version : frames and back buttons


jollywoz
11-01-2002, 09:40 AM
hi all,
using a script to load up an orphaned page (coming from search engine links) into its proper frameset, problem is because of the re-direct when the user tries to back button to leave the site they get stuck, any ideas on getting around this?

thx in advance

beetle
11-01-2002, 03:01 PM
Well, if you are using

window.location.href="url";

To send the user to the frameset page...you can instead use

window.location.replace('url');

This will replace the current page in the history with the new one...so a click on the Back button will take the user back to the search engine...