Watches can also improve a person's grade. Just like a small fry favorite with the rolex replica gold chain, and successful people like to wear watches. Good watches exquisite workmanship, elegant appearance, can display the charm of women and men. Watch is also a symbol of rolex replica personal identity, the men look at the table, women look at the package, it is clear that this truth. A small piece of hublot replica fine watches a few thousand dollars, more than 10000 yuan, able to bring expensive watches are usually very successful in the work of people.
Full Control With animate
By: Tuts+ Tutorial
Page: 30 Days to Learn jQuery
Posted On: Jul 11, 2014
Email this knowledge
Up until this lesson, we've been using jQuery's helper methods, such as fadeIn and slideDown(). However, behind the scenes, these all reference the animate() method.

Today, we'll review how to use it, and why it's necessary when you require full control over your animations.

Homework
Tonight, I want you to create your own fadeSlideToggle() method that will combine the functionality of slideToggle and fadeToggle. You may not reference either of these methods directly; instead, you'll use animate(). Hint: jQuery allows you to pass the string, "toggle," as a value for height and opacity.

When finished, the method should be called, like so: $('#box').fadeSlideToggle();. We'll write a solution together in the next lesson, but try to do it by yourself this evening.



Attachments
1,214
0 likes, 0 dislikes
Comments (0)
Your Response