Results 1 to 4 of 4

Thread: how do you make background transparent in fadeslideshow

  1. #1
    Join Date
    Jan 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how do you make background transparent in fadeslideshow

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

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

    3) Describe problem: I want to know how to make the background transparent instead of it being black behind the images.

    thanks,
    rusty813

  2. #2
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    on line 48 and 54 of the javascript file you will find the black background settings, just replace it with transparent

  3. #3
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I have tried this as well, but I have different sized pictures in the slideshow, and the previous picture doesn't disappear so that it can be seen behind the present picture, if it has another size.
    Can anyone tell me how to prevent this happening, meaning hiding the previous picture when the next is shown?
    Thanks.

  4. #4
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default transp background hide backgound pic

    in the current version of faseslideshow.js
    my line # 163 I added the ,opacity:0
    to fix the last picture being shown if pictures are different sizes.


    setting.$gallerylayers.eq(setting.fglayer).css({zIndex:999, opacity:0}) //foreground layer becomes background

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
  •