SHARE
TWEET

Untitled

a guest Jan 18th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(event.keyCode == "49")
  2. {
  3. $("#slider_feedback").html(mod3["rc" + clip + "_1"]);
  4. $("#slider_feedback").show();
  5. $(".ui-slider-handle").css("left", "0%");
  6. }
  7.    
  8. if(event.keyCode == 49 || event.keyCode == 97)
  9. {
  10. $("#slider_feedback").html(mod3["rc" + clip + "_1"]);
  11. $("#slider_feedback").show();
  12. $(".ui-slider-handle").css("left", "0%");
  13. }
  14.    
  15. if(event.keyCode == "49")
  16.    
  17. if(event.keyCode == '49' || event.keyCode == '97')
  18.    
  19. if(event.which== 49 || event.which== 97)
  20.    
  21. var mapKeys = [
  22.    49: 0,
  23.    97: 0
  24. ];
  25.    
  26. $(document).bind('keypress', function(e) {
  27.    if(mapKeys[e.keyCode] != undefined){
  28.       $(".ui-slider-handle").css("left", mapKeys[e.keyCode] + "%");
  29.    }
  30. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top