dennic
08-21-2003, 05:52 AM
Can someone tell me what i am doing wrong I have pinpointed the problem but don't know what to replace it with:
here it is
<html>
<head>
<title>Body </title>
<LINK href="stylesheet3.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--Begin
//Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
//Duration of crossfade (seconds)
var crossFadeDuration = 3;
//Specify the image files
var Pic = new Array();
//to add more images, continue
//Adding to the array
Pic[0] = 'AD1.jpg'
Pic[1] = 'AD2.jpg'
Pic[2] = 'AD3.jpg'
Pic[3] = 'AD4.jpg'
//Don't edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow(){
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans
(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src=preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j=j + 1;
if (j>(p - 1))j=0;
t=setTimeout('runSlideShow()' slideShowSpeed);
}
//End-->
</script>
</head>
<body onLoad="runSlideShow()">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height="150" width="150"><img src="AD1.jpg" name="SlideShow' width=150 height=150"></td>
</tr>
</table>
<br>
<br>
<!--Footer-->
<div id="footer" style="Z-INDEX: 101; LEFT: 29px; POSITION: absolute; TOP: 431px">
<CENTER>
<br>
<font size="-1" color="blue">Copyright © DENNIC. All Rights Reserved.
<br>
[<A href="Body.htm">Home</A> |<A href="Projects.htm">Projects</A> |<a href="Hosting.htm">Web
Hosting</a>|<a href="Contact.htm">Contact Us</a>|<a href="Disclaimer.htm">Disclaimer</a>]</font>
</CENTER>
</div>
</body>
</html>
doesnt like this code here:
here it is
<html>
<head>
<title>Body </title>
<LINK href="stylesheet3.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--Begin
//Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
//Duration of crossfade (seconds)
var crossFadeDuration = 3;
//Specify the image files
var Pic = new Array();
//to add more images, continue
//Adding to the array
Pic[0] = 'AD1.jpg'
Pic[1] = 'AD2.jpg'
Pic[2] = 'AD3.jpg'
Pic[3] = 'AD4.jpg'
//Don't edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow(){
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans
(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src=preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j=j + 1;
if (j>(p - 1))j=0;
t=setTimeout('runSlideShow()' slideShowSpeed);
}
//End-->
</script>
</head>
<body onLoad="runSlideShow()">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height="150" width="150"><img src="AD1.jpg" name="SlideShow' width=150 height=150"></td>
</tr>
</table>
<br>
<br>
<!--Footer-->
<div id="footer" style="Z-INDEX: 101; LEFT: 29px; POSITION: absolute; TOP: 431px">
<CENTER>
<br>
<font size="-1" color="blue">Copyright © DENNIC. All Rights Reserved.
<br>
[<A href="Body.htm">Home</A> |<A href="Projects.htm">Projects</A> |<a href="Hosting.htm">Web
Hosting</a>|<a href="Contact.htm">Contact Us</a>|<a href="Disclaimer.htm">Disclaimer</a>]</font>
</CENTER>
</div>
</body>
</html>
doesnt like this code here: