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:29
added attributes
Poster: scoobyd
Dated: Wednesday May 12 2004 - 4:28:35 BST
Is there a way with the menu to add custom attributes to each menu item. To give you some background, we are overriding the onclick event on each menu item so that we can control what type of window opens and the size of said window. But we add those attributes to each menuItem so that we can grab the attribute and use it
As an example on our 'old' menu:
<div id="menuItem" windowType="thisWindow" windowHeight="300" windowWidth="400">
Is there a way to add the 'windowType', windowHeight & windowWidth to each menuItem?
Thanks for your help!
Poster: John
Dated: Wednesday May 12 2004 - 14:54:51 BST
See if http://www.milonic.com/menusample11.php is any help.