我一直以為自己代碼寫錯(cuò)了,手機(jī)上一跑結(jié)果是對(duì)的,就是反應(yīng)感覺有點(diǎn)慢....
2017-03-03
Uncaught TypeError: Cannot read property 'trigger' of undefined
大圖顯示不正常,也無(wú)法左右滑動(dòng)
大圖顯示不正常,也無(wú)法左右滑動(dòng)
2017-02-23
swipeRight(function(){
var index= parseInt( imgLarge.index);
if(index==1){
index=17;
}else{
index--;
}
showLargeImage(index,function(){
$('#imgLarge').addClass('animated bounceInLeft');
});
});
var index= parseInt( imgLarge.index);
if(index==1){
index=17;
}else{
index--;
}
showLargeImage(index,function(){
$('#imgLarge').addClass('animated bounceInLeft');
});
});
2017-02-18
imgLarge.addEventListener('webkitAnimationEnd',function(){
$('#imgLarge').attr('class','');
});
$('#imgLarge').attr('class','');
});
2017-02-18
$('#imgLarge').attr('style',
this.height/this.width>1.2?'height:100%':'width:100%');
this.height/this.width>1.2?'height:100%':'width:100%');
2017-02-18
#large_container{
display:-webkit-box;
-webkit-box-align:center;
-webkit-box-pack:center;}//這樣不要計(jì)算大圖了,會(huì)自動(dòng)居中,根據(jù)情況設(shè)置 imageLarge或者width:100% or height:100%
display:-webkit-box;
-webkit-box-align:center;
-webkit-box-pack:center;}//這樣不要計(jì)算大圖了,會(huì)自動(dòng)居中,根據(jù)情況設(shè)置 imageLarge或者width:100% or height:100%
2017-02-18
$('#container li').height( $('#container li:first-child').width()).addClass("animated bounceIn");
2017-02-18
$('#container').html(tmp);
$('#container li').height( $('#container li:first-child').width() );
$('#container li').height( $('#container li:first-child').width() );
2017-02-18