hgbook

diff it/web/hgbook.js @ 1052:c8b5a06543c0

cvs section translated
author zhaopingsun
date Tue Nov 10 16:25:43 2009 -0500 (2009-11-10)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/it/web/hgbook.js	Tue Nov 10 16:25:43 2009 -0500
     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 +});