Originally posted by CiberTHuG
Okay, I've whitled down the function to just this:

Code:
      function slideSub(which) {
        var which = Number(which);
        var currSubMenu = document.getElementById("SubMenu" + which);
        currSubMenu.style.left = 120;
      }
Still isn't working. Ideas?
It works perfectly for me...
Though the only problem when I copy and paste the entire html you posted in the previous post is that...

<div class="MainEntry" style="top: 1; left: 1; width: 98; height: 20;"
onClick="Javascript:slideSub(0);">
the javascript in onclick event handler is broken by a white space by this forum.

It would be better if u don't use that and instead you can just do it like

<div class="MainEntry" style="top: 1; left: 1; width: 98; height: 20;"
onClick="slideSub(0);">