hgbook
diff it/web/hgbook.js @ 976:713f0f69029a
merge with Italian, and very (few) work on ch03
author | Romain PELISSE <belaran@gmail.com> |
---|---|
date | Fri Sep 04 16:33:35 2009 +0200 (2009-09-04) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/it/web/hgbook.js Fri Sep 04 16:33:35 2009 +0200 1.3 @@ -0,0 +1,7 @@ 1.4 +$(document).ready(function() { 1.5 + $("div.toc>p") 1.6 + .toggle(function() { $(this).nextAll().show("normal"); }, 1.7 + function() { $(this).nextAll().hide("normal"); }) 1.8 + .hover(function() { $(this).fadeTo("normal", 0.8); }, 1.9 + function() { $(this).fadeTo("normal", 0.35); }); 1.10 +});