jQuery mobile popup - in progress

by katalin_2003

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 http-equiv='Content-Type' content='text/html; charset=utf-8'/>
        <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.3.1/jquery.mobile-1.3.1.min.css" />
        <!--<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>-->
        <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>    
    </head>
    <body>
        <div data-role="page" id="index">
            <div data-theme="b" data-role="header">
                <h1>Index page</h1>
            </div>
            
            <div data-role="content">
                <a href="#popupBasic" data-rel="popup" data-role="button" data-inline="true" data-transition="pop">Basic Popup</a>
                <div data-role="popup" id="popupBasic" data-position-to=".footer-example">
                    <a href="#popupBasic" data-rel="popup" data-icon="info" data-role="button" data-inline="true" data-transition="pop" data-iconpos="notext"></a>
                </div>
            </div>
            
            <div data-theme="b" data-role="footer" data-position="fixed" class="footer-example">
                <h1>Footer</h1>
            </div>            
        </div>    
    </body>
</html>

CSS

#popupBasic {
    margin-top: 50%;
    margin-left: 50%;
    height: 100px;
    width: 100px;
    box-shadow: 0 0 0;
    border-width: 0;
    border-radius: 10;
    background: #333333;
}