am using:
$(function() {
$("#tabs").tabs().tabs('rotate', 5000);
});
Thanks
On Aug 2, 1:02 pm, chris_huh wrote:
> duh. thanks.
>
> but i also realise it is missing the auto rotate thing that could be
> set up using the tabs functio
;
> On Sun, Aug 2, 2009 at 12:42 PM, chris_huh wrote:
>
> > I tried that and it didn't work.
>
> > The second code i pasted above works (doesn't jump to top of page) but
> > it loses the fading ability.
> > Where as the first bit of code has the fadign bu
s('active');
> $(this).parent().addClass('active');
> var currentTab = $(this).attr('href');
> $('#tabs div').hide();
> $(currentTab).show();
>
> });
> });
>
> just curious through if any expert out there can explain the difference
> betwee
x27;active');
var currentTab = $(this).attr('href');
$('#tabs div').hide();
$(currentTab).show();
return false;
});
});
and that works but i lose the fade effect and am not sure where to put
it back in.
On Jul 30, 7:33 pm, kalyan Chatterjee
ed, Jul 29, 2009 at 5:50 PM, chris_huh wrote:
>
> > At the moment my page will jump to the top (because of the #) whenever
> > a new tab is clicked or when it automatically rotates to one.
>
> > Is there a way to stop this, maybe using an onclick event instead of
> > relying on the #tabs links?
ed, Jul 29, 2009 at 5:50 PM, chris_huh wrote:
>
> > At the moment my page will jump to the top (because of the #) whenever
> > a new tab is clicked or when it automatically rotates to one.
>
> > Is there a way to stop this, maybe using an onclick event instead of
> > relying on the #tabs links?
At the moment my page will jump to the top (because of the #) whenever
a new tab is clicked or when it automatically rotates to one.
Is there a way to stop this, maybe using an onclick event instead of
relying on the #tabs links?
7 matches
Mail list logo