PDA

View Full Version : Flexi Slide Show Question



geoirby
10-07-2006, 04:56 PM
I am trying to use the Flexi Slide Show in a website created in Front Page. Everything is working perfectly except I can't position the slide show in the center of the page. I am not very experienced in HTML coding and the code I pasted in doesn't appear to have a positioning code near the images.... Any help would be appreciated.

http://www.dynamicdrive.com/dynamicindex14/flexislide.htm

ddadmin
10-08-2006, 12:20 AM
It should be a simple matter, but since IE is being difficult with the CSS used to center a container, it's no longer an exact science. :) Find the line:


if (ie||dom)
document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'; margin-left: 40%"></div>')

The code in red is new, and basically adds a left margin to the slideshow to roughly center it. You'll need to tweak this value (40%) depending on how wide your slideshow is.

geoirby
10-08-2006, 10:53 PM
Thank you so much!! That did the trick - I altered the % a bit and it is perfect!! Is there any way to change the transition of the slides? Like fade in or?