hgbook

view it/web/hgbook.js @ 1032:a55f319bcc67

Merge with Romain Pelisse
author Bryan O'Sullivan <bos@serpentine.com>
date Sat Jul 10 06:24:49 2010 +0100 (2010-07-10)
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 });