Is there a way to make a bottom toolbar slider like on this site:
http://www.complex.com/
look at the bottom bar and click the arrows and it slide is there a way to do that?

Yes, just have a look at that page's source code.

I managed to get the slide feature working:
http://demo.animehaven.net
can anyone help me with making it slide upwards/downwards next? because idk how to make that work.

Please test the button that makes it go up. It goes up but doesnt come down, how do i fix this? This is the code for it:

    var buttonEls =  $("#arrow-tb-op-up"); //button inside element

    jQuery(buttonEls).click(
       function(){
        $(this).parent().animate({marginBottom: "0px"}, 300 );
        $(this).html('»');
    }, function(){
        $(this).parent().animate({marginBottom: "200px"}, 300 );
        $(this).html('«');
});
});
Member Avatar for iamthwee

You could set a variable outside the function to record what state it is in. onclick change the state.

I was going to suggest using .toggle but I think that method is deprecated since 1.9

can you help me on that?

nvm figurd it out myself

Care to share your solution? It could help others.

well the fact being that jQuery removed toggle since 1.9 annoyed me so i went with 1.8.

and changed .click() to .toggle()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.