 <pre><code>$(document).ready(function(){ if($('#contentblock').is(':hidden')) { $('#contentblock').slideDown('slow'); } }); </code></pre> <p>if you have jquery added to your project and your div is display none ... something like this should work.</p>