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:37
How can we get cursor styles on menu options.
Poster: GK
Dated: Friday April 13 2007 - 7:53:11 BST
Hi,
Ignore above message. Consider this message.
I would like to put cursor styles for menu options.
For example "I would like to keep 'hand symbol' for some menu options and 'arrow symbol' for some menu options".
In my menu it is showing 'text symbol' for all menu options.
For this I followed as below but not succeeded.
An item where I wanted cursor style I put [for example] in menu_data.js file
Code:
aI("showmenu=menu1;text=Generales;itemwidth=150;onfunction=showCursor(this);");
I put the belowfunction at the top of the menu_data.js file
Code:
function showCursor(elm) {
elm.style.cursor="hand";
}
elm.style.cursor="hand";
}
Thanks
Ganga Krishna.
Poster: Ruth
Dated: Friday April 13 2007 - 16:04:22 BST
Hi,
The cursor choice is already part of the properties, it's called pointer
Check here for more info under the pointer parameter. It can be either a style property, which means it will appear in any menu using the style where it is defined, or an item property, which seems to be the way you are using it.
http://www.milonic.com/styleproperties.php
http://www.milonic.com/itemproperties.php
Ruth