hgbook

diff it/web/hgbook.js @ 837:fc4cf5ddddd4

Typography for HTML headers and footers.
author gpiancastelli
date Wed Aug 19 19:51:09 2009 +0200 (2009-08-19)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/it/web/hgbook.js	Wed Aug 19 19:51:09 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 +});