jQM Template
by Dragan Gaić
HTML
<link rel="stylesheet" href="http://jeromeetienne.github.com/jquery-mobile-960/css/jquery-mobile-fluid960.css">
<script src="http://timeago.yarp.com/jquery.timeago.js"></script>
<script src="http://imakewebthings.github.com/jquery-waypoints/waypoints.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<title>jQM Complex Demo</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no; target-densityDpi=device-dpi"/>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page" id="index">
<div data-theme="a" data-role="header">
<h3>
First Page
</h3>
<a href="#second" class="ui-btn-right">Next</a>
</div>
<div data-role="content">
<form>
<fieldset data-role="controlgroup" data-type="horizontal" id="custom-fieldset">
<legend>Horizontal:</legend>
<input name="radio-choice-h-2" id="radio-choice-h-2a" value="on" checked="checked" type="radio"/>
<label for="radio-choice-h-2a">One</label>
<input name="radio-choice-h-2" id="radio-choice-h-2b" value="off" type="radio"/>
<label for="radio-choice-h-2b">Two</label>
<input name="radio-choice-h-2" id="radio-choice-h-2c" value="other" type="radio"/>
<label for="radio-choice-h-2c">Three</label>
</fieldset>
</form>
</div>
<div data-theme="a" data-role="footer"...
CSS
#custom-fieldset div .ui-radio .ui-radio-on {
background: red !important;
}
JavaScript
$(document).on('pagebeforeshow', '#index', function(){
});