Preserved Topic: TR mouseover/mouseout code |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 08-14-2002 18:24
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 |
posted 08-14-2002 20:14 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 08-14-2002 20:46
do you mean the same effect, that phpmyadmin has? |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 08-14-2002 21:29
why would you *want* to? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 08-15-2002 00:53 |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 08-15-2002 02:48
Yeah that's the ticket! Thanks Grumble!!!! |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 08-15-2002 03:53
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.... |
posted 08-15-2002 08:21
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 |
posted 08-15-2002 08:55
hey grumble, nice code. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 08-15-2002 11:30
np, but as i said above, this is just copied and pasted from the phpmyadmin source. |
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 08-15-2002 18:47
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>
|