Galleria–Disable Lightbox and showInfo for iPhone Only (1 post)

  1. shareAll
    Posted 2 years ago #

    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?

    var gallerie = this;
    if( /*check window size*/ ){
    galleria.setOptions({lightbox:false, showInfo:false);
    } else {
    galleria.setOptions({lightbox:true, showInfo:true);

Topic Closed

This topic has been closed to new replies.

About this Topic