<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="Scripts/jquery-2.1.1.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#img1").mouseover(function () {
$(this).attr("src", "images/mk2.jpg");
});
$("#img1").mouseout(function () {
$(this).attr("src", "images/mk3.jpg");
});
});
</script>
</head>
<body>
<form id="form2" runat="server">
<div align="center">
<img id="img1" src="images/mk2.jpg" width="300" height="300" />
</div>
</form>
</body>
No comments:
Post a Comment