Dreamweaver’s integration with jQuery Mobile helps you quickly design a web application that works on most mobile devices while adapting itself to the dimensions of the device.
Use the jQuery Mobile starter pages in Dreamweaver to create your application. Alternatively, you can start creating your web application with a new HTML5 page.
To identify the location of the linked files, see the <link> and <script src> tags in code view.
The files downloaded from a CDN are read-only.
Dreamweaver provides you with the following starter pages to create your web application:
jQuery Mobile (CDN) (CS5.5 and later versions)
Use this starter page if you plan to host the jQuery Mobile library on a CDN.
jQuery Mobile (Local) (CS5.5 and later versions)
Use this starter page if you plan to host the assets yourself, or if your application doesn’t rely on an Internet connection.
jQuery Mobile (PhoneGap) (CS5.5 and later versions)
Use this starter page if your web application, when deployed as a mobile application, accesses features native to mobile devices. For more information, see Deploy web applications as native mobile applications (CS5.5).
In the page that appears, enable Follow Links Continuously (View > Live View Options), and switch to Live View. Use the navigation components to test how the application works.
Use the options in the Multiscreen menu to see how the design is displayed in devices with various dimensions. Disable Live view, and switch back to the Design view.
The Page component acts as the container for all the other jQuery Mobile components. Add the Page component before you proceed to insert other components.
If you want to connect to a remote CDN server hosting the jQuery Mobile files. Use the default option for the jQuery site if you have not configured a site containing jQuery Mobile files. You can also choose to use other CDN servers.
The files that are available in Dreamweaver are displayed. To specify a different folder, click Browse, and navigate to the folder containing the jQuery Mobile files.
You can choose to create custom CSS and JS files for your application. Ensure that your files are named jquery.mobile.js, jquery.mobile.css, and jquery.js
If you are using custom folders, do the following:
Download the uncompressed version of the jQuery 1.5 core library from http://docs.jquery.com/Downloading_jQuery#Download_jQuery.
Save the file to the core folder containing the other resources.