Created
April 12, 2015 04:38
-
-
Save anonymous/eeeaecea2d62512f1844 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/edaqi5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style> | |
article, aside, figure, footer, header, hgroup, | |
menu, nav, section { display: block; } | |
</style> | |
</head> | |
<body> | |
<table border="1"> | |
<tbody> | |
<tr> | |
<td>Lorem</td> <td>Ipsum</td> <td>Fierent</td> | |
</tr> | |
<tr> | |
<td style="background-color:red">Lorem ipsum</td> <td>pro ut tale erant</td> <td>mnesarchum ne</td> | |
</tr> | |
<tr> | |
<td >mnesarchum ne </td> <td >sapientem</td> <td >fierent mnesarchum </td> | |
</tr> | |
</tbody> | |
</table> | |
<script id="jsbin-javascript"> | |
$("table tr").hover( | |
function(){ | |
$(this).css("background-color","#FFEFC6"); | |
}, | |
function(){ | |
$(this).css("background-color",""); | |
} | |
); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">$("table tr").hover( | |
function(){ | |
$(this).css("background-color","#FFEFC6"); | |
}, | |
function(){ | |
$(this).css("background-color",""); | |
} | |
);</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("table tr").hover( | |
function(){ | |
$(this).css("background-color","#FFEFC6"); | |
}, | |
function(){ | |
$(this).css("background-color",""); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment