![]() Preserved Topic: TR mouseover/mouseout code (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() I would like to use CSS to define a javascript action for mouseover/mouseout functions on a Table Row...can anyone point me to a explanation on how to do this so that I can automatically have this done instead of manually placing the code for each TR created? |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() do you mean the same effect, that phpmyadmin has? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() why would you *want* to? |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() Yeah that's the ticket! Thanks Grumble!!!! |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
![]() see, I get why he would want the dynamicy of it, just wondering why create an event onmousever of a Table Row.. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
![]() I have a site with numerous TR's and most of the viewers are older...I was thinking it would be a visual aid for readability |
Paranoid (IV) Inmate From: Lebanon |
![]() hey grumble, nice code. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() np, but as i said above, this is just copied and pasted from the phpmyadmin source. |
Nervous Wreck (II) Inmate From: sj, ca, usa |
![]() here's some similar code i made. i also added a "cursor:hand" attribute to the sideNavLink class in the css: code: <tr><td class="sideNavLink" onmouseover="hili(this)" onmouseout="unHili(this)" onClick="changePage('index.jsp')"><a class="sideNavLink" href="index.jsp">home</a></td></tr>
|