timgetback Posted August 6, 2006 Share Posted August 6, 2006 I wanted to change my table properties when hovering over it with a mouse...... like i have an alpha filter on my tables and i wanted the filter off when a user hovers over the tables... any help would be great sorry its not php... Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted August 6, 2006 Share Posted August 6, 2006 Yes, this is javascript and most likely CSS. Google javascript table highlighting.2nd link looks like it shows you what to do. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 7, 2006 Share Posted August 7, 2006 Javascript is not needed, look at the example below.[code]<style type='text/css'>td:hover{ background-color: red;}</style><table> <tr> <td>test1</td> <td>test2</td> </tr> <tr> <td>test3</td> <td>test4</td> </tr></table>[/code] Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 7, 2006 Share Posted August 7, 2006 That will only in IE7, FF and Opera and prehaps a few other CSS Compliant browsers. it wont work for IE6 and a select few browsers. As not all browsers support the :hover pseudo class on tags other than the anchor tag (a). Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted August 7, 2006 Share Posted August 7, 2006 [quote author=wildteen88 link=topic=103200.msg411256#msg411256 date=1154962635]That will only in IE7, FF and Opera and prehaps a few other CSS Compliant browsers. it wont work for IE6 and a select few browsers. As not all browsers support the :hover pseudo class on tags other than the anchor tag (a).[/quote]Well, that's because IE6 is broken then. I don't use IE because I use Linux. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 7, 2006 Share Posted August 7, 2006 Its not broken. its because it is not following CSS compliant standards, which now IE7 is. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.