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

New Visual Effects > The bounce Effect

The bounce Effect

The bounce effect makes the element appear to bounce vertically or horizontally as it appears or disappears. Options for this effect are listed in Table 14-3.

Table 14-3. Options for managing the bounce effect

Option

Function

options.mode

Displays ("show") or hides ("hide") the element. The default value is "effect", which means that only the rebound effect is made, without the appearance or disappearance of the element.

options.direction

Direction of the rebound: "up" (the default), "down", "left", or "right".

options.distance

Distance (in pixels) covered during each bounce. The default is 20 pixels.

options.times

Number of bounces to perform. The default is 5.


  

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