arian6
12-09-2008, 10:34 AM
hi somebody can tell me for why it does run here : http://boudhatour.wapath.com/files/kora2/test/slideshow_3.htm
and here doesn't run : http://boudhatour.wapath.com/files/kora2/test/slideshow_1.htm
billion thanks if you can help me i have just added few more photo and set the background brown color then doesn't run below the complet code doesn't run :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><style type="text/css">body{background-color:brown}</style>
<title>Circombulation</title>
<script type="text/javascript">
//Preloaded slideshow script- By Jason Moon
//For this script and more
//Visit http://www.dynamicdrive.com
// PUT THE URL'S OF YOUR IMAGES INTO THIS ARRAY...
var Slides = new Array(
'http://boudhatour.wapath.com/files/kora2/step1.Jpg',
'http://boudhatour.wapath.com/files/kora2/step2.Jpg',
'http://boudhatour.wapath.com/files/kora2/step3.Jpg',
'http://boudhatour.wapath.com/files/kora2/step4.Jpg',
'http://boudhatour.wapath.com/files/kora2/step5.Jpg',
'http://boudhatour.wapath.com/files/kora2/step6.Jpg',
'http://boudhatour.wapath.com/files/kora2/step7.Jpg',
'http://boudhatour.wapath.com/files/kora2/step8.Jpg',
'http://boudhatour.wapath.com/files/kora2/step9.Jpg',
'http://boudhatour.wapath.com/files/kora2/step10.Jpg'
'http://boudhatour.wapath.com/files/kora2/step11.Jpg',
'http://boudhatour.wapath.com/files/kora2/step12.Jpg',
'http://boudhatour.wapath.com/files/kora2/step13.Jpg',
'http://boudhatour.wapath.com/files/kora2/step14.Jpg',
'http://boudhatour.wapath.com/files/kora2/step15.Jpg',
'http://boudhatour.wapath.com/files/kora2/step16.Jpg',
'http://boudhatour.wapath.com/files/kora2/step17.Jpg',
'http://boudhatour.wapath.com/files/kora2/step18.Jpg',
'http://boudhatour.wapath.com/files/kora2/step19.Jpg',
'http://boudhatour.wapath.com/files/kora2/step20.Jpg'
'http://boudhatour.wapath.com/files/kora2/step21.Jpg',
'http://boudhatour.wapath.com/files/kora2/step22.Jpg',
'http://boudhatour.wapath.com/files/kora2/step23.Jpg',
'http://boudhatour.wapath.com/files/kora2/step24.Jpg',
'http://boudhatour.wapath.com/files/kora2/step25.Jpg',
'http://boudhatour.wapath.com/files/kora2/step26.Jpg',
'http://boudhatour.wapath.com/files/kora2/step27.Jpg',
'http://boudhatour.wapath.com/files/kora2/step28.Jpg',
'http://boudhatour.wapath.com/files/kora2/step29.Jpg',
'http://boudhatour.wapath.com/files/kora2/step30.Jpg'
'http://boudhatour.wapath.com/files/kora2/step31.Jpg',
'http://boudhatour.wapath.com/files/kora2/step32.Jpg',
'http://boudhatour.wapath.com/files/kora2/step33.Jpg',
'http://boudhatour.wapath.com/files/kora2/step34.Jpg',
'http://boudhatour.wapath.com/files/kora2/step35.Jpg',
'http://boudhatour.wapath.com/files/kora2/step36.Jpg',
'http://boudhatour.wapath.com/files/kora2/step37.Jpg',
'http://boudhatour.wapath.com/files/kora2/step38.Jpg',
'http://boudhatour.wapath.com/files/kora2/step39.Jpg',
'http://boudhatour.wapath.com/files/kora2/step40.Jpg'
'http://boudhatour.wapath.com/files/kora2/step41.Jpg',
'http://boudhatour.wapath.com/files/kora2/step42.Jpg',
'http://boudhatour.wapath.com/files/kora2/step43.Jpg',
'http://boudhatour.wapath.com/files/kora2/step44.Jpg',
'http://boudhatour.wapath.com/files/kora2/step45.Jpg',
'http://boudhatour.wapath.com/files/kora2/step46.Jpg',
'http://boudhatour.wapath.com/files/kora2/step47.Jpg',
'http://boudhatour.wapath.com/files/kora2/step48.Jpg',
'http://boudhatour.wapath.com/files/kora2/step49.Jpg',
'http://boudhatour.wapath.com/files/kora2/step50.Jpg'
'http://boudhatour.wapath.com/files/kora2/step51.Jpg',
'http://boudhatour.wapath.com/files/kora2/step52.Jpg',
'http://boudhatour.wapath.com/files/kora2/step53.Jpg',
'http://boudhatour.wapath.com/files/kora2/step54.Jpg',
'http://boudhatour.wapath.com/files/kora2/step55.Jpg',
'http://boudhatour.wapath.com/files/kora2/step56.Jpg',
'http://boudhatour.wapath.com/files/kora2/step57.Jpg',
'http://boudhatour.wapath.com/files/kora2/step58.Jpg',
'http://boudhatour.wapath.com/files/kora2/step59.Jpg',
'http://boudhatour.wapath.com/files/kora2/step60.Jpg'
'http://boudhatour.wapath.com/files/kora2/step61.Jpg',
'http://boudhatour.wapath.com/files/kora2/step62.Jpg',
'http://boudhatour.wapath.com/files/kora2/step63.Jpg',
'http://boudhatour.wapath.com/files/kora2/step64.Jpg',
'http://boudhatour.wapath.com/files/kora2/step65.Jpg',
'http://boudhatour.wapath.com/files/kora2/step66.Jpg',
'http://boudhatour.wapath.com/files/kora2/step67.Jpg',
'http://boudhatour.wapath.com/files/kora2/step68.Jpg',
'http://boudhatour.wapath.com/files/kora2/step69.Jpg',
'http://boudhatour.wapath.com/files/kora2/step70.Jpg'
'http://boudhatour.wapath.com/files/kora2/step71.Jpg',
'http://boudhatour.wapath.com/files/kora2/step72.Jpg',
'http://boudhatour.wapath.com/files/kora2/step73.Jpg',
'http://boudhatour.wapath.com/files/kora2/step74.Jpg',
'http://boudhatour.wapath.com/files/kora2/step75.Jpg',
'http://boudhatour.wapath.com/files/kora2/step76.Jpg',
'http://boudhatour.wapath.com/files/kora2/step77.Jpg',
'http://boudhatour.wapath.com/files/kora2/step78.Jpg',
'http://boudhatour.wapath.com/files/kora2/step79.Jpg',
'http://boudhatour.wapath.com/files/kora2/step80.Jpg'
'http://boudhatour.wapath.com/files/kora2/step81.Jpg',
'http://boudhatour.wapath.com/files/kora2/step82.Jpg',
'http://boudhatour.wapath.com/files/kora2/step83.Jpg',
'http://boudhatour.wapath.com/files/kora2/step84.Jpg',
'http://boudhatour.wapath.com/files/kora2/step85.Jpg',
'http://boudhatour.wapath.com/files/kora2/step86.Jpg',
);
var SlideReady = false;
// DO NOT EDIT BELOW THIS LINE!
function CacheImage(ImageSource)
{
// TURNS THE STRING INTO AN IMAGE OBJECT
var ImageObject = new Image();
ImageObject.src = ImageSource;
return ImageObject;
}
function ShowSlide(Direction)
{
if (SlideReady)
{
NextSlide = CurrentSlide + Direction;
// THIS WILL DISABLE THE BUTTONS (IE-ONLY)
document.SlideShow.Previous.disabled = (NextSlide == 0);
document.SlideShow.Next.disabled = (NextSlide == (Slides.length-1));
if ((NextSlide >= 0) && (NextSlide < Slides.length))
{
document.images['Screen'].src = Slides[NextSlide].src;
CurrentSlide = NextSlide++;
Message = 'Picture ' + (CurrentSlide+1) + ' of ' + Slides.length;
self.defaultStatus = Message;
if (Direction == 1)
CacheNextSlide();
}
return true;
}
}
function Download()
{
if (Slides[NextSlide].complete)
{
SlideReady = true;
self.defaultStatus = Message;
}
else
setTimeout("Download()", 100); // CHECKS DOWNLOAD STATUS EVERY 100 MS
return true;
}
function CacheNextSlide()
{
if ((NextSlide < Slides.length) && (typeof Slides[NextSlide] == 'string'))
{
// ONLY CACHES THE IMAGES ONCE
SlideReady = false;
self.defaultStatus = 'Downloading next picture...';
Slides[NextSlide] = CacheImage(Slides[NextSlide]);
Download();
}
return true;
}
function StartSlideShow()
{
CurrentSlide = -1;
Slides[0] = CacheImage(Slides[0]);
SlideReady = true;
ShowSlide(1);
}
</script>
</head>
<body onload="StartSlideShow()">
<form name="SlideShow">
<table>
<tr>
<td colspan="2">
<img name="Screen" width="200" height="150" src="http://boudhatour.wapath.com/files/kora2/step1.Jpg"
alt="" /></td>
</tr>
<tr>
<td>
<input type="button" name="Previous" value=" << " onclick="ShowSlide(-1)" /></td>
<td align="right">
<input type="button" name="Next" value=" >> " onclick="ShowSlide(1)" /></td>
</tr>
</table>
</form>
<a href="http://click.buzzcity.com/click.php?cid=9366&partnerid=12236" style="color: #1abe17">
Catch up with frens thru email!</a><img src="http://txads.buzzcity.com/show.php?txt=1&cid=9366&partnerid=12236"
alt="" /><img src="http://a.admob.com/e0?a=a1488f4d1101950&s=a146fd029ce4483&z=1226929641.79&lt=0.435679101746&rt=2"
alt="" width="1" height="1" /><br />
<a href="http://click.buzzcity.com/click.php?cid=9366&partnerid=12307&rd=http%3A%2F%2Fxtgem.com%2Fc%2Fbuzzcallback%3Fsite%3Dbou dhatour.wapath.com">
Catch up with frens thru email!</a><img src="http://txads.buzzcity.com/show.php?txt=1&cid=9366&partnerid=12307"
alt="" />
</body>
</html>
and here doesn't run : http://boudhatour.wapath.com/files/kora2/test/slideshow_1.htm
billion thanks if you can help me i have just added few more photo and set the background brown color then doesn't run below the complet code doesn't run :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><style type="text/css">body{background-color:brown}</style>
<title>Circombulation</title>
<script type="text/javascript">
//Preloaded slideshow script- By Jason Moon
//For this script and more
//Visit http://www.dynamicdrive.com
// PUT THE URL'S OF YOUR IMAGES INTO THIS ARRAY...
var Slides = new Array(
'http://boudhatour.wapath.com/files/kora2/step1.Jpg',
'http://boudhatour.wapath.com/files/kora2/step2.Jpg',
'http://boudhatour.wapath.com/files/kora2/step3.Jpg',
'http://boudhatour.wapath.com/files/kora2/step4.Jpg',
'http://boudhatour.wapath.com/files/kora2/step5.Jpg',
'http://boudhatour.wapath.com/files/kora2/step6.Jpg',
'http://boudhatour.wapath.com/files/kora2/step7.Jpg',
'http://boudhatour.wapath.com/files/kora2/step8.Jpg',
'http://boudhatour.wapath.com/files/kora2/step9.Jpg',
'http://boudhatour.wapath.com/files/kora2/step10.Jpg'
'http://boudhatour.wapath.com/files/kora2/step11.Jpg',
'http://boudhatour.wapath.com/files/kora2/step12.Jpg',
'http://boudhatour.wapath.com/files/kora2/step13.Jpg',
'http://boudhatour.wapath.com/files/kora2/step14.Jpg',
'http://boudhatour.wapath.com/files/kora2/step15.Jpg',
'http://boudhatour.wapath.com/files/kora2/step16.Jpg',
'http://boudhatour.wapath.com/files/kora2/step17.Jpg',
'http://boudhatour.wapath.com/files/kora2/step18.Jpg',
'http://boudhatour.wapath.com/files/kora2/step19.Jpg',
'http://boudhatour.wapath.com/files/kora2/step20.Jpg'
'http://boudhatour.wapath.com/files/kora2/step21.Jpg',
'http://boudhatour.wapath.com/files/kora2/step22.Jpg',
'http://boudhatour.wapath.com/files/kora2/step23.Jpg',
'http://boudhatour.wapath.com/files/kora2/step24.Jpg',
'http://boudhatour.wapath.com/files/kora2/step25.Jpg',
'http://boudhatour.wapath.com/files/kora2/step26.Jpg',
'http://boudhatour.wapath.com/files/kora2/step27.Jpg',
'http://boudhatour.wapath.com/files/kora2/step28.Jpg',
'http://boudhatour.wapath.com/files/kora2/step29.Jpg',
'http://boudhatour.wapath.com/files/kora2/step30.Jpg'
'http://boudhatour.wapath.com/files/kora2/step31.Jpg',
'http://boudhatour.wapath.com/files/kora2/step32.Jpg',
'http://boudhatour.wapath.com/files/kora2/step33.Jpg',
'http://boudhatour.wapath.com/files/kora2/step34.Jpg',
'http://boudhatour.wapath.com/files/kora2/step35.Jpg',
'http://boudhatour.wapath.com/files/kora2/step36.Jpg',
'http://boudhatour.wapath.com/files/kora2/step37.Jpg',
'http://boudhatour.wapath.com/files/kora2/step38.Jpg',
'http://boudhatour.wapath.com/files/kora2/step39.Jpg',
'http://boudhatour.wapath.com/files/kora2/step40.Jpg'
'http://boudhatour.wapath.com/files/kora2/step41.Jpg',
'http://boudhatour.wapath.com/files/kora2/step42.Jpg',
'http://boudhatour.wapath.com/files/kora2/step43.Jpg',
'http://boudhatour.wapath.com/files/kora2/step44.Jpg',
'http://boudhatour.wapath.com/files/kora2/step45.Jpg',
'http://boudhatour.wapath.com/files/kora2/step46.Jpg',
'http://boudhatour.wapath.com/files/kora2/step47.Jpg',
'http://boudhatour.wapath.com/files/kora2/step48.Jpg',
'http://boudhatour.wapath.com/files/kora2/step49.Jpg',
'http://boudhatour.wapath.com/files/kora2/step50.Jpg'
'http://boudhatour.wapath.com/files/kora2/step51.Jpg',
'http://boudhatour.wapath.com/files/kora2/step52.Jpg',
'http://boudhatour.wapath.com/files/kora2/step53.Jpg',
'http://boudhatour.wapath.com/files/kora2/step54.Jpg',
'http://boudhatour.wapath.com/files/kora2/step55.Jpg',
'http://boudhatour.wapath.com/files/kora2/step56.Jpg',
'http://boudhatour.wapath.com/files/kora2/step57.Jpg',
'http://boudhatour.wapath.com/files/kora2/step58.Jpg',
'http://boudhatour.wapath.com/files/kora2/step59.Jpg',
'http://boudhatour.wapath.com/files/kora2/step60.Jpg'
'http://boudhatour.wapath.com/files/kora2/step61.Jpg',
'http://boudhatour.wapath.com/files/kora2/step62.Jpg',
'http://boudhatour.wapath.com/files/kora2/step63.Jpg',
'http://boudhatour.wapath.com/files/kora2/step64.Jpg',
'http://boudhatour.wapath.com/files/kora2/step65.Jpg',
'http://boudhatour.wapath.com/files/kora2/step66.Jpg',
'http://boudhatour.wapath.com/files/kora2/step67.Jpg',
'http://boudhatour.wapath.com/files/kora2/step68.Jpg',
'http://boudhatour.wapath.com/files/kora2/step69.Jpg',
'http://boudhatour.wapath.com/files/kora2/step70.Jpg'
'http://boudhatour.wapath.com/files/kora2/step71.Jpg',
'http://boudhatour.wapath.com/files/kora2/step72.Jpg',
'http://boudhatour.wapath.com/files/kora2/step73.Jpg',
'http://boudhatour.wapath.com/files/kora2/step74.Jpg',
'http://boudhatour.wapath.com/files/kora2/step75.Jpg',
'http://boudhatour.wapath.com/files/kora2/step76.Jpg',
'http://boudhatour.wapath.com/files/kora2/step77.Jpg',
'http://boudhatour.wapath.com/files/kora2/step78.Jpg',
'http://boudhatour.wapath.com/files/kora2/step79.Jpg',
'http://boudhatour.wapath.com/files/kora2/step80.Jpg'
'http://boudhatour.wapath.com/files/kora2/step81.Jpg',
'http://boudhatour.wapath.com/files/kora2/step82.Jpg',
'http://boudhatour.wapath.com/files/kora2/step83.Jpg',
'http://boudhatour.wapath.com/files/kora2/step84.Jpg',
'http://boudhatour.wapath.com/files/kora2/step85.Jpg',
'http://boudhatour.wapath.com/files/kora2/step86.Jpg',
);
var SlideReady = false;
// DO NOT EDIT BELOW THIS LINE!
function CacheImage(ImageSource)
{
// TURNS THE STRING INTO AN IMAGE OBJECT
var ImageObject = new Image();
ImageObject.src = ImageSource;
return ImageObject;
}
function ShowSlide(Direction)
{
if (SlideReady)
{
NextSlide = CurrentSlide + Direction;
// THIS WILL DISABLE THE BUTTONS (IE-ONLY)
document.SlideShow.Previous.disabled = (NextSlide == 0);
document.SlideShow.Next.disabled = (NextSlide == (Slides.length-1));
if ((NextSlide >= 0) && (NextSlide < Slides.length))
{
document.images['Screen'].src = Slides[NextSlide].src;
CurrentSlide = NextSlide++;
Message = 'Picture ' + (CurrentSlide+1) + ' of ' + Slides.length;
self.defaultStatus = Message;
if (Direction == 1)
CacheNextSlide();
}
return true;
}
}
function Download()
{
if (Slides[NextSlide].complete)
{
SlideReady = true;
self.defaultStatus = Message;
}
else
setTimeout("Download()", 100); // CHECKS DOWNLOAD STATUS EVERY 100 MS
return true;
}
function CacheNextSlide()
{
if ((NextSlide < Slides.length) && (typeof Slides[NextSlide] == 'string'))
{
// ONLY CACHES THE IMAGES ONCE
SlideReady = false;
self.defaultStatus = 'Downloading next picture...';
Slides[NextSlide] = CacheImage(Slides[NextSlide]);
Download();
}
return true;
}
function StartSlideShow()
{
CurrentSlide = -1;
Slides[0] = CacheImage(Slides[0]);
SlideReady = true;
ShowSlide(1);
}
</script>
</head>
<body onload="StartSlideShow()">
<form name="SlideShow">
<table>
<tr>
<td colspan="2">
<img name="Screen" width="200" height="150" src="http://boudhatour.wapath.com/files/kora2/step1.Jpg"
alt="" /></td>
</tr>
<tr>
<td>
<input type="button" name="Previous" value=" << " onclick="ShowSlide(-1)" /></td>
<td align="right">
<input type="button" name="Next" value=" >> " onclick="ShowSlide(1)" /></td>
</tr>
</table>
</form>
<a href="http://click.buzzcity.com/click.php?cid=9366&partnerid=12236" style="color: #1abe17">
Catch up with frens thru email!</a><img src="http://txads.buzzcity.com/show.php?txt=1&cid=9366&partnerid=12236"
alt="" /><img src="http://a.admob.com/e0?a=a1488f4d1101950&s=a146fd029ce4483&z=1226929641.79&lt=0.435679101746&rt=2"
alt="" width="1" height="1" /><br />
<a href="http://click.buzzcity.com/click.php?cid=9366&partnerid=12307&rd=http%3A%2F%2Fxtgem.com%2Fc%2Fbuzzcallback%3Fsite%3Dbou dhatour.wapath.com">
Catch up with frens thru email!</a><img src="http://txads.buzzcity.com/show.php?txt=1&cid=9366&partnerid=12307"
alt="" />
</body>
</html>