JavaScript Events in CSS

Results 1 to 2 of 2

Thread: JavaScript Events in CSS

  1. #1
    Join Date
    Dec 1969

    Default JavaScript Events in CSS

    Is it possible to set the onMouseOver / onMouseOut properties of a tag from within a stylesheet? Like this maybe:<BR><BR>CSS<BR>-------------------------------<BR>.tdnav<BR>{<BR>onMouseOver: rollover(this);<BR>}<BR><BR>-------------------------------<BR><BR>then in the page:<BR><BR>&#060;td class="tdnav"&#062;<BR><BR>I have the JavaScript function rollover is included on the page. I would have thought that this would be the way to do it, but does not seem to work. Please help.<BR><BR>Cheers

  2. #2
    Join Date
    Dec 1969

    Default Like this in IE

Posting Permissions

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