I have fixed it. In the end i used the original code:
$(function() {
$("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs
('rotate', 5000);
});
But turned off the fade between items as that seems to have been the
cause. So now i am using:
$(function() {
duh. thanks.
but i also realise it is missing the auto rotate thing that could be
set up using the tabs function. Is there not a way to use the tabs
function with a return false.
On Aug 2, 12:27 pm, waseem sabjee wrote:
> In the code above you are using hide() instead of fadeOut() etc
>
> On Su
In the code above you are using hide() instead of fadeOut() etc
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 th
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 but jumps to the top, i
don't know where to put the return false statement in that bit of code
to prevent it doing tha
return false is the standard method and will work no problem :)
there is an alternative as well
$(document).ready(function(e){ // function becomes function(e)
e.preventDefault(); // prevent default behavior and ensure the click is
canceled.
$('#tabs div').hide();
$('#tabs div:first').show();
$('#
Thanks. I don't know javascript much. Where would i put the return
false
I have:
$(function() {
$("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs('rotate',
5000);
});
And i am not using onclick events. I tried using:
$(document).ready(function(){
$('#tabs d
Just try to writereturn false on tab click event.
On Jul 29, 6:53 pm, chris_huh wrote:
> Thanks but I can't find jquery.history_remote.pack.js. I am using
> jquery 1.7.1 and the tabs thing that comes with JQuery UI.
>
> On Jul 29, 2:25 pm, rupak mandal wrote:
>
> > Hi, if you remove the "jq
you have to return false; on click.
On Jul 29, 6:53 am, chris_huh wrote:
> Thanks but I can't find jquery.history_remote.pack.js. I am using
> jquery 1.7.1 and the tabs thing that comes with JQuery UI.
>
> On Jul 29, 2:25 pm, rupak mandal wrote:
>
> > Hi, if you remove the "jquery.history_remot
Thanks but I can't find jquery.history_remote.pack.js. I am using
jquery 1.7.1 and the tabs thing that comes with JQuery UI.
On Jul 29, 2:25 pm, rupak mandal wrote:
> Hi, if you remove the "jquery.history_remote.pack.js" then I think it works
> properly.
>
> On Wed, Jul 29, 2009 at 5:50 PM, chri
Thanks but I can't find jquery.history_remote.pack.js. I am using
jquery 1.7.1 and the tabs thing that comes with JQuery UI.
On Jul 29, 2:25 pm, rupak mandal wrote:
> Hi, if you remove the "jquery.history_remote.pack.js" then I think it works
> properly.
>
> On Wed, Jul 29, 2009 at 5:50 PM, chri
Hi, if you remove the "jquery.history_remote.pack.js" then I think it works
properly.
On Wed, 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
11 matches
Mail list logo