NameSilo

Error

Spaceship Spaceship
Watch

edd9139

New Member
Impact
0
IE6 gives me an error on a page.

It says "menuitem.1.div is null or not an object'.

What does this mean and more importantly how do I fix it? It is my site.

http://www.simsarchive.jumbahost.com/template.php


"<script type="text/javascript">
/*<![CDATA/

<!--
var time = 3000;
var numofitems = 7;

function menu(allitems,thisitem,startstate)* {
callname= "gl"+thisitem;
divname="subglobal"+thisitem;
this.numberofmenuitems = allitems;
this.caller = document.getElementById(callname);*
this.thediv = document.getElementById(divname);
this.thediv.style.visibility = startstate;
}

function ehandler(event,theobj){
for (var i=1; i<= theobj.numberofmenuitems; i++){
var shutdiv =eval( "menuitem"+i+".thediv");
shutdiv.style.visibility="hidden";*
}
theobj.thediv.style.visibility="vi* sible";
}

function closesubnav(event){
if ((event.clientY <48)||(event.clientY > 107)){
for (var i=1; i<= numofitems; i++){
var shutdiv =eval('menuitem'+i+'.thediv');
shutdiv.style.visibility='hidden';*
}
}
}
// -->

/]>*/
</script>"

So what do I need to add/remove to the above code to fix the error?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Anyone?
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back