Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".s-header-menu2 li a").click(function() {
- if($(this).next("div").is(":visible")){
- $(this).next("div").slideUp("slow");
- $(this).removeClass('active');
- } else {
- $(".s-header-block").slideUp("slow");
- $(this).next("div").slideToggle("slow");
- $(this).addClass('active');
- }
- return false;
- });
Add Comment
Please, Sign In to add comment