Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:17

Directory View Like Yahoo


Poster: jruontheroad
Dated: Sunday August 1 2004 - 4:49:55 BST

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.

I got it working


Poster: jruontheroad
Dated: Monday August 2 2004 - 1:41:24 BST

:D Here is the example
http://www.simonband.com/test.htm


Poster: Andy
Dated: Monday August 2 2004 - 11:23:22 BST

Hi,

Does the sample at http://www.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