hgbook

annotate it/web/hgbook.js @ 892:86073756fe77

Register script to insert ids and generate the associated elements in the database.
author dukebody <dukebody@gmail.com>
date Mon Oct 19 20:01:15 2009 +0200 (2009-10-19)
parents
children
rev   line source
Giulio@731 1 $(document).ready(function() {
Giulio@731 2 $("div.toc>p")
Giulio@731 3 .toggle(function() { $(this).nextAll().show("normal"); },
Giulio@731 4 function() { $(this).nextAll().hide("normal"); })
Giulio@731 5 .hover(function() { $(this).fadeTo("normal", 0.8); },
Giulio@731 6 function() { $(this).fadeTo("normal", 0.35); });
Giulio@731 7 });