I came across a similar situation, and here is how I solved the problem:
(1.) define a css class called "hide" and set it to "display: none"
(2.) In each div with the "contentpanel" class, add a "hide" next to this in your markup. this will ensure the loading of the display page
none, and not wait for javascript to process it.
(3.) when you create the jquery.ui.tabs selector, use the tabscreate method to remove the hide class from your panel contents. so your selector will look something like this:
To learn more about jQuery UI internal methods, read the following:
http://api.jqueryui.com/tabs/
and read
create (event, ui)
Hope this helps.
Chris
source share