WordPress.org

Support

Support » Plugins and Hacks » Photonic Gallery for Flickr, Picasa, SmugMug, 500px, Zenfolio and Instagram » [Resolved] [Plugin: Photonic Flickr Picasa Gallery] Thickbox – arrow keys for navigation

[Resolved] [Plugin: Photonic Flickr Picasa Gallery] Thickbox – arrow keys for navigation

Viewing 1 replies (of 1 total)
  • ok, I resolve this problem:

    find: /wp-includes/js/thickbox/thickbox.js

    if ( e.which == 27 ){ // close
    					if ( ! jQuery(document).triggerHandler( 'wp_CloseOnEscape', [{ event: e, what: 'thickbox', cb: tb_remove }] ) )
    						tb_remove();
    
    				} else if ( e.which == 190 ){ // display previous image 190(<)
    					if(!(TB_NextHTML == "")){
    						jQuery(document).unbind('thickbox');
    						goNext();
    					}
    				} else if ( e.which == 188 ){ // display next image 188 (>)
    					if(!(TB_PrevHTML == "")){
    						jQuery(document).unbind('thickbox');
    						goPrev();
    					}
    				}

    and change 190 with 39 and 188 with 37

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Photonic Flickr Picasa Gallery] Thickbox – arrow keys for navigation’ is closed to new replies.
Skip to toolbar