PDA

View Full Version : Ultimate fade-in slideshow: problem



fulton
06-04-2008, 11:18 AM
1) Script Title:
Ultimate fade-in slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
I've a problem similar to that described by rcroome in another thread

...
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-khtml-opacity:0.1;-moz-opacity:0.1;opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-khtml-opacity:0.1;-moz-opacity:0.1;opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>');
...

but when I go to the homepage I look

...
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="/joomla1/'+this.postimages[0].src+'"></div>');
...

can you help me?
thank's