When you bind to the tabsshow event, you can check if
event.originalEvent exists. If it does, then the event was triggered
by the user and will contain the event corresponding to the user's
action, e.g., a click event.


On Dec 29, 6:30 am, dalori <[email protected]> wrote:
> I have a problem with the tabs in combination with the automatic tab
> rotation:
>
> Is it possible to get the set speed of the rotation
>                             - or -
> if the "tabsshow" event was invoked manually or by the automatic
> rotation?
>
> The reason why I am asking that is the following: I am trying to build
> tabs with images. One tab could be either an image itself or several
> images with only one label.
>
> The display flow should be the following:
> - show image tab 1 (using auto-rotation)
> - show image tab 2 (using auto-rotation)
> - show image tab 3 (using auto-rotation) containing several images
>   - stop auto-rotation
>   - show inner image 1
>   - show inner image 2
>   - show inner image 3
>   - start auto-rotation again <-- ONLY when the tab was displayed
> automatically and not if a user has clicked the tab manually. In that
> case it should stop on the last image
> - show image tab 4
>
> Does anybody know a clean solution?

--

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