Hi,
You can always trigger the event manually after loading the content
with:
$tabs.tabs('load', ui.index);
HTH
Radek
On 26 Sie, 02:25, BbErSeRkK <[EMAIL PROTECTED]> wrote:
> I had tried the show event, but it didn't serve my purposes.
> I also tried putting the comboselect initialisation into the
> window.onload event which worked for firefox, but still didn't work
> for ie6 (ie6 waited for the end of the comboselect init before drawing
> the tabs)
> In the end i had to remove the comboselect plugin because it was too
> slow in ie6
> Thanks for your help anyway Klaus
> cheers,
> Ben
>
> On Aug 25, 7:21 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > If you have Ajax tabs the load event fires on initialization. If you
> > have in-page tabs try the show event.
>
> > --Klaus
>
> > On Aug 22, 7:06 am, BbErSeRkK <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
> > > I'm using ui tabs with jquery comboselect, the tabs seem to wait for
> > > the combos select to finish doing its thing before loading.
> > > I want the tabs to load first, then run the initialisation for the
> > > comboselect.
>
> > > However i can't seem to find the initial callback function for ui tabs
>
> > > i've tried:
> > > $("#container > ul").tabs().bind("load",
> > > function(event, ui) {
> > > console.log('test-inside');
> > > });
>
> > > $("#container > ul").tabs().bind("load.ui-tabs",
> > > function(event, ui) {
> > > console.log('test-inside');
> > > });
>
> > > $("#courseContainer > ul").tabs({
> > > load: function(ui) {
> > > console.log('test-load'); //this doesn't
> > > },
> > > select: function(ui){
> > > console.log('test-select'); //this works
> > > }
> > > });
>
> > > I think the load event is the callback for when you load tabs
> > > dynamically and it does not fir on initialisation
> > > so any ideas how i put the callback on the initial load?
> > > cheers,
> > > Ben
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---