Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated demo to include compatibility notes

  • Loading branch information...
commit 922efbc3d0c506826c593b67cd37660a6922df91 1 parent 67b6575
Chris T authored
Showing with 24 additions and 8 deletions.
  1. +2 −1  demo/demo.js
  2. +22 −7 demo/index.html
3  demo/demo.js
View
@@ -5,7 +5,7 @@ $(document).ready(function() {
$('#demo1 li').first().addClass('active');
$("#demo2").append(demoMenu);
$('#demo2 li').first().addClass('active');
- hljs.tabReplace = ' ';
+
$('pre > code').each(function() {
var that = $(this),
@@ -25,5 +25,6 @@ $(document).ready(function() {
$(this).children().hide().eq(0).show();
});
+ hljs.tabReplace = ' ';
hljs.initHighlightingOnLoad();
});
29 demo/index.html
View
@@ -5,8 +5,8 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Demo page js and css files -->
<link rel="stylesheet" type="text/css" href="demo.css" media="screen" />
- <script src="../libs/jquery.loader.js"></script>
- <script src="../libs/highlight.pack.js"></script>
+ <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
+ <script src="highlight.pack.js"></script>
<script src="fixture.js"></script>
<script src="demo.js"></script>
@@ -81,13 +81,11 @@ <h1 class="logo"><a href="http://www.komposta.net/article/navgoco">navgoco</a></
<a href="https://github.com/tefra/navgoco">GitHub</a> |
<a href="http://plugins.jquery.com/navgoco/">JQuery</a> |
<a href="https://github.com/tefra/navgoco/blob/master/README.md">ReadMe</a> |
- <a href="https://github.com/tefra/navgoco/blob/master/CHANGELOG.md">Changelog v0.1.1</a>
+ <a href="https://github.com/tefra/navgoco/blob/master/CHANGELOG.md">Changelog</a>
</strong>
</p>
</section>
-
<hr />
-
<section>
<ul class="tabs">
<li class="active"><a href="#">Default Settings</a></li>
@@ -105,9 +103,7 @@ <h1 class="logo"><a href="http://www.komposta.net/article/navgoco">navgoco</a></
<pre><code class="html" data-source="demo1"></code></pre>
</div>
</section>
-
<hr />
-
<section>
<ul class="tabs">
<li class="active"><a href="#">Accordion</a></li>
@@ -123,6 +119,25 @@ <h1 class="logo"><a href="http://www.komposta.net/article/navgoco">navgoco</a></
</div>
</section>
<hr />
+ <section>
+ <h2>Compatibility</h2>
+ <p>
+ <strong>JQuery</strong>: The plugin has been tested and working under these versions:
+ </p>
+ <ul>
+ <li>2.0.3, 2.0.2, 2.0.1, 2.0.0</li>
+ <li>1.10.2, 1.10.1, 1.10.0</li>
+ <li>1.9.1, 1.9.0</li>
+ <li>1.8.3, 1.8.2, 1.8.1, 1.8.0</li>
+ <li>1.7.2, 1.7.1, 1.7.0</li>
+ </ul>
+ <p>
+ <strong>Browsers</strong>: It has been tested and working under the latest versions
+ of Chrome, Firefox, Opera, Safari but it should be ok with much older versions too.
+ IE 8-10 are also fully compatible. <i>Notice</i>: JQuery 2.x.x dropped support for IE 6/7/8
+ </p>
+ </section>
+ <hr />
</div>
<footer class="copyright">
Copyright © <a href="http://www.komposta.net">Komposta.net</a> 2013 All Rights Reserved
Please sign in to comment.
Something went wrong with that request. Please try again.