Forum Moderators: open
[webmasterworld.com ]
...2/3 the way down.
NB - The code is missing semicolons at the end of lines and curly braces from the conditional statement.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!-- HIDE SCRIPT FROM OLDER BROWSERS
var passpage = document.URL
if (top.location == self.location) {
top.location.replace('master.html?' + passpage);
}
//-->
</SCRIPT>
then add code to the main frameset to parse the URL after the ? to extract the link and write that page into the content frame, like the link toadhall posted. Using the location.replace method instead of location.href will avoid breaking the browsers back button.