disable lightbox feature

Last post 05-26-2010, 2:40 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  05-25-2010, 2:06 PM 61299

    disable lightbox feature

    I would like to disable the "lightbox" feature on the DotNetGallery.  I do not want the user to be able to click the large/main image which pops up the lightbox feature.
     
    Thanks
    Emily
  •  05-26-2010, 2:40 AM 61312 in reply to 61299

    Re: disable lightbox feature

    Hi emilyPA,
     
    Please follw the step below. It show you how to disable the "lightbox" feature in SlideShow layout
     
    1. Open file "CuteSoft_Client\Gallery\Layout\SlideShow\Code.js"
     
    2. Find section below
     
    case "Open":
      default:
       if(!this._isfullpage)
       {
        this.Browser.ShowViewer(this._showingphoto);
       }
       else
       {
        clearTimeout(this.playtimerid);
        this.ShowPhoto(this.GetNextPhoto(this._showingphoto));
       }
       break;
     
    Change to
     
    case "Open":
       break;
     
    Regards,
     
    ken
View as RSS news feed in XML