If you are familiar with jQuery, http://jquery.com/, (and if you are not
you should be ;) you can do in about 5 lines of javascript.


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Table Row highlighting with jQuery</title>

 <style>
   .highlight
   {
     background-color: #FEFFAF
   }
 </style>
 
 <script type="text/javascript" src="/jquery/jquery.js"></script>
 <script>
  $().ready(function() {
    $("tr").hover(function(){
         $(this).addClass("highlight");
      },function(){
         $(this).removeClass("highlight");
     });
   });
   
 </script>
 
 
</head>
<body>
<table>
  <tr><td>Row 1 Column 1</td><td>Row 1 Column 2</td></tr>
  <tr><td>Row 2 Column 1</td><td>Row 2 Column 2</td></tr>
  <tr><td>Row 3 Column 1</td><td>Row 3 Column 2</td></tr>
</table>
</body>
</html>

Hth,
-scott

________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Heudecker
Sent: Tuesday, March 20, 2007 9:48 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Row highlighting on IE

I haven't tried it, but have you tried <tr onmouseover="..."
onmouseout="...">?

On 3/20/07, eznibe < [EMAIL PROTECTED]> wrote:

Hi,

I need to know how to make the highlighting in IE, because it don't
support 
the tr:hover.

I found something about a patch, can you explain me a bit more about
this

Thanks
--
View this message in context:
http://www.nabble.com/Row-highlighting-on-IE-tf3433736.html#a9572576
Sent from the Wicket - User mailing list archive at Nabble.com.


------------------------------------------------------------------------
- 
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________ 
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user 



-- 
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management 
http://www.eventfulhq.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to