【发布时间】:2014-11-20 16:29:07
【问题描述】:
$(document).ready(function () {
$("img#ucar").load(function () {
$(this)
.animate({ opacity: 1 / 2 }, 600)
.animate({ top: "616px" }, 300)
.animate({ opacity: 1 }, 0);
return false;
});
});
.ism {
top: -400px;
width: 225px;
height: 345px;
margin: 0;
padding: 0;
position:absolute;
}
#ucar {
position: relative;
}
<div class="ism">
<img id="ucar" src="images/img01.png" />
</div>
此代码在 chrome 上工作,但在 IE 11 上不工作。我查看了其他问题,仅回答了我在网站上找不到的答案。
【问题讨论】:
标签: html animation load jquery-animate internet-explorer-11