mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
40 lines
1.5 KiB
HTML
40 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<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/" />
|
|
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
|
|
<script src="../../js/jquery.js"></script>
|
|
<script>
|
|
$(document).bind("mobileinit", function(){
|
|
$.mobile.pageLoadErrorMessage = 'Yikes, we broke the internet!';
|
|
});
|
|
</script>
|
|
|
|
<script src="../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></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>pageLoadErrorMessage is now "Yikes, we broke the internet!"</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="broken.html" data-role="button" data-rel="dialog">Or try this broken link</a>
|
|
|
|
|
|
</div><!-- /ui-body wrapper -->
|
|
</div><!-- /page -->
|
|
|
|
</body>
|
|
</html>
|