jQuery Mobile - Basic

This demonstration shows content scrolling.

by Brian von Konsky

HTML

<script src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css">
<script src="https://maps.googleapis.com/maps/api/js"></script>
<!-- Business Web Technologies (ISYS3004) -->
<!-- School of Information Systems        -->
<!------------------------------------------
Try this:
1. Note position of header and footer
2. Set the data-postion attribute of fooer to fixe
--------------------------------------------->

<!-- Home page -->
<div data-role="page" id="p1"> 
    <!-- Specify the header here -->
    <div  data-role="header">
        <h1>Home Page</h1>
    </div> 
    
    <!-- Content for the page goes here -->
    <div  data-role="content">
        <p>Content goes here </p>
    </div> 
    
    <!-- Specify the footer here -->
    <div  data-role="footer" >
        <h4>Brough to you by BWT</h4>
    </div> 
</div>