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
  • PrintPrint
Share this Page URL
Help

4. Animation > Customizing jQTouch

Customizing jQTouch

jQTouch allows you to customize its default behavior by sending a variety of property settings into the constructor. We’ve seen this previously with icon and statusBar, but there are many others that you should be aware of. See Table 4-1.

Table 4-1. jQTouch customization options
PropertyDefaultExpectsNotes
addGlossToIcontruetrue or falseIf set to true, allow iPhone to add gloss to your Web Clip icon.
backSelector'.back, .cancel, .goback'Any valid CSS selector; separate multiple values with a commaDefines elements that will trigger the “back” behavior of jQTouch when tapped. When the back behavior is invoked, the current panel moves off screen with a reverse animation and is removed from history.

  

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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint