PDA

View Full Version : Ultimate Fade-in slideshow (v2.1) vertical images not centered initially



rkk
02-19-2010, 10:42 PM
1) Script Title:
Ultimate Fade-in slideshow (v2.1)

2) Script URL (on DD):


3) Describe problem:
if you go here and click on weddings tab you will see the vertical image will be place to the left rather then centered intially, the next image will center and then if you click back to first image it is now centered. how do i get it to be centered at the beginning
http://www.engagedesign.com/index2.html



var mygallery=new fadeSlideShow({
wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
dimensions: [461, 377], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.engagedesign.com/images/weddings/001wedding_photographer_laura5330.jpg"],
["http://www.engagedesign.com/images/weddings/002wedding_photographer_jennifer0572.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'manual', pause:2500, cycles:0, wraparound:true},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: "fadeshow2toggler"

<div class="headshot_gallery1" id="fadeshow2"></div>

#fadeshow1, #fadeshow1 .gallerylayer {background-color:transparent!important;}
#fadeshow1 .gallerylayer img {margin-top: 0!important; border: 1px solid #757575!important; background-color:transparent!important;}