Re: adding content to the popup photogallery

  •  06-03-2012, 5:43 PM

    Re: adding content to the popup photogallery

    Kenneth:
     
     
    GalleryLayout.prototype.DrawUI=function _GalleryLayout_DrawUI()
    {
    clearTimeout(this._animationTimerid);
    this.dng_photolist.innerHTML="";
    var photos=[];
    for(var i=0;i<this._categories.length;i++)
    {
    photos=photos.concat(this._categories[i].Photos);
    }
    for(var i=0;i<photos.length;i++)
    {
    var div=this.CreatePhotoDiv(photos[i]);
    this.AttachItemEvent(div);
    this.dng_photolist.appendChild(div);
    }
    }
     
     
     
    Am sorry, but dont understand what you mean, I tried adding the text below to the code, but nothing shows
     
    for(var i=0;i<photos.length;i++)
    {
    var div=this.CreatePhotoDiv(photos[i]);
    this.AttachItemEvent(div);
    this.dng_photolist.appendChild(div +"Some text goes here");
    }
     
View Complete Thread