Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function show_box() {
- if($(window).width() > 768) {
- $('.tab-content').hide(0,
- function() {
- $(this).prev().css('right', '29.337803855%');
- $(this).prev().children().children().click(function () {
- $('.favorite').off('mouseenter').css('-webkit-animation-play-state', 'running');
- $('.secret').off('mouseenter').css('-webkit-animation-play-state', 'running');
- $('.current-projects').off('mouseenter').css('-webkit-animation-play-state', 'running');
- $('.tab-selection').animate({right: 0}, 3000).queue(function() {
- $('.tab-content').show(1000);
- });
- $('.favorite').on('mouseenter');
- $('.secret').on('mouseenter');
- $('.current-projects').on('mouseenter');
- });
- }
- );
- }
- }
- .off('mouseenter')
- .on('mouseenter')
- // code here..
- $('.current-projects').attr('disabled','disabled');
- // code here..
- $('.current-projects').removeAttr('disabled');
- // code here..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement