hgbook

view it/web/hgbook.js @ 1024:ea04ebd452b5

French : second part of ch06
author André Sintzoff <andre.sintzoff@gmail.com>
date Thu Dec 03 22:45:38 2009 +0100 (2009-12-03)
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 });