Results 1 to 2 of 2

Thread: Resizing slideshow canvas according to the length of the picture

  1. #1
    Join Date
    Jul 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Resizing slideshow canvas according to the length of the picture

    Drop-in Slideshow Script

    http://www.dynamicdrive.com/dynamici...ropitslide.htm

    Hello,

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

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •