jquery-mobile/docs/config/dialogTransition.html
2012-01-11 15:51:53 -05:00

39 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html class="ui-mobile-rendering">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Docs - Configuration</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../js/jquery.js"></script>
<script>
$(document).bind("mobileinit", function(){
$.mobile.defaultDialogTransition = 'flip';
});
</script>
<script data-main="../../js/jquery.mobile.docs" src="../../external/requirejs/require.js"></script>
</head>
<body>
<div data-role="page" class="type-index">
<div data-role="header" data-theme="f">
<h1>Config applied</h1>
<a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
</div><!-- /header -->
<div data-role="content">
<h2>defaultDialogTransition is now "flip"</h2>
<p>To test, hit the button below and browse the docs. Note that if a link causes a refresh, this setting will be lost and the default settings will be seen.</p>
<a href="../../index.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Browse docs</a>
<a href="../pages/dialog.html" data-role="button" data-rel="dialog">Or open a basic dialog</a>
</div><!-- /ui-body wrapper -->
</div><!-- /page -->
</body>
</html>