www.webdeveloper.com
Results 1 to 4 of 4

Thread: onmouseout back to original className

  1. #1
    Join Date
    May 2008
    Posts
    11

    onmouseout back to original className

    HTML Code:
    <tr class="ah1" onmouseover="this.className='ah3'" onmouseout="this.className=''">
    I cannot define the onmouseout class name. So I'm hoping it is possible to have it somehow go back to original class name (I tried leaving it blank but it didn't work).

    Any ideas? Is this possible?

  2. #2
    Join Date
    Aug 2007
    Posts
    3,767
    It depends. How many trs are you doing on this, and is it always back to the same className?
    Great wit and madness are near allied, and fine a line their bounds divide.

  3. #3
    Join Date
    Apr 2008
    Posts
    59
    Quote Originally Posted by Declan1991
    It depends. How many trs are you doing on this, and is it always back to the same className?
    The amount of trs will differ and there will be a possibility of two classNames.
    I figured out that this was more of an javascript question, so I posted a new thread here that explains better what I'm trying to archieve

    http://www.webdeveloper.com/forum/showthread.php?t=183628

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Quote Originally Posted by marringi
    The amount of trs will differ and there will be a possibility of two classNames.
    I figured out that this was more of an javascript question, so I posted a new thread here that explains better what I'm trying to archieve

    http://www.webdeveloper.com/forum/showthread.php?t=183628
    Cross post has already been removed; re-post any extra information here.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles