hgbook

view it/web/hgbook.js @ 823:68e59fe2429e

Minor changes to Ch.1.
author Giulio@puck
date Sat Aug 15 22:07:42 2009 +0200 (2009-08-15)
parents
children
line source
1 $(document).ready(function() {
2 $("div.toc>p")
3 .toggle(function() { $(this).nextAll().show("normal"); },
4 function() { $(this).nextAll().hide("normal"); })
5 .hover(function() { $(this).fadeTo("normal", 0.8); },
6 function() { $(this).fadeTo("normal", 0.35); });
7 });