jquery animate background-position不能做动画 $(this).children().children(".suoxiao").animate({
width:0,
height:0,
top:imgheightm,
left:imgwidthm,
background-position:-325px -325px, }, 300,function aa()
{
$(this).siblings('.fangda').css("visibility","visible"); $(this).siblings('.fangda').animate({
width:imgwidtha,
height:imgheighta,
top:0,
left:0,
}, 300);
} );
width:0,
height:0,
top:imgheightm,
left:imgwidthm,
background-position:-325px -325px, }, 300,function aa()
{
$(this).siblings('.fangda').css("visibility","visible"); $(this).siblings('.fangda').animate({
width:imgwidtha,
height:imgheighta,
top:0,
left:0,
}, 300);
} );
解决方案 »
- 正则表达式,文本框验证
- ext Toolbar 上的查询文本框值怎么获取上一个grid 选中的行值啊?
- (SVG相关)帮忙看看这段代码,IE中正常,FireFox没显示
- document.getElementById("myul").attributes[0].specified这个specified表示什么?
- 强制打开窗口页,而非新标签打开页面
- 求类似CSDN论坛左边导航的代码
- 麻烦大伙一分钟时间,帮忙一下。好吗?
- 100分啊,DIV的问题。
- 真难问题: ASP + JavaScript读取和保存大容量文本文件的问题?
- 如果在firefox下获得鼠标坐标??
- 如何使用js控制flash的全屏播放
- ajax发送异域加密资源请求不弹出登陆提示框?
backgroundPositionX:'-325p',
backgroundPositionY:'-325p',
试试