Ok SOLVED
Good tip to post in UI Tabs and UI Accordion docs.
Another way to use widgets inside tabs like accordion is use "show' event.
Like this:
<script type="text/javascript">
$(function() {$("#tabs").tabs({
show: function(event, ui) {
$("#accordion").accordion({
header: "h3"
});
}
});
});
</script>
Cheers and please,
Report test to ie6++, Safari...
Tested in Linux/ FF2, Opera 9 only
Regards
macm
2009/2/19 Mario Moura <[email protected]>
> Hi garrettgjb
>
> I am trying understand what you did because I cant add UI accordion inside
> UI tabs too.
>
> In this link explain about *off-left technique but didnt work for me yet.
>
> *
> http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
>
> While I was reading your code I couldnt find this solution so probably you
> used another, May you share?
>
> In your test page have theme/ui.all.css, jquery.ui.all.js
>
> But to find a solution and the problem we could focus in accordion/tabs
>
> So Use:
>
> <script type="text/javascript" src="jquery-1.3.1.js"></script>
> <script type="text/javascript" src="ui.core.js"></script>
> <script type="text/javascript" src="ui.tabs.js"></script>
> <script type="text/javascript" src="ui.accordion.js"></script>
> <link type="text/css" href="ui.tabs.css" rel="Stylesheet" />
> <link type="text/css" href="ui.accordion.css" rel="Stylesheet" />
>
> Regards
>
> macm
>
>
>
>
>
> 2009/2/7 garrettgjb <[email protected]>
>
>
>> Well I figured out part of the problem. Now my problem is that the
>> accordion is not sized correctly (you have to use the scroll bar to
>> view the contents).
>>
>> http://gbanker.com/test/tabs2.php (meals tab)
>>
>> Any way to fix this problem?
>> >>
>>
>
--
Mário Alberto Chaves Moura
[email protected]
31-3264-6203
31-9157-6000
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---