Change active button background
Description
The following code shows how to change active button background.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript' src='/js/lib/mootools-core-1.3.2.js'></script>
<style type='text/css'>
.ui-btn-active {<!-- w w w. ja va 2s. co m-->
background: #EEE !important;
}
</style>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="header" data-theme="b">
<h1>Test</h1>
</div>
<div data-role="content" data-theme="d">
<div data-role="navbar" data-theme="d">
<ul>
<li><a href="#" data-icon="custom" class="ui-btn-active">Home</a></li>
<li><a href="#" data-icon="grid">Second page</a></li>
<li><a href="#" data-icon="star">Third page</a></li>
</ul>
</div>
</div>
</div>
</body>
</html>