Using Theme Roller

Use Theme Roller at http://jquerymobile.com/themeroller to define your own theme without coding CSS directly. Even if you want to manually custimize the theme, this will give you are css file to use as the starting point.

Using the theme on your page

Include the theme css file after the default jquery mobile file:


<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<link rel="stylesheet" href="my_themes.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>

The set the them to be used on you pages, headers and footers:


<div data-role="page" id="Page0" data-theme="a">

 

 

USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published.