I've moved the installation and developer guides, FAQ and how-tos from hledger.org (yst & git) to hledger.org/wiki (dokuwiki) and tried to integrate their navigation bars two as best I can. Using just one or the other would be nice, but I don't think I can quite do that; it seems the manual at least should be revision controlled along with the code.
10 lines
392 B
JavaScript
10 lines
392 B
JavaScript
$(document).ready(function(){
|
|
/*$("div#nav li > ul").hide();*/
|
|
/*$("div#nav li > ul.active").show();*/
|
|
$("div#nav ul li a").click(function(event){
|
|
// $(event.target).parent().children("ul").slideToggle("fast");
|
|
if ($(event.target).html() == "User Manual »") document.location = "/MANUAL.html";
|
|
else if ($(event.target).html() == "Wiki »") document.location = "/wiki";
|
|
});
|
|
});
|