Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple style-change jscript 1

Status
Not open for further replies.

ghorr

Programmer
Sep 16, 2002
29
RO
i need a jscript that changes the style of the cursor when i mouseover an image...
i am currently trying this but it doesn't work:

function stylePointer(x)
{
//alert(x.style.cursor.type);
x.style.cursor.type = "hand";
}

<td onclick=&quot;submitDown()&quot; onmouseover=&quot;stylePointer(this)&quot; onmouseout=&quot;styleNormal(this)&quot;><img border=0 src=&quot;button.gif&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top