PDA

View Full Version : Simple Tree Menu: Indicate selected Item



beedrew
01-22-2011, 06:15 AM
1) Script Title:
Simple Tree Menu


2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

3) Describe problem:

I need a way to indicate which Item in the tree has been selected. By default in the script, the Items are just text, but I have put links there. These links activate a Javascript which shows and hides content on the page.

I had thought of changing the background color of the particular LI that contains the clicked link, or perhaps swapping the background image (list.gif) of that LI for a check mark or something. But, I would also need to turn OFF any previously displayed background color or image changes, and I don't know how to write a script that would do this.

If anyone knows how, I'd appreciate the help! Thanks for reading.

ajoros
06-19-2012, 12:37 AM
Did you ever get a solution to this issue?