Click to See Complete Forum and Search --> : Menu Tree WITHOUT FRAMES


Alanis
12-23-2002, 07:40 AM
Hi,

I have tested several "Menu Tree javascripts" I found on the web, BUT I don't want to use frames in my website. The problem then is that, when I click on one of the tree items that are scrolled out, the whole page reloads and so does the javascript, so the tree always returns to its basic view! Is there a javascript that works around this problem??

Big thanks!

Alanis.

khalidali63
12-23-2002, 09:04 AM
Here is a work around it.
whcih ever item a user clicks,pass that item value to this page itself using window.location.href="this,html?clickedItem"
and when you reload the page look for the itemClicked if its null or empty load the fresh tree else select the tree itme that matches the item clicked.

Prety simple .....right


:-)

Cheers

Khalid