Re: Disable lightbox in Classic gallery

  •  06-03-2010, 6:34 PM

    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 Complete Thread