Directory View Like Yahoo

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jruontheroad
Beginner
Beginner
Posts: 3
Joined: Sun Aug 01, 2004 4:41 am

Directory View Like Yahoo

Post by jruontheroad »

http://www.simonband.com/test.htm

Question:
I want to know how to get the data of the from the menu item selected and it's parent(s) menu item(s) to build links on my HTML page.

Example:
If I am at "test.htm" and I would like to get the "text, URL, target and the status" of that link and the "text, URL, target and the status" of its parents.
jruontheroad
Beginner
Beginner
Posts: 3
Joined: Sun Aug 01, 2004 4:41 am

I got it working

Post by jruontheroad »

User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Does the sample at http://milonic.com/menusample15.php not help.

The code is included in the source of that page.

The global variable for the current item is itemRef you can then use this to return properties for the current menu item.

Hope this helps
Andy
Post Reply