gpt4 book ai didi

javascript - jquery 规模失去位置

转载 作者:行者123 更新时间:2023-11-28 15:00:57 24 4
gpt4 key购买 nike

我有一个绝对定位的 img,我使用 jquery 缩放效果让它出现......它在 firefox 中工作正常......在所有其他浏览器中这就是发生的事情..

img一开始出现的位置不对...效果发生...然后就到了我申请的位置...是不是比例效应的问题...?

更新-代码

CSS..

<div id="uxcCircleContainerDiv" style="position:absolute; right:0px; top:0px; width:177px; height:177px; overflow:hidden;">
<img src="/Images/Standard/Sample1.gif" id="uxcSample1" alt="" style="position:absolute;width:72px; height:72px; top:3px; left:3px; display:none;"/>
</div>

脚本..

<script type="text/javascript">
$('#uxcSample1').show('scale', 200);
</script>

希望我现在清楚了..

最佳答案

如果要显示div,为什么要在jQuery 代码中使用image 的id?

关于javascript - jquery 规模失去位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2234904/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com