提交 6943891b 编写于 作者: J Jason Park

fix that powered by category was not opened

上级 bad4cb94
...@@ -45,7 +45,7 @@ button { ...@@ -45,7 +45,7 @@ button {
} }
button:hover { button:hover {
background: rgba(0, 0, 0, .15); background: rgba(0, 0, 0, .15) !important;
} }
button.active { button.active {
......
...@@ -40,23 +40,24 @@ ...@@ -40,23 +40,24 @@
<a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki"> <a href="https://github.com/parkjs814/AlgorithmVisualizer/wiki">
<button><i class="fa fa-book"></i> Documentation</button> <button><i class="fa fa-book"></i> Documentation</button>
</a> </a>
<button class="category"><i class="fa fa-github"></i> Powered by ...</button> <button class="category" id="powered-by"><i class="fa fa-github"></i> Powered by ...</button>
<a href="https://github.com/jquery/jquery"> <div id="powered-by-list">
<button class="indent">jquery/jquery</button> <a href="https://github.com/jquery/jquery">
</a> <button class="indent">jquery/jquery</button>
<a href="https://github.com/ajaxorg/ace"> </a>
<button class="indent">ajaxorg/ace</button> <a href="https://github.com/ajaxorg/ace">
</a> <button class="indent">ajaxorg/ace</button>
<a href="https://github.com/jacomyal/sigma.js"> </a>
<button class="indent">jacomyal/sigma.js</button> <a href="https://github.com/jacomyal/sigma.js">
</a> <button class="indent">jacomyal/sigma.js</button>
<a href="https://github.com/FortAwesome/Font-Awesome"> </a>
<button class="indent">FortAwesome/Font-Awesome</button> <a href="https://github.com/FortAwesome/Font-Awesome">
</a> <button class="indent">FortAwesome/Font-Awesome</button>
<a href="https://github.com/simonwhitaker/github-fork-ribbon-css"> </a>
<button class="indent">simonwhitaker/github-fork-ribbon-css</button> <a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
</a> <button class="indent">simonwhitaker/github-fork-ribbon-css</button>
</a>
</div>
</div> </div>
<a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer" <a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer"
title="Fork me on GitHub">Fork me on GitHub</a> title="Fork me on GitHub">Fork me on GitHub</a>
......
...@@ -178,6 +178,9 @@ $.getJSON('./algorithm/category.json', function (data) { ...@@ -178,6 +178,9 @@ $.getJSON('./algorithm/category.json', function (data) {
})(category); })(category);
} }
}); });
$('#powered-by').click(function () {
$('#powered-by-list button').toggleClass('collapse');
});
var sidemenu_percent; var sidemenu_percent;
$('#navigation').click(function () { $('#navigation').click(function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册