Tabbar contents of all tabs loaded in once


We are using many tabbars with a lot of tabs.
The content of all the tabs is loaded in once since we upgraded from 3.6 to 4.0, which makes the loading of the screens with tabs very slow.

Is there a solution to avoid this behaviour, so the content is loaded when a tab is clicked?

You can try the next approach:

tabbar.attachEvent("onSelect", function(id){ if (tabbar.tabs(id).getFrame()==null){ tabbar.cells(id).attachURL("!test_file.html"); } return true; });