I placed this code into the body of my page:
Code:
<SCRIPT LANGUAGE="JavaScript">
/*
Created by Randy Bennet http://home.thezone.net/~rbennett/utility/javahead.htm
Featured on JavaScript Kit (http://javascriptkit.com)
For this and over 400+ free scripts, visit http://javascriptkit.com
*/
function setVariables() {
if (document.layers) {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else if (document.all){
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
}
else if (document.getElementById){
y="window.pageYOffset";
}
}
function checkLocation() {
object="object1";
yy=eval(y);
if (document.getElementById)
document.getElementById("object1").style.top=yy
else
eval(dS+object+sD+v+yy)
setTimeout("checkLocation()",10);
}
</script>
<div id="object1" style="position:absolute; visibility:show; left:0px; top:0px; z-index:5">
<table width=150 border=0 cellspacing=20 cellpadding=0 >
<script type='text/javascript'>function Go(){return}</script>
<script type='text/javascript' src='coils.js'></script>
<script type='text/javascript' src='ersemenu_com.js'></script>
</table>
</div>
<BODY OnLoad="setVariables();checkLocation()">
I replaced his built menu with my calls to my javascript menu, however it dosnt work. Any ideas?