i have a form which is displayed after every post, so i coded it in single.php, but the form is too long so i thought of putting it in jquery section, where if the user wants then he/she can click on open and the form will slide down for this purpose i used slide up/down jquery http : //api . jquery . com/slideDown/
i integrated the jquery in proper order in header.php, here is my header.php jquery code
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo("template_url"); ?>/functions/js/jquery-1.4.4.js"></script>
<script>
$(document.body).click(function () {
if ($("h6:first").is(":hidden")) {
$("h6").slideDown("slow");
} else {
$("h6").hide();
}
});
</script>
<?php woo_head(); ?>
and this is my single.php code,
`
<div class="post">
<p><h6>
<?php echo do_shortcode("[contact-form 2]"); ?></h6>
</p>
</div>
`
but after doing all this thing my sidebar i.e woo_tabs is not proper you can check the image http://i52.tinypic.com/2gxe90p.jpg
here my woo tabs instead of coming side by side, it is coming down, is my code right?