
Dec 12th, 2007, 09:45
|
|
New Member
|
|
Join Date: Oct 2006
Location: Reading, UK
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
A tree menu problem
A JavaScript dunce…
I’m using a JavaScript/CSS tree menu downloaded from DynamicDrive.com. It uses a cookie to remember which part of the menu should be shown as ‘open’ when you arrive at the page destination. This works fine as long as you use the tree menu to navigate to the page. However, I need to be able to display the same menu area when an on-page hyperlink is clicked.
I’ve tried using CSS in the page’s <head> to display the hidden ‘div’ but I think this is overridden by the tree menu’s JavaScript, as it is looking to see if there is a cookie set, and if not, sets the display to ‘none’.
Our site’s URL is: www.serversys.com
I have also attached the external JavaScript file that controls the tree menu.
Can anyone help please?
|