作者 王智

baoxiu22

@@ -341,13 +341,14 @@ @@ -341,13 +341,14 @@
341 var Open = document.getElementById("open"); 341 var Open = document.getElementById("open");
342 342
343 function HoverAndMouseout() { 343 function HoverAndMouseout() {
344 - console.log(1);  
345 Open.hover( 344 Open.hover(
346 function () { 345 function () {
  346 + console.log(1);
347 $(this).css({"width": "500px"});//移上宽度变为500 347 $(this).css({"width": "500px"});//移上宽度变为500
348 }); 348 });
349 Open.mouseout( 349 Open.mouseout(
350 function () { 350 function () {
  351 + console.log(2);
351 $(this).css({"width": "170px"});//移开还原 352 $(this).css({"width": "170px"});//移开还原
352 }); 353 });
353 } 354 }