Change class on 'onMouseOver'

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Change class on 'onMouseOver'

Post by HiddenS3crets »

I use onMouseOver in my <td> tags and i'm trying to change the link class when this happens.

Is there a way to define a class within onMouseOver?
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

Code: Select all

<td onMouseOver="className='case1';" onMouseOut="className='case2';">
That should work. : p

-NSF
User avatar
Nathaniel
Forum Contributor
Posts: 396
Joined: Wed Aug 31, 2005 5:58 pm
Location: Arkansas, USA

Post by Nathaniel »

Post Reply