On Feb 13, 2:23 pm, "Dmitrii Dimandt" <[EMAIL PROTECTED]> wrote:
> I've started collecting some examples I've come across while solving
> problems using jQuery. I guess they could be interesting to the
> community as a whole.
>
> These (sort of) tricks are available here:http://dmitriid.com/jquery/en/
<snip>
For #1, what about:
$(document).ready(function() {
$("#wrapper p").hide(); //hide initially
$("#wrapper h2").click (function() {
$("p", $(this).parent()).slideToggle("slow");
});
});
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/