Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //При нажатии на ссылку в в левом меню всплывает нужный блок
- $('.jq-hide-block__link').click(function(e) {
- $('.jq-hide-block__link').removeClass('hide-block__link_active');
- $(this).addClass("hide-block__link_active");
- var link = $(this).attr('href');
- $(link).show().siblings(".jq-hide-wrap-block").hide();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement