On Jan 12, 2007, at 12:18 PM, Brandon Aaron wrote:
Sure ... just hide it in the DOM Ready event.$(function() { $("h4").click(function() { $(this).next().slideToggle(); }).next().css('display', 'none'); });
You can achieve the same effect as .css('display', 'none') by using .hide()
Not that .hide() is necessarily better, just a little shorter. :) --Karl _________________ Karl Swedberg www.englishrules.com www.learningjquery.com
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
