MyBB Central

Full Version: JQuery Questions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This isn't exactly a MyBB issue, but I couldn't figure out where else to put it o.O

I create themes for MyBB and am currently trying to learn a bit of JQuery to spice up my designs. Namely, I'm trying to slide in some information as a user hovers over something.

I currently have this code:

Code:
$(document).ready(function(){
    $('h4').next().hide();

    $('h4').click(function(){
        $(this).next().toggle("slow");
        $(this).toggleClass("active");
        return false;
    });
});

It works pretty flawlessly, but as it starts the slide, the content begins from the bottom. This just looks messy and I'm trying to get it to slide in from next to the h4 element to the right.

Any help would be greatly appreciated.