Tip: If an deferred jQuery chain already returns the original context because of loop-free instant invocation then
._ works anyway.
Examples with original jQuery context
Menu navigation is frustrating when the submenu closes immediately on mouseleave, because sometimes the mouse pointer moves few pixels unintended. That's why we want to build in timeouts on mouseenter and mouseleave to show/hide the corresponding submenu.
With jquery-timing this is just two lines:⇒
In this example the user can choose an image by clicking on it. He can change his choice as often as he wants.
The "ready" button will always disable if last image is unselected.⇒
In this example we work with two different animation queues.
The horizontal animation for the ball uses the effects queue named 'myFX'. We have to start that queue manually using .dequeue('myFX').
The vertical animation uses the default queue which always starts on its own. It includes all three moving elements at once.
Because the two queues will be animated with different repeating intervals the ball doesn't always take the same path.⇒