$(document).ready(function(){
           $("#sws_featured").tabs({fx:{opacity: "toggle"}}).tabs
("rotate", 5000, false); // false means not continue after user's
clicking
});

http://jqueryui.com/demos/tabs/#method-rotate


On Aug 12, 5:28 am, slinky66 <[email protected]> wrote:
> Hi All,
>
> I have a slide show, with navigation tabs that automatically cycles
> through a handful of images; I'd like to know how to stop the cycling
> when an onclick event occurs on one of the navigation tabs. Here is
> the instantiation:
>
>         $(document).ready(function(){
>                 $("#sws_featured > ul").tabs({fx:{opacity: "toggle"}}).tabs
> ("rotate", 5000, true);
>         });
>
> I tried adding this code right below (and also inside) the code above
> but to no avail:
>  $("#sws_featured > ul a").click(function(){
>
>             $("#sws_featured > ul").tabs({fx:{opacity: "toggle"}}).tabs
> ("rotate", 0, false);
>
>     });
>
> Must not be accessing the objects correctly... Any ideas?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to