TinyPortal

Development => Block Codes => Topic started by: whoesa on June 12, 2006, 05:42:44 PM

Title: Help with Ultimate Fade-in slideshow
Post by: whoesa on June 12, 2006, 05:42:44 PM
I've been looking for a fading images script for a long time now and i think i found what i need.
http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

So i added this in the head of index.template.php:
<script type="text/javascript">
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): ÂÃ,© Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

var fadebgcolor="white"

////NO need to edit beyond here/////////////

var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers

var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all

function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}

var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2

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);-moz-opacity:10;-khtml-opacity:10;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);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')

if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}

fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}


fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}

fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}


fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

</script>


and this in a javascript/html block:
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
</script>


It seems to work but the whole content(every single word) of the site is 3 times bigger than normal now  :-\

I really like a script like this, so could anyone help me out here?

Thanks
Title: Re: Help with Ultimate Fade-in slideshow
Post by: whoesa on June 13, 2006, 11:33:40 AM
Ok i got it working, don't ask me how i did it but it works nice  ;D

I put this code in a javascript/html block:

<script type="text/javascript">
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): ÂÃ,© Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

var fadebgcolor="white"

////NO need to edit beyond here/////////////

var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers

var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all

function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}

var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2

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);-moz-opacity:10;-khtml-opacity:10;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);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')

if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}

fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}


fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}

fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}


fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

</script>
<center>
<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 140, 65, 0, 3500, 1, "R")
new fadeshow(fadeimages2, 140, 65, 0, 3500, 0)

</script></center>


You can use these images as links to another place. Only change the paths.
Title: Re: Help with Ultimate Fade-in slideshow
Post by: IchBin on June 13, 2006, 02:41:04 PM
Nice job! I'm sure others will find this useful too.
Title: Re: Help with Ultimate Fade-in slideshow
Post by: G6Cad on June 13, 2006, 02:43:24 PM
Thank you for sharing this :)
I must test this i think :)
Title: Re: Help with Ultimate Fade-in slideshow
Post by: RoarinRow on June 13, 2006, 06:29:57 PM
Can we see what it looks like? 
Title: Re: Help with Ultimate Fade-in slideshow
Post by: whoesa on June 14, 2006, 01:26:25 AM
Sure, It was still on my testsite(easyphp) and i don't think you can see that  :)

But now i put it on my real site. Top right block called worldcup  ;)

It's really easy to use and what i like most is that fading stops when mouseover and link opens in new window. What do i need more?  :2funny:
Title: Re: Help with Ultimate Fade-in slideshow
Post by: TreetopClimber on June 14, 2006, 03:52:33 AM
Quote from: G6 on June 13, 2006, 02:43:24 PM
Thank you for sharing this :)
I must test this i think :)
G6 is this the code you have for those images on your front page? If so it rocks!!
Title: Re: Help with Ultimate Fade-in slideshow
Post by: G6Cad on June 14, 2006, 11:20:20 AM
No, my gallery isent this code here, i have a flash gallery snippet there.
The code for my gallery you can find here in ChitChat section posted by Ray and itÂÃ,´s called photofolio

Or you can download it from my download section on my site. :)
Title: Re: Help with Ultimate Fade-in slideshow
Post by: TreetopClimber on June 14, 2006, 01:37:58 PM
ok cool thanks for the info G6
Title: Re: Help with Ultimate Fade-in slideshow
Post by: bigguy on June 14, 2006, 05:52:14 PM
Is there something I`m doing wrong ?? I placed the code ion a jave/html block, put it on the from page and changed the bg fade color to black and changed 2 links to a couple pics I have on another webpage. Should the links be from my site that this code is on. ???

EDIT: It doesn`t seem to work for FF but I do get 2 box`s showing with x`s in them in IE

http://gol.mywworld.com
Title: Re: Help with Ultimate Fade-in slideshow
Post by: G6Cad on June 14, 2006, 06:49:13 PM
Did you add your own paths to the code? and also, did you change the image names to fit your images?
Title: Re: Help with Ultimate Fade-in slideshow
Post by: Porky on June 14, 2006, 07:48:45 PM
<script type="text/javascript">
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): ÂÃ,© Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax

var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
var fadebgcolor="white"


ok Bigguy you have to edit all this to fit what you want.
the firstsection and the second section is to set up 2 fading windows. if you are going to show 2 slides show it is just showing you how.

ok 1st section section
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["url to you photo's", "", ""] //plain image syntax
fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"]  //image with link and target syntax

ok here it goes: the green area is where your photos are located i.e http://www.somewhere.com/pics/1.jpg
ignore the red area it is just telling you info.
know if you want people to click on the picture to go to a web address  photo2 line shows you how to set it up
and the third one is just showing you how to nake it go to a web address in a new window

example of mine
<script type="text/javascript">
/***********************************************
* Ultimate Fade-In Slideshow (v1.5): ÂÃ,© Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["http://devilsrejects.porkrindstudios.com/images/1.jpg", "", ""]
fadeimages[1]=["http://devilsrejects.porkrindstudios.com/images/2.jpg", "", ""]
fadeimages[2]=["http://devilsrejects.porkrindstudios.com/images/3.jpg", "", ""]
fadeimages[3]=["http://devilsrejects.porkrindstudios.com/images/4.jpg", "", ""]
fadeimages[4]=["http://devilsrejects.porkrindstudios.com/images/5.gif", "", ""]
fadeimages[5]=["http://devilsrejects.porkrindstudios.com/images/6.gif", "", ""]
fadeimages[6]=["http://devilsrejects.porkrindstudios.com/images/7.jpg", "", ""]
fadeimages[7]=["http://devilsrejects.porkrindstudios.com/images/8.jpg", "", ""]
fadeimages[8]=["http://devilsrejects.porkrindstudios.com/images/9.jpg", "", ""]
fadeimages[9]=["http://devilsrejects.porkrindstudios.com/images/10.jpg", "", ""]
fadeimages[10]=["http://devilsrejects.porkrindstudios.com/images/11.jpg", "", ""]
fadeimages[11]=["http://devilsrejects.porkrindstudios.com/images/12.jpg", "", ""]
fadeimages[12]=["http://devilsrejects.porkrindstudios.com/images/13.jpg", "", ""]
fadeimages[13]=["http://devilsrejects.porkrindstudios.com/images/14.jpg", "", ""]
fadeimages[14]=["http://devilsrejects.porkrindstudios.com/images/15.jpg", "", ""]
fadeimages[15]=["http://devilsrejects.porkrindstudios.com/images/16.jpg", "", ""]
fadeimages[16]=["http://devilsrejects.porkrindstudios.com/images/17.jpg", "", ""]
fadeimages[17]=["http://devilsrejects.porkrindstudios.com/images/18.jpg", "", ""]
fadeimages[18]=["http://devilsrejects.porkrindstudios.com/images/19.jpg", "", ""]
fadeimages[19]=["http://devilsrejects.porkrindstudios.com/images/20.jpg", "", ""]
fadeimages[20]=["http://devilsrejects.porkrindstudios.com/images/21.jpg", "", ""]
fadeimages[21]=["http://devilsrejects.porkrindstudios.com/images/22.jpg", "", ""]
fadeimages[22]=["http://devilsrejects.porkrindstudios.com/images/23.jpg", "", ""]
fadeimages[23]=["http://devilsrejects.porkrindstudios.com/images/24.jpg", "", ""]
fadeimages[24]=["http://devilsrejects.porkrindstudios.com/images/25.jpg", "", ""]
fadeimages[25]=["http://devilsrejects.porkrindstudios.com/images/26.jpg", "", ""]


var fadebgcolor="white"
Title: Re: Help with Ultimate Fade-in slideshow
Post by: whoesa on June 14, 2006, 08:56:56 PM
I tested in IE and FF. Works just fine for me.

It should work when you follow the instructions from ^Pork^ .  :)
I uploaded my images folder (worldcup) in the directory where i have Sources, Themes, Packages, avatars, etc.. and just changed paths in the code.
So for me it looks like this: public_html/worldcup/WC.jpg

and my code is like this:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["worldcup/WC.jpg", "http://fifaworldcup.yahoo.com/splash.html", "_new"] //plain image syntax
fadeimages[1]=["worldcup/WC3.jpg", "http://fifaworldcup.yahoo.com/splash.html", "_new"] //image with link syntax
fadeimages[2]=["worldcup/WC1.jpg", "http://fifaworldcup.yahoo.com/splash.html", "_new"] //image with link and target syntax
fadeimages[3]=["worldcup/WC2.jpg", "http://fifaworldcup.yahoo.com/splash.html", "_new"] //image with link and target syntax
fadeimages[4]=["worldcup/WC4.jpg", "http://fifaworldcup.yahoo.com/splash.html", "_new"] //image with link and target syntax

var fadebgcolor="BLACK"


Hope this helps!  :)
Title: Re: Help with Ultimate Fade-in slideshow
Post by: bigguy on June 15, 2006, 12:35:51 AM
Ok cool I think I got it now. So really if all I want is pics to fade I just repeat the first line and put a url to the image in right. ??
Title: Re: Help with Ultimate Fade-in slideshow
Post by: bigguy on June 15, 2006, 02:10:51 AM
Just thought I would say. I have this fading 1 pic right now just to sort of test it and the news fader in smf doesn`t seem to want to fade with this.
Title: Re: Help with Ultimate Fade-in slideshow
Post by: bfeo on September 25, 2008, 07:39:56 PM
Oh hey, this would be one arse kicking effect for a rotating banner, am I right?  :P