As the demo and example show, the links and content is in the same
div. As you can see here:
<script type="text/javascript">
$(function() {
$("#navi").tabs({ fxFade: true, fxSpeed: 'fast' });
});
</script>
<div id="navi">
<ul>
<li><a href="#nyheter">Nyheter</a></li>
<li><a href="#arbeid">Arbeid</a></li>
</ul>
<div id="nyheter">
<p>Nyheter her</p>
</div>
<div id="arbeid">
<p>Arbeid her</p>
</div>
</div>
How can I make it to load the content inside a new div outside, in
this example, the #navi that was set in the javascript code?
Like this :
<div id="navi">
<ul>
<li><a href="#nyheter">Nyheter</a></li>
<li><a href="#arbeid">Arbeid</a></li>
</ul>
</div>
<div id="content">
<div id="nyheter">
<p>Nyheter her</p>
</div>
<div id="arbeid">
<p>Arbeid her</p>
</div>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---