Question : HTML/Javascript

Good evening,

I just received the OK by one of the experts here on experts exchange for the attached code.  It works great when I run it from the portfolio.html file from my thumb drive through a browser.  But when I upload it using WS_Ftp to my site the slide show does not work.  I made sure the picture files were in the right place. But it just will not run from my site.  Please help.  Thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : OffRecord 
Description: A two-column, fixed-width design for 1024x768 screen resolutions.
Version    : 1.0
Released   : 20100705

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Custom Balloon Decorations</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<style type="text/css">
<!--
.style6 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}
.style7 {font-size: medium}
.style8 {color: #9900CC}
-->
</style>

<script type="text/javascript">

<!--

var image1=new Image()

image1.src="Arch1.jpg"

var image2=new Image()

image2.src="Balloon_Class_190.jpg"

var image3=new Image()

image3.src="Birthday_Party.jpg"

var image4=new Image()

image4.src="Bride_&Groom.jpg"

var image5=new Image()

image5.src="Business_Display1.jpg"

var image6=new Image()

image6.src="Graduation.jpg"

var image7=new Image()

image7.src="Graduation_Arrangement.jpg"

var image8=new Image()

image8.src="Large_Figures.jpg"

var image9=new Image()

image9.src="School_Events.jpg"

var image10=new Image()

image10.src="Table_Arrangement.jpg"

var image11=new Image()

image11.src="Theme_parties.jpg"

var image12=new Image()

image12.src="Topiary.jpg"

var image13=new Image()

image13.src="Wedding2.jpg"

var image14=new Image()

image14.src="Wedding3.jpg"

var image14=new Image()

image14.src="Wedding_Display.jpg"

//-->

</script>

</head>
<body>
<!-- end #header-wrapper -->
<div id="header">
	<div id="logo"> 
	  <h1><a href="#" class="title">Balloon Decor Plus More </a>       </h1>
	   <h5 class="style6 style7">Balloon Decorations  Made To Order</h5>
  </div>
	<div id="menu">
		<ul>
			<li><a href="index.html" class="first">Homepage</a></li>
			<li><a href="#">Portfolio</a></li>
			<li><a href="#">About</a></li>
		  <li><a href="#">Contact</a>		  </li>
		</ul>
  </div>
	
	
	<!-- end #menu -->
</div>

<!-- end #header -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr />
<!-- end #page -->
    
	
    <!-- end #footer -->

<div align="center"><img src="Arch1.jpg" name="slide" width="25%"/>
  
  <script>

<!--

//variable that will increment through the images

var step=1

function slideit(){

//if browser does not support the image object, exit.

if (!document.images)

return

document.images.slide.src=eval("image"+step+".src")

if (step<14)

step++

else

step=1

//call function "slideit()" every 2.5 seconds

setTimeout("slideit()",2500)

}

slideit()

//-->

  </script>
  

</div>

</body>
</html>

Answer : HTML/Javascript

Okay everyone.  Now I feel like real smuck.  The image file names were the same with the exception of the case of the extensions.  My code had the extensions in lowercase and the image extension cases were uppercase.  I made the "case" change in the code, performed an FTP upload, and the site works great.  I never thought that the activation of the code was case sensitive. Thanks for your help.
Random Solutions  
 
programming4us programming4us