hgbook
annotate it/web/hgbook.js @ 876:851bed11c742
Update Chinese translation
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Wed Oct 21 11:34:17 2009 +0800 (2009-10-21) |
parents | |
children |
rev | line source |
---|---|
Giulio@731 | 1 $(document).ready(function() { |
Giulio@731 | 2 $("div.toc>p") |
Giulio@731 | 3 .toggle(function() { $(this).nextAll().show("normal"); }, |
Giulio@731 | 4 function() { $(this).nextAll().hide("normal"); }) |
Giulio@731 | 5 .hover(function() { $(this).fadeTo("normal", 0.8); }, |
Giulio@731 | 6 function() { $(this).fadeTo("normal", 0.35); }); |
Giulio@731 | 7 }); |