0
在JavaScript中,我想制定一个规则,以便.mouseover只会在第一次滚动时起作用。让.mouseover只在第一次滚动时才能工作
我该怎么做?
这里是我的代码:
$("#page3").mouseover(function(){
$("#htmlcss").animate({width: "90%"}, 500);
$("#jqueryjavascript").animate({width: "40%"}, 500);
$("#phpmysql").animate({width: "20%"}, 500);
});