ZIndex的值直接通過animate動畫過渡設置
self.css("zIndex",zIndex).animate({
width:width,
height:height,
//zIndex:zIndex,
opacity:opacity,
left:left,
top:top
});
沒有發生幻燈片的錯位?。磕皇钦fcss方法會直接設置ZIndex的值,而animate會過渡導致所有的幻燈片的層級關系都一致?
self.css("zIndex",zIndex).animate({
width:width,
height:height,
//zIndex:zIndex,
opacity:opacity,
left:left,
top:top
});
沒有發生幻燈片的錯位?。磕皇钦fcss方法會直接設置ZIndex的值,而animate會過渡導致所有的幻燈片的層級關系都一致?
2015-05-16
舉報
2015-05-18
這樣設置會導致每一幀的層級都是一樣的,見圖例
至于其他寬高,位置等值,如果這樣直接設置,也是同樣的道理。