SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Guru moonman's Avatar
    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???

  2. #2
    webality...dunno what it means bcp_2005's Avatar
    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>&nbsp;</TD>
    </TR>
    </TABLE>

    You were close .
    [ metabahn ] : changing the course of the web.

  3. #3
    SitePoint Guru moonman's Avatar
    Join Date
    Dec 2000
    Location
    The Sea of Tranquility
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks man


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •