Is there anything I can do to optimize the tab loading in javascript?
<p>My colleagues have create a website and there is a webpage which contains a Tab.
He Implement the tab with the following method:  </p>

<p>1.Load all content of the page<br>
2.Use javascript to display those group content as block and organize them into tabs.<br>
3.when user click one tab, then acitve it, and hide all other tabs.  </p>

<p>And these functions works very well, but the performance is bad:<br>
1.Load all contents cost lots of time<br>
2.It will show all content at first, and then shrink to a tab control. When the user see this, it might think this is a bug of our system.   </p>

<p>And These code are ready to deploy, is there any quick fix to handle these problems ?<br>
Thanks in advance !</p>
