Disable lightbox in Classic gallery

Last post 06-03-2010, 6:34 PM by Eric. 1 replies.
Sort Posts: Previous Next
  •  06-03-2010, 3:16 PM 61542

    Disable lightbox in Classic gallery

    Is there a way to disable the lightbox view in the classic gallery when you click on the enlarged photo?
  •  06-03-2010, 6:34 PM 61544 in reply to 61542

    Re: Disable lightbox in Classic gallery

    Please open file \CuteSoft_Client\Gallery\Popup\Default\Code.js , locate the following code and comment:

     div.onmouseover=ToDelegate(this,function()
     {
      div.dnghover=true;
      SetDivClass(div);
      this.Browser.ShowPhotoTooltip(div.dngphoto,div,this);
     });
    and
    if(!this.frame)
     {
      this.frame=document.createElement("DIV");
      this.frame.style.position="absolute";
      this.frame.className="LightBoxFrame ZINDEXLIGHTBOXFRAME";
      
      this.mask=document.createElement("DIV");
      this.mask.style.position="absolute";
      this.mask.className="LightBoxMask ZINDEXLIGHTBOXMASK";

      InsertToBody(this.mask);
      InsertToBody(this.frame);
     }

     
    Regards,
    Eric
View as RSS news feed in XML