Slide Show 006
var slidespeed=3000
var slideimages=new Array("images/bh1a.jpg","images/bh2a.jpg","images/bh3a.jpg")
var slidelinks=new Array("http://www.#","http://www.#","http://www.#")
var newwindow=1
var imageholder=new Array()
var ie=document.all
for (i=0;i
A:hover {color: #FF0000; font-family: Arial}
Back
Slide Show 006
This is a nice slide show were a picture dissolves and
another appears. The images are also link to a URL.
The
image information is
highlighted in yellow and
the link info in
pink. The
document info is in
mint.
Speed in green. (3000
= 3 seconds)
Script instructions for <HEAD></HEAD> tags
<script language="JavaScript">
var slidespeed=3000
var slideimages=new Array("images/bh1a.jpg","images/bh2a.jpg","images/bh3a.jpg")
var slidelinks=new Array("http://www.#","http://www.#","http://www.#")
var newwindow=1
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}
//-->
</script>
Script instructions for <BODY> of the HTML
Document
<a href="javascript:gotoshow()"><img src="images/bh1a.jpg"
name="slide" border=0
style="filter:blendTrans(duration=3)" width=125 height=200></a>
<script language="JavaScript">
<!--
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}
slideit()
//-->
</script>
Paste script between the <HEAD></HEAD> tags.
var slidespeed=3000
var slideimages=new Array("images/bh1a.jpg","images/bh2a.jpg","images/bh3a.jpg")
var slidelinks=new Array("http://www.#","http://www.#","http://www.#")
var newwindow=1
var imageholder=new Array()
var ie=document.all
for (i=0;i
Paste script where needed in the body of the HTML Document.
© Copyright 2003
Ultimatephp.com
Wyszukiwarka
Podobne podstrony:
fading slide showslide show 31974 WT Historical Slide Show Info Sheetslide show 5slide show 002slide show 001slide show (2)show listshow info03 0000 006 02 Leczenie glejakow mozgu temozolamidem006 lepiszcza006 19006 09 (12)006 15 (3)006MT 006Obraz 006więcej podobnych podstron