onMouseOver

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

onMouseOver

Post by shiznatix »

I am trying to make a table row turn my mouse cursor to the hand thing like on links when you hover over it because I have a onclick submit.

here is what i have right now (it does not change the cursor though :( )

Code: Select all

<tr style="cursor: hand;" onclick="javascript: document.myform<?= $i ?>.submit()">
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

There is in early versions of IE though :wink:
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

pointer The pointer value renders the cursor as an arrow to signify a link.

For Internet Explorer versions 4 and 5, the equivalent property is cursor:hand.
so try pointer instead of hand, jshpro2 is right though.
User avatar
Moocat
Forum Contributor
Posts: 143
Joined: Wed Oct 12, 2005 9:28 am
Location: USA

Post by Moocat »

cursor: pointer

is the hand :)
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Post by raghavan20 »

Code: Select all

<table>
		<tr><td>hello<td></tr>
		<tr><td 'style = cursor:pointer'>submit<td></tr>

	</table>
Post Reply