How can we get cursor styles on menu options.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
GK
Beginner
Beginner
Posts: 7
Joined: Tue Apr 10, 2007 12:18 pm

How can we get cursor styles on menu options.

Post by GK »

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: Select all

aI("showmenu=menu1;text=Generales;itemwidth=150;onfunction=showCursor(this);");
I put the belowfunction at the top of the menu_data.js file

Code: Select all

function showCursor(elm) {
	elm.style.cursor="hand";            
           }
Thanks
Ganga Krishna.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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://milonic.com/styleproperties.php

http://milonic.com/itemproperties.php

Ruth
GK
Beginner
Beginner
Posts: 7
Joined: Tue Apr 10, 2007 12:18 pm

Post by GK »

Hi Ruth,

Thanks for your reply.


Regards
Ganga Krishna.
:D
Post Reply