Change theme to e

Description

The following code shows how to change theme to e.

Example


<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='/js/lib/mootools-core-1.4.5-nocompat.js'></script>
<link rel="stylesheet"
  href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
<script type="text/javascript"
  src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script type="text/javascript"
  src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
</head><!--from   ww  w .jav a  2  s. c om-->
<body>
  <div data-role="page">
    <div data-role="header">
      <a href="" data-icon="arrow-l" data-iconpos="notext"
        data-theme="e">Back</a>
      <h1>Page Title</h1>
    </div>
    <!-- /header -->
    <div data-role="content">
      <p>Page content goes here.</p>
    </div>
    <!-- /content -->
    <div data-role="footer">
      <h4>Page Footer</h4>
    </div>
    <!-- /footer -->
  </div>
  <!-- /page -->
</body>
</html>

Click to view the demo





















Home »
  jQuery Mobile »
    Example »




Button
Button Event
Button Icon
Button Text
Checkbox
Collapsible
Date
Dialog
Event
Footer
Form
Header
Icon
Input
Layout
Listview
Listview Divider
Listview Item
Loader
mobile_settings
Navbar
Page
Page Event
Popup
Radio
Select
Slider
Switch
Textarea
Theme