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: Mobile Frameworks > Overview of jQuery Mobile

Overview of jQuery Mobile

To get a basic jQuery mobile page you will need three things:

  • Latest copy of jQuery – (http://jquery.com)
  • Latest copy of jQuery Mobile CSS
  • Latest copy of jQuery Mobile JS

image Note At the time of writing this book the current version of jQuery Mobile is 1.0 beta3.

To use jQuery Mobile on your page, the <head> of your document should look like the code below.

Companion Site Reference

Example 5-2: Follow the link below to run this example on the companion site.

http://www.learnhtml5book.com/chapter5/jquerymobile/index.html

<head>
 <title>JQuery Mobile</title>
 <meta name="viewport" content="width=device-width" />
 <link rel="stylesheet" href="jquery.mobile-1.0b3.min.css" />
 <script src="jquery-1.6.4.min.js"></script>
 <script src="jquery.mobile-1.0b3.min.js"></script>
</head>

  

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