The problem is that when I use my example, the content of the tabs is displayed even if you haven't clicked on a tab. So something is wrong. Codewise, everything is correct in the CSS. Have any ideas?
On 13 Jul, 19:17, Klaus Hartl <[email protected]> wrote: > Just like what you gave as an example should work already. Why don't > you try? > > --Klaus > > On 13 Jul., 13:35, adrianemile <[email protected]> wrote: > > > Hi. > > Just starting to use the Tabs function, and think it's great. One > > problem though, my links and content got to be in the same div. Like > > this : > > > $(function() { > > > $("#navi").tabs({ fxFade: true, fxSpeed: 'fast' }); > > > }); > > > <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 change this so I can load the content in a second div > > instead of being in the same one as the links? Here is an example: > > > <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> > > > Thnx for the help :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
