Jquery taking effect after the page is loaded

前端 未结 4 428
轻奢々
轻奢々 2021-01-24 03:00

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

4条回答
  •  不知归路
    2021-01-24 04:00

    @dilip For loading times you can install Firebug with Firefox and see where the loading times go.

    If you are using PHP to generate your page, you can also use http://www.xdebug.org/ to see where PHP takes the most time per script file.

    For the menu I would say, do not let the JavaScript kick in to render the Tabs effect when the DOM has fully loaded. jQuery can detect that easily :)

提交回复
热议问题