stop(true ture):停止動(dòng)畫(huà),直接跳到第一個(gè)動(dòng)畫(huà)的最終狀態(tài) . 應(yīng)該是跳到當(dāng)前動(dòng)畫(huà)的最終狀態(tài)吧!不是第一個(gè)
2017-11-22
$("e").click(function(){
var v =$("animation").val();
var a =$("aaron");
a.empty();
if(v=="1"){
$.each(["ne",'a']),function(index,element){
a.append("suoyin:"+"index"+",yuans"+element)
}else if(v=="2"){
var v =$("animation").val();
var a =$("aaron");
a.empty();
if(v=="1"){
$.each(["ne",'a']),function(index,element){
a.append("suoyin:"+"index"+",yuans"+element)
}else if(v=="2"){
2017-11-12
fadein fadeout sideup sidedown hide show toggle
2017-11-10
這個(gè)就很有意思了 學(xué)完這個(gè)就在 自己的網(wǎng)站實(shí)踐一下
2017-11-10
改成這樣居然可以為什么?
$("button:last").click(function(){
$("#a2").hide({
d:3000,
com:function(){
alert("e");
}
})
})
$("button:last").click(function(){
$("#a2").hide({
d:3000,
com:function(){
alert("e");
}
})
})
2017-11-10
https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js
2017-11-08
alert之所以會(huì)彈出兩次是因?yàn)樗械?amp;lt;p>標(biāo)簽都有切換效果,而每一個(gè)<p>都會(huì)執(zhí)行一次淡出、淡入后彈窗的過(guò)程,所以有幾個(gè)<p>就會(huì)彈窗幾次,想要修改就將內(nèi)容放到一個(gè)<p>里面,刪掉多余的<p>就行了。
2017-11-06
不管怎樣,也算學(xué)完了這四篇,最后說(shuō)聲 Aaron艾倫老師辛苦了,我將繼續(xù)前進(jìn)!
2017-11-06
$("button").click(function(){
$("#a1").stop().slideToggle(100);
})
$("#a1").stop().slideToggle(100);
})
2017-11-05