Site hosted by Angelfire.com: Build your free website today!

Slide Code

This is the code for the slide show. This should only be used by experienced html designers. You must follow the instructions I give in order for this to work.

1. You must place this script in between your <head> and </head> tags.

<script language=javascript>
<!--
var image1=new Image()
image1.src="https://www.angelfire.com/md/depechemode/images/1.jpg"
var image2=new Image()
image2.src="https://www.angelfire.com/md/depechemode/images/2.jpg"
var image3=new Image()
image3.src="https://www.angelfire.com/md/depechemode/images/3.jpg"
var image4=new Image()
image4.src="https://www.angelfire.com/md/depechemode/images/4.jpg"
//-->
</script>

2. After you must add this code anywhere on your front page. Where ever you desire the ring to appear.

<p> <center> <img src="https://www.angelfire.com/md/depechemode/images/dmrosechangcolorsani.gif" height=90 width=80>
<a href="javascript:slidelink()">
<img src=https://www.angelfire.com/md/depechemode/images/1.jpg name="slide" border="0" height=90>
</a> <script>
<!--
//variable that will increment through the images
var step=1
var whichimage=1
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return
document.images.slide.src=eval("image"+step+".src")
whichimage=step
if (step<4)
step++
else
step=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",2500)
}
slideit()
function slidelink(){
if (whichimage==2)
window.location="https://www.angelfire.com/md/depechemode/webring.html"
else if (whichimage==3)
window.location="http://www.webring.org/cgi-
bin/webring?ring=depechemode;id=---YOUR ID HERE---;next"
else if (whichimage==4)
window.location="http://www.webring.org/cgi-
bin/webring?ring=depechemode;id==---YOUR ID HERE---;prev" }
//-->
</script>
<img src=https://www.angelfire.com/md/depechemode/images/dmrosechangcolorsani.gif height=90 width=80>
<br> <center> <font size=1> <font
color=yellow>This Ring is owned by <a href=mailto:DMviolator@hotmail.com>DMviolator</a>
</center>