SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does anyone know how to, with Javascript, change the background of a table cell when the mouse is over it, but change back when the mouse leaves?

    Like:
    <td onmouseover="changecolor('#003399')" onmouseout="changecolor('#FFFFFF')">

    What would the changecolor() function be defined as? Thanks in advance...
    Last edited by qslack; Apr 24, 2001 at 16:43.


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
  •