jquery scale losing position
-
19-09-2019 - |
Question
i have an absolute positioned img which i make it to appear using jquery scale effect...it works fine in firefox..in all other browsers this is what happens..
the img initially appears in a wrong position... the effect happens...then it comes to the position i have applied...is it a problem of scale effect...?
Update- the code
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..
<script type="text/javascript">
$('#uxcSample1').show('scale', 200);
</script>
hope i am clear now..
Solution 2
This solution worked for my case... dono if it is an inherent problem of scale effect...
the elements should be positioned with left as against using right... now my effects are working fine...
OTHER TIPS
If you want to div to appear, why do you use the id of the image in your jQuery code ?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow