Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Posts
    1,074

    Question DreamweaverMX table cell hover effect...

    How can I make a table cell change color upon mouse hover in DreamweaverMX? I know I can make links change color via CSS. I want to make my table cells hover like in this website:

    http://www.neogeoforlife.com/

    Scroll down that page a little bit. On the left hand side menu, you'll see it has hoverable cells for the alphabetical links under "reviews."

    How can I do this in DreamweaverMX? Thanks!

  2. #2
    Join Date
    Oct 2002
    Location
    Leicester, UK
    Posts
    3,335
    Got the following from viewing the source code of that page, with a few changes.

    Code:
    <table>
    <tr>
       <td onclick="location.href='someLink'"
             onmouseover="this.style.backgroundColor='#075EAF';this.style.cursor='hand';" 
             onmouseout="this.style.backgroundColor='#00007F';this.style.cursor='hand';">
          <a href="someLink">Some Link</a>
       </td></tr>
    </table>
    Hope it helps.
    Forget the username, call me Keith

Posting Permissions

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