I am playing around with jquery.tabs but I am having a major problem. >From the examples I see that it needs a code like this to work: <div id="container-1"> <ul> <li><a href="#fragment-1"><span>One</span></a></li> <li><a href="#fragment-2"><span>Two</span></a></li> <li><a href="#fragment-3"><span>Tabs are flexible again</span></a></li> </ul> <div id="fragment-1">1</div> <div id="fragment-2">2</div> <div id="fragment-3">3</div> </div>
But my code currently looks like this: <div id="content"> <div id="fragment-1">1</div> <div id="fragment-2">2</div> <div id="fragment-3">3</div> </div> <div id="sidebar"> <ul> <li><a href="#fragment-1">One</a></li> <li><a href="#fragment-2">Two</a></li> <li><a href="#fragment-3">Tabs are flexible again</a></ li> </ul> </div> How can I make it work without changing my code?