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:07
Removing URL pointer (hand)
Poster: JesseLY
Dated: Thursday April 27 2006 - 18:01:16 BST
Is there a way to remove the pointer hand when hovering over the top level heading? Often I make it so the top level is not an actual link. But it still shows as a link when people hover over it. I've removed the "url=" part of the script in that particular line but it doesn't seem to affect the pointer.
Thanks...
-jesse
Poster: Ruth
Dated: Thursday April 27 2006 - 18:10:51 BST
Hi,
Can you post your aI string for the item you say is still showing a pointer?
Usually there is no change if there is no url, however you might want to make it a type=header; this will keep the hand from changing, also there is a property called pointer= that you can use to set it for what you want. But, I have noted that in IE 5.5 that sometimes throws an error and makes the item unusable.
Below my name are links to various properties of the DHTML Menu, pointer is listed under item properties, those are properties you can put in the aI string.
Ruth
Poster: JesseLY
Dated: Thursday April 27 2006 - 23:09:08 BST
I"m not sure how much of this you need, but there's the main section. The Links & Resources item is the one that has a sub menu. But I don't want the top level to show as a pointer.
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=36;
left=135;
alwaysvisible=1;
orientation="horizontal";
aI("text=Portfolio;status=Web Design Portfolio;showmenu=Portfolio;itemwidth=70;align=center;");
aI("text=Services & Rates;showmenu=Services & Rates;itemwidth=120;align=center;");
aI("text=Reviews;showmenu=Reviews;itemwidth=68;align=center;url=reviews.html;status=Client Reviews");
aI("text=Links & Resources;showmenu=Links & Resources;itemwidth=130;align=center;status=Internet Lessons and Other Resources");
aI("text=Contact;showmenu=Contact;itemwidth=65;align=center;");
}
Poster: Ruth
Dated: Thursday April 27 2006 - 23:18:16 BST
Hi,
The reason it shows a pointer is because, to all intents and purposes, since it has a showmenu it has a 'link' more or less. You can eliminate that by using the item property pointer= and put in what you want as to the type of pointer. If you check the item property references from the link below my name and go down to pointer [they are alphabetized] it will explain it and give an example. And, below is a link to a css property reference for what you can use as a cursor property. pointer is not listed, perhaps that is a new property for css but I do know pointer as a property doesn't work in IE5. I suggest you try crosshairs, or maybe default and see what you get.
css mouse cursor properties
Ruth