Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
CHAPTER 5 MOBILE FRAMEWORKS Note Soon jQuery Mobile will have a custom theme roller similar to jQuery UI that will allow you to create your own themes and use them on your mobile site. Putting It All Together Now that we have our mobile framework we're ready to create the home page of GrandviewAve.com mobile edition. First we'll need to add our jQuery mobile JS and CSS files to the header. <head> <title>Welcome To Grandview Ave.</title> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="css/jquery.mobile-1.0b3.min.css" /> <link rel="stylesheet" href="css/grandviewave.css" /> <script src="js/jquery-1.6.2.min.js"></script> <script src="js/jquery.mobile-1.0b3.min.js"></script> Next we need to load the content from the API for the business categories. <script type="text/javascript"> $().ready(function(){ $.mobile.pageLoading(); $.get('api/cats.php', function(data) { $('#cats').html(data);