jQuery在页面加载后生效 [英] Jquery taking effect after the page is loaded
本文介绍了jQuery在页面加载后生效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用jquery ui.但是该页面需要花费很多时间来加载.我也在UL标签的LI元素上使用制表符功能.但是片刻之后,列表将按原样显示,然后出现Tabs效果.我已经编写了用于在同一html文件中调用标签页的javascript.我如何减少加载时间以及瞬间显示的突然视图.
I am using jquery ui. But the page is taking a lot of time to load. Also I am using tabs function for on LI elements of UL tag. But for a split second the list is shown as it is and after that the Tabs effect takes place. I have written the javascript for calling the tabs in the same html file. How I can reduce the loading time and also the the abrupt view that is shown for a split sec.
推荐答案
您可以将UL标签设置为display:none
You can set your UL tag to display:none
这篇关于jQuery在页面加载后生效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文