Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5. Visual Effects and Animation > Toggling Sliding Operations

Toggling Sliding Operations

In addition to sliding elements up and down as you’ve seen in the previous two topics, you can toggle elements, sliding them up and down with the slideToggle( ) function. This function lets you slide an element up if it’s down, and down if it’s up.

You create this effect with the slideToggle( ) function like this:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial