cactus1000
Programmer
I have a web page which, when loaded, invokes two javascripts, creating a pull-out menu. If I click on a menu item and then click on the back button, I get a blank page. I then have to reload the page to see the menu. I assume that both scripts need to be invoked to create the menu, and "back" isn't going to work. Do I need the back function to go to the first file (the one that calls the javascripts)? This seems odd since this is a widely used script (from Dynamic Drive). I know this involves the history.replace or location.replace functions, but I don't know the correct syntax, or where to put the function. Here's the first web page:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>HV Menu example</title>
</head>
<body>
<script type='text/javascript'>
//HV Menu- by Ger Versluis (//Submitted to Dynamic Drive (//Visit for this script and more
function Go(){return}
</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<noscript>Your browser does not support script</noscript>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>HV Menu example</title>
</head>
<body>
<script type='text/javascript'>
//HV Menu- by Ger Versluis (//Submitted to Dynamic Drive (//Visit for this script and more
function Go(){return}
</script>
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<noscript>Your browser does not support script</noscript>
</body>
</html>