Menu
Please help me i have been working on this code for a few days and cant figure it out. for some reason i am getting a broken graphic on the computer tab and i cant figure out why. Also i cant figure out how to get the side menu to disappear after i have clicked on the body of the menu or on anotehr one of the tabbed menus. the only error i get when i view it in IE is the message below. Any help would be greatly appreciated. Let me know if you need any other information.
Message: ‘activeMenu.style’ is null or not an object
Line: 79
Char: 1
Code: 0
could you elaborate a little please? when i pull up IE i am only getting the null error. i am also using a javascript debugger that is showing no javascript errors.[/quote]
function startSlide(num){
[COLOR=Red]if (activeMenu !==null)[/COLOR]
hideActive();
activeMenu = document.getElementById("sideMenu"+num);
slideMenu();
;
}
[/quote]
That test is incorrect because null !== undefined.if( typeof activeMenu === 'undefined' )
My book states to create the activeMenu variable and set its initial value to null. How would i do that then?[/quote]
0.1.9 — BETA 6.1