Creating popups with transition with jQuery Mobile

A simple example of creating popups with transitions using the jQuery Mobile.
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="jQuery example for Tizen"/>
    
    <title>jQuery Mobile example for Tizen</title>
    
    <link rel="stylesheet" href="./css/jquery.mobile-1.3.2.css"/>
 
    <script type="text/javascript" src="./js/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="./js/jquery.mobile-1.3.2.js"></script>

    <style>
    </style>
</head>

<body>

  	<a href="#testpopup" data-rel="popup" class="ui-btn ui-btn-inline ui-corner-all">Turn on the popup</a>

	<div data-role="popup" id="testpopup" data-transition="fade">
  	<p>This is jQuery Mobile popup in Tizen :)</p>
  	
</div>
  
<script>
</script>

</body>
</html>

Responses

0 Replies