gerkintrigg Posted February 2, 2009 Share Posted February 2, 2009 Hello, I thought that I had everything sorted for my website: http://www.neuro-lab.com but it says that there are errors on the page... I have no idea what the issue is, but it seems to relate to this part of the script: var ultags=document.getElementById(treeid).getElementsByTagName("ul") but if I delete it, it stops working completely and the folding menu just opens everything up... Please help. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 2, 2009 Share Posted February 2, 2009 in your page, you have this: ddtreemenu.createTree("treemenu2", false) but there is no element on the page with the ID of 'treemenu2' Quote Link to comment Share on other sites More sharing options...
gerkintrigg Posted February 2, 2009 Author Share Posted February 2, 2009 Oooh... so should I name my menu "treemenu2"? I'm not really sure what to do about the problem... (sorry... I'm not fantastic with JavaScript...) Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 2, 2009 Share Posted February 2, 2009 do you only have/want 1 folding menu tree? if so, remove that line (the line directly above it is the only one you should need) Quote Link to comment Share on other sites More sharing options...
gerkintrigg Posted February 2, 2009 Author Share Posted February 2, 2009 Great, thanks for that... and no... I only need one ;o) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.