Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. function show_box() {
  2. if($(window).width() > 768) {
  3. $('.tab-content').hide(0,
  4. function() {
  5. $(this).prev().css('right', '29.337803855%');
  6. $(this).prev().children().children().click(function () {
  7. $('.favorite').off('mouseenter').css('-webkit-animation-play-state', 'running');
  8. $('.secret').off('mouseenter').css('-webkit-animation-play-state', 'running');
  9. $('.current-projects').off('mouseenter').css('-webkit-animation-play-state', 'running');
  10. $('.tab-selection').animate({right: 0}, 3000).queue(function() {
  11. $('.tab-content').show(1000);
  12. });
  13. $('.favorite').on('mouseenter');
  14. $('.secret').on('mouseenter');
  15. $('.current-projects').on('mouseenter');
  16. });
  17. }
  18. );
  19. }
  20. }
  21.  
  22. .off('mouseenter')
  23.  
  24. .on('mouseenter')
  25.  
  26. // code here..
  27. $('.current-projects').attr('disabled','disabled');
  28. // code here..
  29. $('.current-projects').removeAttr('disabled');
  30. // code here..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement