作者 王智

baoxiu22

@@ -339,7 +339,14 @@ @@ -339,7 +339,14 @@
339 </script> 339 </script>
340 <script type="text/javascript"> 340 <script type="text/javascript">
341 var Open = document.getElementById("open"); 341 var Open = document.getElementById("open");
342 - Open.onclick = function () {  
343 - alert("成功"); 342 + function HoverAndMouseout() {
  343 + Open.hover(
  344 + function () {
  345 + $(this).css({"width": "500px"});//移上宽度变为500
  346 + });
  347 + Open.mouseout(
  348 + function () {
  349 + $(this).css({"width": "170px"});//移开还原
  350 + });
344 } 351 }
345 </script> 352 </script>