View Full Version : fake href? how to get pointer finger?
07-15-2003, 11:26 PM
I have a onClick link on my page, but am wondering if I can somehow get it to look like an href tag, i.e. the "pointed finger" onMouseover. It is just text not an image, so you cannot tell it is a link because it just has the cursor...
thanks in advance,
here is the short version of the tag, hope it's enough:
07-15-2003, 11:54 PM
<a onClick="changeimage(myimages,this.href)" style="cursor:hand;">1</a>
No, not cursor: hand. That's not a valid value.
Use cursor: pointer;.
07-16-2003, 01:37 PM
try this one
07-16-2003, 01:52 PM
I did this "finger" request awhile ago: http://www.codingforums.com/showthread.php?s=&postid=16598#post16598 :D :D :D
While pointer is the correct style value for cursor property, it is not supported in IE5.5-. A hack that takes care of that is putting both:
and in this order!!!
However in your particular example, you would do the folowing:
<a href="noJSlink.html" onclick=" return changeimage(.....
07-16-2003, 05:19 PM
07-17-2003, 04:28 AM
<a href="linktonoscriptresource.html" onclick="dostuff(); return false;">
or better yet ... return dostuff();
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.