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
Help with my school's Menu Please!
Moderator: General Moderators
- Technocrat
- Forum Contributor
- Posts: 127
- Joined: Thu Oct 20, 2005 7:01 pm
Re: Help with my school's Menu Please!
This needs to be in the Javascript forum
Your error is caused by something in you JS on these lines:
For what ever reason dropul comes back as null.
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 Re: Help with my school's Menu Please!
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!
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!
Thanks!
- Technocrat
- Forum Contributor
- Posts: 127
- Joined: Thu Oct 20, 2005 7:01 pm
Re: Help with my school's Menu Please!
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.
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.