Log in

View Full Version : Pointer Change Without hyperlink



hosdank
08-06-2008, 02:06 AM
I have an OnClick event in an <a> tag which does not have an href attribute. Instead of displaying the standered mouse selection cursor when you move the mouse over the text I would like it to have the cursor with the finger. Thnx :):):)

rangana
08-06-2008, 02:11 AM
cursor:pointer;

You might find this link useful:
http://www.w3schools.com/CSS/pr_class_cursor.asp

thetestingsite
08-06-2008, 02:11 AM
Use css styling in the anchor like so:



<a style="cursor: pointer;">Not A Link, but has pointer as a cursor.</a>


Hope this helps.

sorry rangana, cross post.

hosdank
08-06-2008, 02:14 AM
Thanks so much guys. :)