Tuesday, January 29, 2013

jQuery Mobile Application



jQuery mobile  is a unified, HTML5-based user interface system for all popular mobile device platforms, which can be downloaded from:
http://jquerymobile.com/
You can use cool drag-and-drop jQuery mobile UI builder to design mobile friendly websites and download the zip files. jQUERY mobile defines header, content, page, theme, footer and much more:
Example code:
<!DOCTYPE html>
<html>
<head>
    <title>My Page</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <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/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>
</head>
<body>

<div data-role="page">

    <div data-role="header" data-theme="b">
        <h1>Welcome to jQuery mobile DEMO</h1>
    </div><!-- /header -->

    <div data-role="content">   
        <p>Hello world</p>       
    </div><!-- /content -->

  <div data-theme="b" data-role="footer" data-position="fixed">
                <h3>
                    This is footer@jiansen lu
                </h3>
            </div>
  </div><!-- /page -->
</body>
</html>
Demo:

No comments:

Post a Comment