开发者

jquery slider shows all content on load

开发者 https://www.devze.com 2022-12-22 11:44 出处:网络
IE somehow shows the whole div when the page loads (just click a button to see it) befor it resizes to the right size. Is it p开发者_JAVA技巧ossible to avoid this since it is really ugly:

IE somehow shows the whole div when the page loads (just click a button to see it) befor it resizes to the right size. Is it p开发者_JAVA技巧ossible to avoid this since it is really ugly:

http://www.bbp.nl/luuk-test/wac/partners/

In FF it works perfectly fine (not the layout fully, but the slider)

plz help.


It is because the script is resizing the div after the DOM element fully loaded. In order to overcome this problem set the width & height to 0 in its CSS property. And then re-size it by script.

     Hope this will help 
0

精彩评论

暂无评论...
验证码 换一张
取 消