G
Guest
I want an automatic flow of the photos without having to click as one does
with the FrontPage photo gallery slide show. How is that created?
Thank you,
with the FrontPage photo gallery slide show. How is that created?
Thank you,
Trevor L. said:You could try this which I have modified from a reply I posted to another
query.
You may wish to get rid of the filter effect, which only works in IE, but
leaving it in won't hurt in other browsers.
<html>
<head>
<script type="text/javascript" >
<!--
//specify interval between slide (in milli seconds)
var slidespeed=3000
//specify images
var slideimages1=new Array("image1.jpg","image2.jpg","image3.jpg")
var imageholder1=new Array()
for (i=0;i<slideimages1.length;i++)
{ imageholder1=new Image()
imageholder1.src=slideimages1 }
var whichimage1=0
function slideit()
{
if (!document.images) return
if (document.all)
{ document.images.slide1.filters[0].apply() }
document.images.slide1.src=imageholder1[whichimage1].src
if (document.all)
{ document.images.slide1.filters[0].play() }
whichimage1=(whichimage1<slideimages1.length-1)? whichimage1+1 : 0
var blenddelay1=(document.all) ?
document.images.slide1.filters[0].duration*1000 : 0
setTimeout("slideit()",slidespeed+blenddelay1)
}
//-->
</script>
</head>
<body onload="slideit()">
<img src="" name="slide1" border=0 style="filter:blendTrans(duration=3)" >
</body>
</html>
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
LJ said:I want an automatic flow of the photos without having to click as one
does with the FrontPage photo gallery slide show. How is that created?
Thank you,
Dina A said:I am trying to creat a rotating series of photo's on my website in
Frontpage,
I'm not getting how this is done. Can you help, please....
Trevor L. said:You could try this which I have modified from a reply I posted to another
query.
You may wish to get rid of the filter effect, which only works in IE, but
leaving it in won't hurt in other browsers.
<html>
<head>
<script type="text/javascript" >
<!--
//specify interval between slide (in milli seconds)
var slidespeed=3000
//specify images
var slideimages1=new Array("image1.jpg","image2.jpg","image3.jpg")
var imageholder1=new Array()
for (i=0;i<slideimages1.length;i++)
{ imageholder1=new Image()
imageholder1.src=slideimages1 }
var whichimage1=0
function slideit()
{
if (!document.images) return
if (document.all)
{ document.images.slide1.filters[0].apply() }
document.images.slide1.src=imageholder1[whichimage1].src
if (document.all)
{ document.images.slide1.filters[0].play() }
whichimage1=(whichimage1<slideimages1.length-1)? whichimage1+1 : 0
var blenddelay1=(document.all) ?
document.images.slide1.filters[0].duration*1000 : 0
setTimeout("slideit()",slidespeed+blenddelay1)
}
//-->
</script>
</head>
</body>
</html>
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
LJ said:I want an automatic flow of the photos without having to click as one
does with the FrontPage photo gallery slide show. How is that created?
Thank you,
Trevor L. said:You could try this which I have modified from a reply I posted to another
query.
You may wish to get rid of the filter effect, which only works in IE, but
leaving it in won't hurt in other browsers.
<html>
<head>
<script type="text/javascript" >
<!--
//specify interval between slide (in milli seconds)
var slidespeed=3000
//specify images
var slideimages1=new Array("image1.jpg","image2.jpg","image3.jpg")
var imageholder1=new Array()
for (i=0;i<slideimages1.length;i++)
{ imageholder1=new Image()
imageholder1.src=slideimages1 }
var whichimage1=0
function slideit()
{
if (!document.images) return
if (document.all)
{ document.images.slide1.filters[0].apply() }
document.images.slide1.src=imageholder1[whichimage1].src
if (document.all)
{ document.images.slide1.filters[0].play() }
whichimage1=(whichimage1<slideimages1.length-1)? whichimage1+1 : 0
var blenddelay1=(document.all) ?
document.images.slide1.filters[0].duration*1000 : 0
setTimeout("slideit()",slidespeed+blenddelay1)
}
//-->
</script>
</head>
<body onload="slideit()">
<img src="" name="slide1" border=0 style="filter:blendTrans(duration=3)" >
</body>
</html>
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
LJ said:I want an automatic flow of the photos without having to click as one
does with the FrontPage photo gallery slide show. How is that created?
Thank you,
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.