forked from jquery-archive/jquery-mobile
/
pageLoadErrorMessage.html
45 lines (36 loc) · 1.46 KB
/
pageLoadErrorMessage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!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="../../external/requirejs/require.js"></script>
<script src="../../js/jquery.js"></script>
<script>
$(document).bind("mobileinit", function(){
$.mobile.pageLoadErrorMessage = 'Yikes, we broke the internet!';
});
</script>
<script>
require( {
baseUrl: "../../js"
}) ( [ "jquery.mobile.docs" ] )
</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>