WordPress.org

Support

Support » Plugins and Hacks » Hacks » Galleria–Disable Lightbox and showInfo for iPhone Only

Galleria–Disable Lightbox and showInfo for iPhone Only

  • The below function has been suggested by the Galleria developers to disable the lightbox and showinfo options for iphone (or specific screen size) since the behavior is somewhat buggy and unpredictable.

    Any suggestions where this function should be placed for WordPress implementation?

    Galleria.ready(function(){
    var gallerie = this;
    if( /*check window size*/ ){
    galleria.setOptions({lightbox:false, showInfo:false);
    } else {
    galleria.setOptions({lightbox:true, showInfo:true);
    }
    });
  • The topic ‘Galleria–Disable Lightbox and showInfo for iPhone Only’ is closed to new replies.
Skip to toolbar