Skip to content Skip to sidebar Skip to footer

Jquery Toggle Left To Right Animation

I have created a jquery toggle animation but for some reason it isn't working. Can Anyone be of assistance? Please see updated fiddle. class='search-container-wrap' is meant to

Solution 1:

Your problem lies in $(this).next('.search-container-wrap') since the anchor being clicked doesn't have such a sibling. Try $('.search-container-wrap') instead as shown in this fiddle.

I took the liberty of making it slide in and out as well.


Post a Comment for "Jquery Toggle Left To Right Animation"