• Changed pathing for all included files to root relative.
• Added mobileinit file to be used when binding is needed before any
other code is run.
• Added pathing in comments to each html, js, and css file
/*
jQuery Mobile Boilerplate
/*
jQuery Mobile Boilerplate
*/
\ No newline at end of file
*/
\ No newline at end of file
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate </title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
/*
jQuery Mobile Boilerplate
/*
jQuery Mobile Boilerplate
-$(document).bind("mobileinit", function(){
- // apply overrides here
+$(document).live("pageinit", function(event){
+ // custom code goes here
--- /dev/null
+/*
+ jQuery Mobile Boilerplate
+ mobileinit.js
+ http://jquerymobile.com/demos/1.0.1/docs/api/globalconfig.html
+
+ This file is only required if you need to apply overrides to the
+ page before anything else has run. It MUST be loaded before
+ the jQuery Mobile javascript file.
+*/
+$(document).bind('mobileinit', function(event){
+ // apply overrides here
+
+
+
+});
\ No newline at end of file
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate - Buttons</title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
+ /snippets/collapsible-sets.html
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate </title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
+ /snippets/collapsibles.html
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate - Collapsibles Content</title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate - Forms & Elements</title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate - Grids</title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">
<!--
jQuery Mobile Boilerplate
<!--
jQuery Mobile Boilerplate
-->
<!doctype html>
<html>
<head>
-->
<!doctype html>
<html>
<head>
+ <title> jQuery Mobile Boilerplate - Listviews</title>
+
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title> jQuery Mobile Boilerplate </title>
+
+ <!-- jQuery Mobile CSS bits -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<!-- if you have a custom theme, add it here -->
- <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
+ <link rel="stylesheet" href="/themes/jQuery-Mobile-Boilerplate.css" />
- <link rel="stylesheet" href="css/custom.css" />
+ <!-- Custom css -->
+ <link rel="stylesheet" href="/css/custom.css" />
+ <!-- Javascript includes -->
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
- <script src="js/application.js"></script>
+ <script src="/js/mobileinit.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
+ <script src="/js/application.js"></script>
</head>
<body>
<div data-role="page">
</head>
<body>
<div data-role="page">