Removing URL pointer (hand)

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
JesseLY
Beginner
Beginner
Posts: 5
Joined: Wed Mar 01, 2006 8:34 pm

Removing URL pointer (hand)

Post by JesseLY »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
JesseLY
Beginner
Beginner
Posts: 5
Joined: Wed Mar 01, 2006 8:34 pm

Post by JesseLY »

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;");

}
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply