Page 1 of 1

Help with my school's Menu Please!

Posted: Tue Apr 06, 2010 9:14 am
by oliverian
I just don't get it. We used to have a menu that worked last week, but now suddenly when I hover over the main menu, the sub menu doesn't appear. Any ideas or suggestions? My school site is http://www.oliverianschool.org.

Thanks,
Oliverian

Re: Help with my school's Menu Please!

Posted: Tue Apr 06, 2010 10:34 am
by Technocrat
This needs to be in the Javascript forum

Your error is caused by something in you JS on these lines:

Code: Select all

this.topitems[mainmenuid][this.topitemsindex]=menuitem //store ref to main menu links
var dropul=document.getElementById(menuitem.getAttribute('rel'))
document.body.appendChild(dropul) //move main ULs to end of document 
For what ever reason dropul comes back as null.

Re: Help with my school's Menu Please!

Posted: Wed Apr 07, 2010 9:06 am
by oliverian
Thanks for your reply, I'll move it to the javascript forum. I am still clueless as to how to fix this.

Re: Help with my school's Menu Please!

Posted: Wed Apr 07, 2010 10:01 am
by oliverian
Now I just went on my friend's computer and it worked on her chrome browser, but the menu no longer works on my IE browser. Any ideas on how to fix it?

Thanks!

Re: Help with my school's Menu Please!

Posted: Wed Apr 07, 2010 10:03 am
by Technocrat
I am not the best with JS debugging but I can offer you what I believe is a better solution.

Dynamic drive is ok for scripts. But there isn't support for most nor much updating. A better solution would be to use a more standard library like Jquery. There is lots of support and lots of updates. Its much more powerful and once you get it down very easy to use.

You can find a ton of menus out there with Google. You can also look at: http://www.kirill.me/personal/Jquery-Plugins.html menus are near the bottom.