View Full Version : Resizing slideshow canvas according to the length of the picture

03-12-2008, 07:25 PM
Drop-in Slideshow Script



Drop-in Slideshow Script is very good script.
The function
dropinslideshow.prototype.createcontainer=function(w, h){

fixes two canvas to post the images. It is perfect when you have images of same fixed dimensions (eg. 80 X 120). I have pictures which have several dimensions.
My question is How to modify script so that the canavas take the same length as the image running of the current slide.

03-13-2008, 08:49 AM
Hmm there's no easy way for the script to do this right now, that is, dynamically adjust its dimensions based on that of the drop down image. I'll consider adding such a feature the next time the script is updated though.