latest Post

hover program in JQuery

<html>
<head>
<script src="jquery.js"></script>
<script>
$(function(){
$("li").hover(function(){
$(this).toggleClass("x");
});
});
</script>
<style>
.x{
color:red;
font-size:20pt;
background:green;
cursor:crosshair;//move;//n-resize;//pointer;
}
</style>
</head>
<body>
<ol>
<li>JAVA</li>
<li>ASP</li>
<li>PHP</li>
<li>MySQL</li>
</ol>
</body>
</html>

About Mallikarjun A

Mallikarjun A
Recommended Posts × +

0 comments:

Post a Comment