有dom對象時
$ele.index(selector);
返回selector在$ele合集的位置
$ele.index(selector);
返回selector在$ele合集的位置
2018-02-08
stop():停止當前動畫,后續(xù)動畫繼續(xù)執(zhí)行
stop()==stop(false,false)==stop(false)
stop(true):停止當前和之后動畫;
stop(true,false)==stop(true)
stop(false,true):停止當前動畫,跳到最終狀態(tài),后續(xù)動畫繼續(xù)執(zhí)行;
stop(true,true):停止當前動畫,跳到最終狀態(tài),后續(xù)動畫不予執(zhí)行;
stop()==stop(false,false)==stop(false)
stop(true):停止當前和之后動畫;
stop(true,false)==stop(true)
stop(false,true):停止當前動畫,跳到最終狀態(tài),后續(xù)動畫繼續(xù)執(zhí)行;
stop(true,true):停止當前動畫,跳到最終狀態(tài),后續(xù)動畫不予執(zhí)行;
2018-02-08
因為慕課網(wǎng)的內(nèi)置瀏覽器執(zhí)行一次alert,然后你的瀏覽器在執(zhí)行一次
2018-02-07
duration 可選/String/Number類型指定過渡動畫運行多長時間(毫秒數(shù)),默認值為400。該參數(shù)也可以為字符串"fast"(=200)或"slow"(=600)。
complete:元素隱藏完畢后需要執(zhí)行的函數(shù)。函數(shù)內(nèi)的this指向當前DOM元素
complete:元素隱藏完畢后需要執(zhí)行的函數(shù)。函數(shù)內(nèi)的this指向當前DOM元素
2018-01-24
<script src="http://idcbgp.cn/static/lib/jquery/1.9.1/jquery.js"></script>
2018-01-23
<script src="http://idcbgp.cn/static/lib/jquery/1.9.1/jquery.js"></script>
2018-01-23
<script src="http://idcbgp.cn/static/lib/jquery/1.9.1/jquery.js"></script>
2018-01-23