Skip to content

Commit

Permalink
Updated demo to include compatibility notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Jul 10, 2013
1 parent 67b6575 commit 922efbc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
3 changes: 2 additions & 1 deletion demo/demo.js
Expand Up @@ -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),
Expand All @@ -25,5 +25,6 @@ $(document).ready(function() {
$(this).children().hide().eq(0).show();

});
hljs.tabReplace = ' ';
hljs.initHighlightingOnLoad();
});
29 changes: 22 additions & 7 deletions demo/index.html
Expand Up @@ -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>

Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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
Expand Down

0 comments on commit 922efbc

Please sign in to comment.