fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'" rel="lightbox">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
var lightbox = new LightBox({
loadingimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/loading.gif',
expandimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/expand.gif',
shrinkimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/shrink.gif',
previmg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/prev.gif',
nextimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/next.gif',
effectimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/zzoop.gif',
effectpos:{x:-40,y:-20},
effectclass:'effectable',
closeimg:'http://www.student.virginia.edu/~ballroom/wp-content/themes/ballroom/images/close.gif',
resizable:true
})
}
Bookmarks