hgbook

view it/web/hgbook.js @ 980:c40dac4f63d8

merge with Jean Marie Clément
author Romain PELISSE <belaran@gmail.com>
date Fri Sep 04 18:55:53 2009 +0200 (2009-09-04)
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 });