开发者

is it possible to start coda slider on a hidden div?

开发者 https://www.devze.com 2023-01-03 05:17 出处:网络
i have a div id=holder, and inside a coda slider. it works alright, but to avoid the flickering in certain browsers, i decided to make holder display:none, and then display:block on $(document).ready

i have a div id=holder, and inside a coda slider. it works alright, but to avoid the flickering in certain browsers, i decided to make holder display:none, and then display:block on $(document).ready

The problem is that, for some reason, when the parent div is displa开发者_运维百科y:none, the coda slider doesnt have any effect.

any workarounds or ideas for this issue? thanks!


Make sure all the z-indexes are set properly. Also instead of display none, try making it 'invisible' by for example setting borders to 0; background color to white etc.

0

精彩评论

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

关注公众号