SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Change class on MouseOver
Hybrid View
-
Oct 23, 2002, 07:01 #1
- Join Date
- Dec 2000
- Location
- The Sea of Tranquility
- Posts
- 696
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Change class on MouseOver
I'm trying to change the class of a cell when you mouseover, something like this:
onMouseOver="class='c1bkg'" onMouseOut="class='c2bkg'"
Is something like this possible?
Or as an alternative, can the whole lot be placed in the css file, and given a class of it's own???
-
Oct 23, 2002, 09:01 #2
- Join Date
- Jun 2002
- Location
- Huntsville Alabama
- Posts
- 394
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
<TABLE WIDTH="200" BORDER="1" CELLSPACING="0" CELLPADDING="0" HEIGHT="200" ALIGN="CENTER" onMouseOver="this.className='t2'" onMouseOut="this.className='t1'" CLASS="t1" >
<TR>
<TD> </TD>
</TR>
</TABLE>
You were close.
[ metabahn ] : changing the course of the web.
-
Oct 23, 2002, 09:09 #3
- Join Date
- Dec 2000
- Location
- The Sea of Tranquility
- Posts
- 696
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks man
Bookmarks