dist/jBox.all.js
function ()
    {
      // Add key events
      jQuery(document).on('keyup.jBox-Image-' + this.id, function (ev) {
        (ev.keyCode == 37) && this.showImage('prev');
        (ev.keyCode == 39) && this.showImage('next');
      }.bind(this));

      // Load the image from the attached element
      this.showImage('open');
    }
function ()
    {
      // Add key events
      jQuery(document).on('keyup.jBox-Image-' + this.id, function (ev) {
        (ev.keyCode == 37) && this.showImage('prev');
        (ev.keyCode == 39) && this.showImage('next');
      }.bind(this));

      // Load the image from the attached element
      this.showImage('open');
    }
function ( ) { // Add key events jQuery ( document ) . on ( 'keyup.jBox-Image-' + this . id , function ( ev ) { ( ev . keyCode == 37 ) && this . showImage ( 'prev' ) ; ( ev . keyCode == 39 ) && this . showImage ( 'next' ) ; } . bind ( this ) ) ; // Load the image from the attached element this . showImage ( 'open' ) ; }
Triggered when jBox opens
Triggered when jBox opens