Results 1 to 2 of 2

Thread: Ultimate Fade-in slideshow (v2.4) Left Align Images?

  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v2.4) Left Align Images?

    1) Script Title: Ultimate Fade-in slideshow (v2.4)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: Hi, this script is working beautifully, but I am using images that are different sizes and I need to know if it's possible to align the slideshow images to the left instead of centered, and if so how?

    Thanks,
    Erin

  2. #2
    Join Date
    Oct 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default nevermind figured it out

    Firgured it out if anyone is curious:

    in fadeslideshow.js:

    var imgdimensions=[$slideimage.width(), $slideimage.height()] //center image
    $slideimage.css({marginLeft: 0}) <<----just make this value 0
    $slideimage.css({marginTop: (imgdimensions[1]>0 && imgdimensions[1]<setting.dimensions[1])? setting.dimensions[1]/2-imgdimensions[1]/2 : 0})


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
  •