Results 1 to 2 of 2

Thread: Ultimate Fade-in slideshow (v2.6.1) - how to make the height responsive

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

    Default Ultimate Fade-in slideshow (v2.6.1) - how to make the height responsive

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

    2) Script URL (on DD):
    Code:
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: ['100%', 300], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["images/slide-show/kenya-safari1.jpg"],
    		["images/slide-show/kenya-safari2.jpg"],
    		["images/slide-show/kenya-safari3.jpg"],
    		["images/slide-show/kenya-safari4.jpg"],
    		["images/slide-show/kenya-safari5.jpg"] //<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "always",
    	togglerid: ""
    })
    3) Describe problem:
    I have managed to make the width responsive. But how do I get the height to be responsive. When I put '100%' on the width, it does not show on web page. Thanks
    Last edited by jscheuer1; 04-12-2016 at 03:14 PM. Reason: format code

  2. #2
    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

    I think you mean when you put '100%' on the height. Height is tricky on a standards compliant web page, it has to be set, otherwise it's thought to be 'auto', which is 0, even though it doesn't look like it. But you can set it in the css. Try putting this in the head of the page:

    Code:
    <style type="text/css">
    html, body {
    	height: 100%;
    	overflow: hidden;
    }
    </style>
    If you want more help, please post a link to the page on your site that has the problematic code.
    - John
    ________________________

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

Similar Threads

  1. Responsive Ultimate Fade-in Slideshow (v2.6)
    By ellenjones6 in forum Dynamic Drive scripts help
    Replies: 9
    Last Post: 12-11-2018, 06:10 AM
  2. Dynamic height of images in Ultimate Fade-in slideshow (v2.6)
    By cgehringer in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-15-2014, 07:42 AM
  3. Ultimate Fade In Slideshow - making 'responsive'
    By Verlando in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 02-23-2014, 09:57 PM
  4. Need help with descriptions panel height in Ultimate Fade in slideshow
    By dculture in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 11-01-2011, 07:33 PM
  5. Replies: 1
    Last Post: 05-27-2010, 02:59 PM

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
  •