I'm using dojo tabs in a php file. When the php file is first written to the browser the tabs show up as regular divs in a big mess. Then a second later they are fixed nicely into tab form. It's been a while since I looked into dojo and at the time it was written it was using 1.6 using links to online versions of dojo.
Is there some reason that this would happen. Something not ready or something not loaded first?
the php code echos this html:
<div dojoType='dijit.layout.TabContainer'><div dojoType='dijit.layout.ContentPane' title='Words' selected='true'>some html</div></div>...etc
I have this javascript in the header of the php file to echo this html first.
<script src='http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js' djConfig='parseOnLoad: true'></script><script>dojo.require('dijit.Tooltip');dojo.require('dijit.layout.TabContainer');dojo.require('dijit.layout.ContentPane');</script><link rel='stylesheet' type='text/css' href='http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css'/>;