[jQuery] Re: UI/Tabs docs mismatch for multiple ul

2009-02-07 Thread Klaus Hartl


The FAQ applies to UI 1.5.

UI 1.6 requires slightly different markup (additional container) and
works fine for me.

--Klaus


On 6 Feb., 22:32, Nathaniel Whiteinge whitei...@gmail.com wrote:
 The UI Tabs documentation for using ul in a panel [1] has
 conflicting info and I'm not sure how to proceed.

 I'd like the following, but links in the enclosed ul are overwritten
 as though they are tab links::

     ul id=container
         lia href=#oneOne/a/li
         lia href=#twoTwo/a/li
     /ul
     div id=one
         ul.../ul
     /div
     div id=two
         ul.../ul
     /div

 The docs say to select the TOC ul specifically for .tabs() (which
 doesn't work and looks to have been removed in trunk [2]), but also
 say to target #container for tabs(). So how can I prevent tabifying
 links in the subsequent ul elements?

 Thanks.
 - whiteinge

 .. [1]http://docs.jquery.com/UI/Tabs#...the_call_to_tabs_tabify_all_li_elem...
 .. [2]http://dev.jqueryui.com/changeset/2020


[jQuery] Re: UI/Tabs docs mismatch for multiple ul

2009-02-07 Thread Richard D. Worth
On Sat, Feb 7, 2009 at 11:54 AM, Klaus Hartl klaus.ha...@googlemail.comwrote:



 The FAQ applies to UI 1.5.


In that case I moved it to the 1.5 FAQ, fyi

http://docs.jquery.com/UI/API/1.5.3/Tabs#...the_call_to_tabs_tabify_all_li_elements_-_even_those_in_a_panel_-_although_I_did_not_want_to_create_nested_tabs.3F

- Richard


[jQuery] Re: UI/Tabs docs mismatch for multiple ul

2009-02-07 Thread Nathaniel Whiteinge

On Feb 7, 9:54 am, Klaus Hartl klaus.ha...@googlemail.com wrote:
 The FAQ applies to UI 1.5.

 UI 1.6 requires slightly different markup (additional container) and
 works fine for me.

Yes, I'm using 1.5.3 (the current release) and it does not work. Are
you saying this is not possible with 1.5 and I need to run the preview
release instead?


[jQuery] Re: UI/Tabs docs mismatch for multiple ul

2009-02-07 Thread Klaus Hartl

 Yes, I'm using 1.5.3 (the current release) and it does not work. Are
 you saying this is not possible with 1.5 and I need to run the preview
 release instead?

No, it's absolutely possible. Otherwise there wouldn't be a FAQ ;-)

If you follow the code example in here it'll should work fine.


--Klaus