Skip to content

Commit 40a83f4

Browse files
author
Parashuram
committed
Added IndexedDB Shim to example and main page.
1 parent 90c8980 commit 40a83f4

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

demo/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
<head>
44
<title>IndexedDB Jquery Plugin</title>
55
<meta charset="utf-8">
6+
<script type = "text/javascript" src = "/IndexedDBShim/indexeddb.shim.js">
7+
</script>
68
</head>
7-
<body style = " font-family: Helvetica Neue, Verdana, Helvetica, Arial; font-size:14px; background:#6788AD; background: -moz-linear-gradient(top, #496687 0%, #6889AE 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #496687), color-stop(100%, #6889AE) );">
8-
<div style = "width : 80%; margin : 0 auto; box-shadow: 0 0 20px #122F4B; ">
9+
<body style =" font-family: Helvetica Neue, Verdana, Helvetica, Arial; font-size:14px; background:#6788AD; background: -moz-linear-gradient(top, #496687 0%, #6889AE 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #496687), color-stop(100%, #6889AE) );">
10+
<div style ="width : 80%; margin : 0 auto; box-shadow: 0 0 20px #122F4B; ">
911
<div style ="text-align: center; overflow : hidden" class = "title">
1012
<h1 style ="background-color: #122F4B; color: #ffffff; margin: 0; padding: 0.3em; font-weight:normal; font-family:Georgia, 'Times New Roman', Times">JQuery IndexedDB Plugin- API Demo</h1>
1113
</div>
12-
<div id = "examples" style = "background-color: white">
14+
<div id = "examples" style ="background-color: white">
1315
</div>
1416
<script src="../lib/jquery.min.js" type="text/javascript">
1517
</script>

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
<h1>JQuery IndexedDB Plugin</h1>
1515
<div id = "content">
1616
<div id = "download">
17-
<a href = "jquery.indexeddb.js" target = "_blank" class = "punch">
18-
Download jquery.indexeddb.js
19-
</a>
17+
<a href = "jquery.indexeddb.js" target = "_blank" class = "punch">Download jquery.indexeddb.js</a>
2018
</div>
2119
<p>
2220
<a href = "http://www.w3.org/TR/IndexedDB/">IndexedDB</a>
@@ -36,6 +34,9 @@ <h1>JQuery IndexedDB Plugin</h1>
3634
</li>
3735
</ul>
3836
</p>
37+
<p>
38+
IndexedBD is not supported on <a href = "http://caniuse.com/#search=IndexedDB" target="_blank">all browsers</a>. You can use the <a href= "/IndexedDBShim/index.html">IndexedDB polyfill</a>
39+
over WebSQL to get the plugin working on Opera, Safari, iPad, iPhone, etc.
3940
<div>
4041
<h3>Try it Now!</h3>
4142
<pre id = "tryit"></pre>

0 commit comments

Comments
 (0)