hgbook

view it/web/hgbook.js @ 994:c05663baf56b

merge with Bryan
author Romain PELISSE <belaran@gmail.com>
date Sat Sep 12 16:01:16 2009 +0200 (2009-09-12)
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 });