Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- //Hide (Collapse) the toggle containers on load
- $(".views-exposed-widgets").hide();
- //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
- $("h2.refine-search").click(function(){
- $(this).toggleClass("active").next().slideToggle("fast");
- return false; //Prevent the browser jump to the link anchor
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement