Results 1 to 6 of 6

Thread: Back ground colour of Ultimate Fade-in Slideshow V2.6.1

  1. #1
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default Back ground colour of Ultimate Fade-in Slideshow V2.6.1

    1) Script Title: Ultimate Fade-in Slideshow V2.6.1

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

    3) Describe problem: The background colour is set as 'black' in lines 60 & 70 of this script. I have found that it can be changed by editing line 70, but editing line 60 makes no difference. As I frequently use this script for multiple slideshows on a single page, would it be possible to have the background colour in the settings for each individual show? There would need to be a default setting in the script itself.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I can't test anything on mobile but how about changing the 'black' to 'transparent' in the JS file (or remove that property:value pairing altogether), and set a background colour in the CSS instead. You might need to wrap the slideshow div in an additional wrapper div and set the background colour on that, or, use an !important override against the CSS declared for the fadeshow id.
    Last edited by Beverleyh; 06-01-2016 at 10:36 AM.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Beverleyh View Post
    [...] or, use an !important override against the CSS declared for the fadeshow id.
    An !important override for .gallerylayer will do. Something like
    Code:
    .gallerylayer {
    /*a background-color for smooth image-transition*/
    background: green!important
    }
    or
    Code:
    .gallerylayer {
    /*a background-image for smooth image-transition*/
    background: url(https://stadswandelaars.files.wordpress.com/2011/10/dsc009931.jpg) 50% 35% no-repeat!important;  
    }
    Don't use background: transparent!important, as this would ruin smooth image transition.

  4. #4
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Thanks both. I'll have a look at the CSS options. Each slideshow div has a unique ID so it should be easy to add different CSS for each one.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes, that's the way to do it, for ex:

    Code:
    #fadeshow1 .gallerylayer {background-color: green !important;}
    #fadeshow2 .gallerylayer {background-color: red !important;}
    Each can then have its own background color.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by jscheuer1 View Post
    Yes, that's the way to do it [...]. Each can then have its own background color.
    Or its own background img, see post#3.

Similar Threads

  1. Back Ground Carousel and IE8
    By Matt T in forum Bug reports
    Replies: 1
    Last Post: 02-29-2012, 06:45 AM
  2. Keep back ground fix..as well as header
    By vikaspa in forum HTML
    Replies: 2
    Last Post: 10-01-2011, 09:06 PM
  3. Ultimate Fade-in Slideshow - change background colour
    By southerncrow in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 12-18-2010, 05:28 AM
  4. Ultimate Fade-in slideshow background colour black to white
    By steve74 in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 11-26-2010, 04:33 PM
  5. Resolved Ultimate Fade-in Slideshow - Changing Border Colour
    By Andy from Somerset in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 03-19-2009, 06:31 AM

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
  •