h0rhay
08-13-2011, 03:52 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
Hi, I'm currently building a liquid site,
I'm using max-width and height in the css for static images, with a hack for ie. Which is working nicely, the images are resizing and re-rendering according to browser width.
I'm using this script for the main hero image on the site.. (Ultimate Fade-in slideshow v2.4)
Just wondered if its possible to make it liquid, and re-size according to the browser width?
The height and width dimensions are set here in the code..
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [659, 343], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/CD-BlueBowl-Pottery-Hero.jpg"],
["images/CD-The-Pottery-Bungay-Hero.jpg"]
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
Is there a simple way of making this effect work with a liquid layout, or would it involve a whole load more jquery scripting.. I'm learning, but not up to that yet!
Thanks in advance for any advice y'all may have,
George
ps, I tried posting this in another forum section but got no replies, I'm hoping I've now put it in the right place ;)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm
3) Describe problem:
Hi, I'm currently building a liquid site,
I'm using max-width and height in the css for static images, with a hack for ie. Which is working nicely, the images are resizing and re-rendering according to browser width.
I'm using this script for the main hero image on the site.. (Ultimate Fade-in slideshow v2.4)
Just wondered if its possible to make it liquid, and re-size according to the browser width?
The height and width dimensions are set here in the code..
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [659, 343], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/CD-BlueBowl-Pottery-Hero.jpg"],
["images/CD-The-Pottery-Bungay-Hero.jpg"]
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
Is there a simple way of making this effect work with a liquid layout, or would it involve a whole load more jquery scripting.. I'm learning, but not up to that yet!
Thanks in advance for any advice y'all may have,
George
ps, I tried posting this in another forum section but got no replies, I'm hoping I've now put it in the right place ;)