ButtermilkJack
New Member
Just wondering if anyone can help me fix a slight bug on a site I completed a while back?
I've noticed that the main menu 'auto-expands' the "Company" sub-menu when you land on the homepage and I can't figure out why. It doesn't do this if you type index.htm after the domain though (or click on the "Home" button), and it doesn't show the "company.htm" page either, just expands the sub-menu.
Bear in mind I'm a JS novice and just cut'n'pasted the javascript from a free tutorial so don't know where to start?
Thanks!
EDIT: Javascript is here
I've noticed that the main menu 'auto-expands' the "Company" sub-menu when you land on the homepage and I can't figure out why. It doesn't do this if you type index.htm after the domain though (or click on the "Home" button), and it doesn't show the "company.htm" page either, just expands the sub-menu.
Bear in mind I'm a JS novice and just cut'n'pasted the javascript from a free tutorial so don't know where to start?
Thanks!
EDIT: Javascript is here