Re: Thumbnails Hide if 1 image

  •  12-31-2010, 8:40 PM

    Re: Thumbnails Hide if 1 image

    Hi regrossman,
     
    If you mean the thumbnails panel in "SlideShow" layout, please try the way below
     
    1. Open file D:\2005\Gallery\CuteSoft_Client\Gallery\Layout\SlideShow\Code.js
     
    2. Find section below in method "GalleryLayout.prototype.DrawUI=function _GalleryLayout_DrawUI() "
     
    var photos=[];
        for(var i=0;i<this._categories.length;i++)
        {
            photos=photos.concat(this._categories[i].Photos);
        }
     
    3.  Add the section below under the section above
     
    if(photos.length<2)
        {
            this.dng_tabcontainer.style.visibility="hidden";
        }
     
    4. Like
     
    var photos=[];
        for(var i=0;i<this._categories.length;i++)
        {
            photos=photos.concat(this._categories[i].Photos);
        }
        if(photos.length<2)
        {
            this.dng_tabcontainer.style.visibility="hidden";
        }
     
     
    Regards,
     
    ken
View Complete Thread