473,808 Members | 2,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My Slide-Show at the bottom is not working. Need help

anoble1
245 New Member
I have made some changes, I don't know what I did to make it stop working. When my site comes up, it is supposed to grab photos in order and roll through the list every few seconds. How can I get this slide show of pictures working. I am about like a blind squirrel trying to find a nut.

Expand|Select|Wrap|Line Numbers
  1. <style></style>--&gt; 
  2.  
  3. <table width="510">
  4. <tbody>
  5. <tr>
  6. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  7. <td width="445" colspan="3"><font size="2"><a class="PageLinks" href="rgann.html">Randall Gann</a> - PD Contract Services Manager</font></td>
  8. </tr>
  9.  
  10. <tr>
  11. <td width="25"></td>
  12. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  13. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="maxmoore.html">Maxine Moore</a> - Administrative Assistant</font></td>
  14. </tr>
  15.  
  16. <tr>
  17. <td width="25"></td>
  18. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  19. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="ebthigpe.html">Ellan Thigpen</a> - Budget &amp; Contract Analyst</font></td>
  20. </tr>
  21.  
  22. <tr>
  23. <td width="25"></td>
  24. <td width="25"></td>
  25. <td width="420" colspan="2"><font size="2"><i>- Financial, Budget &amp; Contracts</i></font> </td>
  26. </tr>
  27.  
  28. <tr>
  29. <td width="25"></td>
  30. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  31. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="pgarmon.html">Paul Garmon</a> - Line Clearing Specialist, Sr.</font></td>
  32. </tr>
  33.  
  34. <tr>
  35. <td width="25"></td>
  36. <td width="25"></td>
  37. <td width="420" colspan="2"><font size="2"><i>- Staff Forrester, Herbicide, CAMP, Veg. Contracts</i></font> </td>
  38. </tr>
  39.  
  40. <table width="510">
  41. <tbody>
  42. <tr>
  43. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  44. <td width="445" colspan="3"><font size="2"><a class="PageLinks" href="rgann.html">Corey Sweeney</a> - PD Contract Services Support Manager</font></td>
  45. </tr>
  46.  
  47. <tr>
  48. <td width="25"></td>
  49. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  50. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="ttavel.html">Tim Tavel</a> - Team Leader</font></td>
  51. </tr>
  52.  
  53. <tr>
  54. <td width="25"></td>
  55. <td width="25"></td>
  56. <td width="420" colspan="2"><font size="2"><i>- Overhead &amp; Underground Line Contracts, Pole Inspections, Storm Center Coordinator</i></font> </td>
  57. </tr>
  58.  
  59. <tr>
  60. <td width="25"></td>
  61. <td width="25"></td>
  62. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"> </td>
  63. <td width="400"><font size="2"><a class="PageLinks" href="kdwells2.html">Kathy D. Wells</a> - PD Specialist</font></td>
  64. </tr>
  65.  
  66. <tr>
  67. <td width="25"></td>
  68. <td width="25"></td>
  69. <td width="20"></td>
  70. <td width="400"><font size="2"><i>- Contract Development, CAMP, Storm Center Coordinator</i></font></td>
  71. </tr>
  72.  
  73. <tr>
  74. <td width="25"></td>
  75. <td width="25"></td>
  76. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"> </td>
  77. <td width="400"><font size="2"><a class="PageLinks" href="cledbetter.html">Cindy Ledbetter</a> - PD Specialist</font></td>
  78. </tr>
  79.  
  80. <tr>
  81. <td width="25"></td>
  82. <td width="25"></td>
  83. <td width="20"></td>
  84. <td width="400"><font size="2"><i>- Contract Development, CAMP, Storm Center Coordinator</i></font></td>
  85. </tr>
  86.  
  87. <tr>
  88. <td width="25"></td>
  89. <td width="25"></td>
  90. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"> </td>
  91. <td width="400"><font size="2"><a class="PageLinks" href="caeconomes.html">C.A. Economes</a> - PD Specialist</font></td>
  92. </tr>
  93.  
  94. <tr>
  95. <td width="25"></td>
  96. <td width="25"></td>
  97. <td width="20"></td>
  98. <td width="400"><font size="2"><i>- Pole Inspection, Street Light, and Overhead Line Contract Administrator</i></font></td>
  99. </tr>
  100.  
  101. <tr>
  102. <td width="25"></td>
  103. <td width="25"></td>
  104. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  105. <td width="400"><font size="2"><a class="PageLinks" href="cculp.html">Casey Culp</a> - Student Engineer</font></td>
  106. </tr>
  107.  
  108. <!--<tr>
  109. <td width="25"></td>
  110. <td width="25"></td>
  111. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  112. <td width="400"> <font size="2"><a class="PageLinks" href="koelschl.html">Kristi Oelschlaeger</a> - Student Intern</font></td>
  113. </tr> -->
  114. <tr>
  115. <td width="25"></td>
  116. <td width="25"></td>
  117. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  118. <td width="400"><font size="2"><a class="PageLinks" href="asnoble.html">Andy Noble</a> - Student in Computer Science</font></td>
  119. </tr>
  120.  
  121.  
  122. <tr>
  123. <td width="25"></td>
  124. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  125. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="rbrown.html">Ricky Brown</a> - Distribution Team Leader <b>PD Birmingham / Anniston</b></font></td>
  126. </tr>
  127.  
  128. <tr>
  129. <td width="25"></td>
  130. <td width="25"></td>
  131. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  132. <td width="400"><font size="2"><a class="PageLinks" href="SRODDY.html">Scott Roddy</a> - Line Clearing Specialist</font> </td>
  133. </tr>
  134.  
  135. <tr>
  136. <td width="25"></td>
  137. <td width="25"></td>
  138. <td width="20"></td>
  139. <td width="400"><font size="2"><i>- Gardendale, West Jefferson</i></font></td>
  140. </tr>
  141.  
  142. <tr>
  143. <td width="25"></td>
  144. <td width="25"></td>
  145. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  146. <td width="400"><font size="2"><a class="PageLinks" href="mzarich.html">Mike Zarichnak</a> - Line Clearing Specialist</font></td>
  147. </tr>
  148.  
  149. <tr>
  150. <td width="25"></td>
  151. <td width="25"></td>
  152. <td width="20"></td>
  153. <td width="400"><font size="2"><i>- Patton Chapel</i></font></td>
  154. </tr>
  155.  
  156. <tr>
  157. <td width="25"></td>
  158. <td width="25"></td>
  159. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  160. <td width="400"><font size="2"><a class="PageLinks" href="mgibson.html">Mike Gibson</a> - Line Clearing Specialist</font></td>
  161. </tr>
  162.  
  163. <tr>
  164. <td width="25"></td>
  165. <td width="25"></td>
  166. <td width="20"></td>
  167. <td width="400"><font size="2"><i>- East Jefferson</i></font></td>
  168. </tr>
  169.  
  170. <tr>
  171. <td width="25"></td>
  172. <td width="25"></td>
  173. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  174. <td width="400"><font size="2"><a class="PageLinks" href="wwalden.html">Wayne Walden</a> - Line Clearing Specialist</font></td>
  175. </tr>
  176.  
  177. <tr>
  178. <td width="25"></td>
  179. <td width="25"></td>
  180. <td width="20"></td>
  181. <td width="400"><font size="2"><i>- Gadsden, Oneonta, and Pell City</i></font></td>
  182. </tr>
  183.  
  184. <tr>
  185. <td width="25"></td>
  186. <td width="25"></td>
  187. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  188. <td width="400"><font size="2"><a class="PageLinks" href="ssmith.html">Scott Smith</a> - Line Clearing Specialist</font></td>
  189. </tr>
  190.  
  191. <tr>
  192. <td width="25"></td>
  193. <td width="25"></td>
  194. <td width="20"></td>
  195. <td width="400"><font size="2"><i>- Lake Harris, Talladega, and Oak Grove</i></font></td>
  196. </tr>
  197.  
  198. <tr>
  199. <td width="25"></td>
  200. <td width="25"></td>
  201. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  202. <td width="400"><font size="2"><a class="PageLinks" href="dstandridge.html">Doug Standridge</a> - Line Clearing Specialist</font></td>
  203. </tr>
  204.  
  205. <tr>
  206. <td width="25"></td>
  207. <td width="25"></td>
  208. <td width="20"></td>
  209. <td width="400"><font size="2"><i>- Anniston</i></font></td>
  210. </tr>
  211.  
  212. <tr>
  213. <td width="25"></td>
  214. <td width="25"></td>
  215. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  216. <td width="400"><font size="2"><a class="PageLinks" href="JLHAMM.html">Joey Hamm</a> - Line Clearing Specialist</font></td>
  217. </tr>
  218.  
  219. <tr>
  220. <td width="25"></td>
  221. <td width="25"></td>
  222. <td width="20"></td>
  223. <td width="400"><font size="2"><i>- Birmingham Metro, South Shelby</i></font></td>
  224. </tr>
  225.  
  226. <tr>
  227. <td width="25"></td>
  228. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  229. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="jcooley.html">Jason Cooley</a> - Distribution Team Leader <b>PD Montgomery</b></font></td>
  230. </tr>
  231.  
  232. <tr>
  233. <td width="25"></td>
  234. <td width="25"></td>
  235. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  236. <td width="400"><font size="2"><a class="PageLinks" href="DSHEFFIeld.html">Doug Sheffield</a> - Line Clearing Specialist</font></td>
  237. </tr>
  238.  
  239. <tr>
  240. <td width="25"></td>
  241. <td width="25"></td>
  242. <td width="20"></td>
  243. <td width="400"><font size="2"><i>- East Half Montgomery, and East Operation less Phenix City</i></font></td>
  244. </tr>
  245.  
  246. <tr>
  247. <td width="25"></td>
  248. <td width="25"></td>
  249. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  250. <td width="400"><font size="2"><a class="PageLinks" href="jreynolds.html">Josh Reynolds</a> - Line Clearing Specialist</font></td>
  251. </tr>
  252.  
  253. <tr>
  254. <td width="25"></td>
  255. <td width="25"></td>
  256. <td width="20"></td>
  257. <td width="400"><font size="2"><i>- West Half Montgomery and West Operation</i></font></td>
  258. </tr>
  259.  
  260. <tr>
  261. <td width="25"></td>
  262. <td width="25"></td>
  263. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  264. <td width="400"><font size="2"><a class="PageLinks" href="jmorris.html">Flash Morris</a> - Line Clearing Specialist, <b>Southeast</b> Point Person</font></td>
  265. </tr>
  266.  
  267. <tr>
  268. <td width="25"></td>
  269. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  270. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="kflower.html">Ken Flowers</a> - Distribution Team Leader <b>PD Tuscaloosa</b></font></td>
  271. </tr>
  272.  
  273. <tr>
  274. <td width="25"></td>
  275. <td width="25"></td>
  276. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  277. <td width="400"><font size="2"><a class="PageLinks" href="emiller.html">Elaine Miller</a> - Administrative Assistant</font></td>
  278. </tr>
  279.  
  280. <tr>
  281. <td width="25"></td>
  282. <td width="25"></td>
  283. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  284. <td width="400"><font size="2"><a class="PageLinks" href="sgoins.html">Stacy Goins</a> - Line Clearing Specialist</font></td>
  285. </tr>
  286.  
  287. <tr>
  288. <td width="25"></td>
  289. <td width="25"></td>
  290. <td width="20"></td>
  291. <td width="400"><font size="2"><i>- Centreville/Tombigbee Operation</i></font></td>
  292. </tr>
  293.  
  294. <!-- <tr>
  295. <td width="25"></td>
  296. <td width="25"></td>
  297. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  298. <td width="400"><font size="2"><a class="PageLinks" href="jcooley.html">Jason Cooley</a> - Line Clearing Specialist</font></td>
  299. </tr> -->
  300. <tr>
  301. <td width="25"></td>
  302. <td width="25"></td>
  303. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  304. <td width="400"><font size="2"><a class="PageLinks" href="DIHEFLIN.html">David Heflin</a> - Line Clearing Specialist</font></td>
  305. </tr>
  306.  
  307. <tr>
  308. <td width="25"></td>
  309. <td width="25"></td>
  310. <td width="20"></td>
  311. <td width="400"><font size="2"><i>- Jasper/Northwest Operation</i></font></td>
  312. </tr>
  313.  
  314. <tr>
  315. <td></td>
  316. </tr>
  317.  
  318. <tr>
  319. <td width="25"></td>
  320. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  321. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="bjarrett.html">Blake Jarrett</a> - Distribution Team Leader <b>PD Mobile</b></font></td>
  322. </tr>
  323.  
  324. <tr>
  325. <td width="25"></td>
  326. <td width="25"></td>
  327. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  328. <td width="400"><font size="2"><a class="PageLinks" href="lheathco.html">Elizabeth Heathco</a> - Administrative Assistant</font> </td>
  329. </tr>
  330.  
  331. <tr>
  332. <td width="25"></td>
  333. <td width="25"></td>
  334. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  335. <td width="400"><font size="2"><a class="PageLinks" href="mhowell.html">Mike Howell</a> - Line Clearing Specialist</font></td>
  336. </tr>
  337.  
  338. <tr>
  339. <td width="25"></td>
  340. <td width="25"></td>
  341. <td width="20"></td>
  342. <td width="400"><font size="2"><i>- Bayou La Batre, Citronelle, Mobile West, and Theodore</i></font></td>
  343. </tr>
  344.  
  345. <tr>
  346. <td width="25"></td>
  347. <td width="25"></td>
  348. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  349. <td width="400"><font size="2"><a class="PageLinks" href="ghodgen.html">Greg Hodgen</a> - Line Clearing Specialist</font></td>
  350. </tr>
  351.  
  352. <tr>
  353. <td width="25"></td>
  354. <td width="25"></td>
  355. <td width="20"></td>
  356. <td width="400"><font size="2"><i>- Atmore, Bay Minette, Brewton, Butler, Camden, Demopolis, Greenville, Jackson, Linden, Monroeville, Thomasville, Uniontown and York</i></font></td>
  357.  
  358. <tr>
  359. <td width="25"></td>
  360. <td width="25"><img height="24" alt="ball65.gif 21x21" src="ball65.gif" width="24" border="0"></td>
  361. <td width="420" colspan="2"><font size="2"><a class="PageLinks" href="smcdani.html">Scott McDaniel</a> - Transmission Team Leader</font></td>
  362. </tr>
  363.  
  364. <tr>
  365. <td width="25"></td>
  366. <td width="25"></td>
  367. <td colspan="2" wdith="420"><font size="2"><i>- Transmission Vegetation Management, Storm Center Coordinator</i></font></td>
  368. </tr>
  369.  
  370. <tr>
  371. <td width="25"></td>
  372. <td width="25"></td>
  373. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  374. <td width="400"><font size="2"><a class="PageLinks" href="BMCCAIN.html">Brent McMain</a> - Line Clearing Specialist <b>Birmingham</b></font></td>
  375. </tr>
  376.  
  377. <tr>
  378. <td width="25"></td>
  379. <td width="25"></td>
  380. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  381. <td width="400"><font size="2"><a class="PageLinks" href="tmoseley.html">Todd Moseley</a> - Line Clearing Specialist <b>Eastern</b></font></td>
  382. </tr>
  383.  
  384. <tr>
  385. <td width="25"></td>
  386. <td width="25"></td>
  387. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  388. <td width="400"><font size="2"><a class="PageLinks" href="JOMORRIS.html">John Morris</a> - Line Clearing Specialist <b>Western</b></font></td>
  389. </tr>
  390.  
  391. <tr>
  392. <td width="25"></td>
  393. <td width="25"></td>
  394. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  395. <td width="400"><font size="2"><a class="PageLinks" href="lglover.html">Ladon Glover</a> - Line Clearing Specialist <b>Central</b></font></td>
  396. </tr>
  397.  
  398. <tr>
  399. <td width="25"></td>
  400. <td width="25"></td>
  401. <td width="20"><img height="18" alt="ball65.gif 21x21" src="ball65.gif" width="18" border="0"></td>
  402. <td width="400"><font size="2"><a class="PageLinks" href="lrogers.html">Larry Rogers</a> - Line Clearing Specialist <b>Mobile</b></font></td>
  403. </tr>
  404.  
  405. <tr>
  406. <td width="25"></td>
  407. <td width="25"></td>
  408. <td width="20"></td>
  409. <td width="400"><font size="2"><i>- Southeast Operation and Phenix City</i></font></td>
  410. </tr>
  411.  
  412. </tr>
  413. </tbody>
  414. </table>
  415.  
  416. <script type="text/javascript">//<!--
  417. // Set slideShowSpeed (milliseconds)
  418. var slideShowSpeed = 5000
  419.  
  420. // Duration of crossfade (seconds)
  421. var crossFadeDuration = 3
  422.  
  423. // Specify the image files
  424.  
  425. var Pic = new Array() // don't touch this
  426. // to add more images, just continue
  427. // the pattern, adding to the array below
  428.  
  429. Pic[0] = 'rgann2.jpg'
  430. Pic[1] = 'maxmoore.jpg'
  431. Pic[2] = 'ethigpe3.jpg'
  432. Pic[3] = 'pgarmon1.jpg'
  433. Pic[5] = 'CJSWEENE.jpg'
  434. Pic[6] = 'ttavel.jpg'
  435. Pic[7] = 'kdwells2.jpg'
  436. Pic[8] = 'cledbetter.jpg'
  437. Pic[9] = 'caeconom.jpg'
  438. Pic[10] = 'cculp.jpg'
  439. <!-- Pic[9] = 'koelschl.jpg' --> Pic[9] Pic[11] = 'asnoble.jpg' Pic[18] = 'rbrown2.jpg' Pic[19] = 'sroddy.jpg' Pic[20] = 'mzarich2.jpg' Pic[21] = 'mgibson1.jpg' Pic[22] = 'wwalden1.jpg' Pic[23] = 'ssmith1.jpg' Pic[24] = 'dstandridge.jpg' Pic[25] = 'JLHAMM.jpg' Pic[26] = 'bjarrett.jpg' Pic[27] = 'mhowell1.jpg' Pic[28] = 'ghodgen1.jpg' Pic[29] = 'lheathco.jpg' Pic[30] = 'kflower.jpg' Pic[31] = 'SGoins.jpg' Pic[32] = 'DIHEFLIN.JPG' Pic[33] = 'emiller.jpg' Pic[34] = 'jcooley.jpg' <!-- Pic[35] = 'jcarter1.jpg' -->Pic[35] Pic[35] = 'jreynolds.jpg' Pic[36] = 'jmorris1.jpg' Pic[37] = 'jmorris1.jpg' Pic[38] = 'dsheffield.jpg' Pic[39] = 'smcdan4.jpg' Pic[42] = 'bmccain.jpg' <!-- Pic[40] = 'sroddy.jpg' -->Pic[41] = 'tmoseley.jpg' Pic[43] = 'lglover1.jpg' Pic[44] = 'lrogers1.jpg' <!--
  440. = 'asnoble.jpg' Pic[10] = 'smcdan4.jpg' Pic[11] = 'sroddy.jpg' Pic[12] = 'tmoseley.jpg' Pic[13] = 'bmccain.jpg' Pic[14] = 'lglover1.jpg' Pic[15] = 'lrogers1.jpg' Pic[16] = 'rbrown2.jpg' Pic[17] = 'dsheffield.jpg' Pic[18] = 'mzarich2.jpg' Pic[19] = 'mgibson1.jpg' Pic[20] = 'wwalden1.jpg' Pic[21] = 'ssmith1.jpg' Pic[22] = 'dstandridge.jpg' Pic[23] = 'JLHAMM.jpg' Pic[24] = 'bjarrett.jpg' Pic[25] = 'mhowell1.jpg' Pic[26] = 'ghodgen1.jpg' Pic[27] = 'lheathco.jpg' Pic[28] = 'kflower.jpg' Pic[29] = 'SGoins.jpg' Pic[30] = 'DIHEFLIN.JPG' Pic[31] = 'emiller.jpg' Pic[32] = 'jcooley.jpg' Pic[33] = 'jcarter1.jpg' Pic[34] = 'jreynolds.jpg' Pic[35] = 'jmorris1.jpg' -->var t var j = 0 var p = Pic.length var preLoad = new Array() for (i = 0; i &lt; p; i++){ preLoad[i] = new Image() preLoad[i].src = Pic[i] } function runSlideShow(){ document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)" document.images.SlideShow.filters.blendTrans.Apply() document.images.SlideShow.src = preLoad[j].src document.images.SlideShow.filters.blendTrans.Play() j = j + 1 if (j &gt; (p-1)) j=0 t = setTimeout('runSlideShow()', slideShowSpeed) } //--&gt; //--&gt;</script>
Sep 8 '10 #1
1 1373
JKing
1,206 Recognized Expert Top Contributor
There are over 40 pictures listed... some have been commented out, some not. It looks like the commenting has also overtaken the main chunk of javascript that produces your slideshow.

The code is fairly messy so I'm not sure if this will be correct or not but you can try this.
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript">
  2.  
  3. // Set slideShowSpeed (milliseconds)
  4.  
  5. var slideShowSpeed = 5000;
  6.  
  7.  
  8.  
  9. // Duration of crossfade (seconds)
  10.  
  11. var crossFadeDuration = 3;
  12.  
  13.  
  14.  
  15. // Specify the image files
  16.  
  17.  
  18.  
  19. var Pic = new Array() // don't touch this
  20.  
  21. // to add more images, just continue
  22.  
  23. // the pattern, adding to the array below
  24.  
  25.  
  26.  
  27. Pic[0] = 'rgann2.jpg';
  28.  
  29. Pic[1] = 'maxmoore.jpg';
  30.  
  31. Pic[2] = 'ethigpe3.jpg';
  32.  
  33. Pic[3] = 'pgarmon1.jpg';
  34.  
  35. Pic[5] = 'CJSWEENE.jpg';
  36.  
  37. Pic[6] = 'ttavel.jpg';
  38.  
  39. Pic[7] = 'kdwells2.jpg';
  40.  
  41. Pic[8] = 'cledbetter.jpg';
  42.  
  43. Pic[9] = 'caeconom.jpg';
  44.  
  45. Pic[10] = 'cculp.jpg';
  46.  
  47. var t; 
  48. var j = 0;
  49. var p = Pic.length;
  50. var preLoad = new Array(); 
  51. for (i = 0; i < p; i++){ 
  52.     preLoad[i] = new Image();
  53.     preLoad[i].src = Pic[i]; 
  54. function runSlideShow(){ 
  55. document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
  56. document.images.SlideShow.filters.blendTrans.Apply(); 
  57. document.images.SlideShow.src = preLoad[j].src; 
  58. document.images.SlideShow.filters.blendTrans.Play(); 
  59. j = j + 1; 
  60. if (j > (p-1)){ 
  61.     j=0 ;
  62. }
  63. t = setTimeout('runSlideShow()', slideShowSpeed);
  64. }</script>
  65.  
Sep 9 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4344
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i want to make first text as Table Heading/menu category. For examle in the given menu i want to make a heading as "Comp. Languages" which won't be a link. 2) The position of this menu is absolute to the page. I want to make it absolute to the Table...
0
568
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the Windows clipboard. Then, using automation, I am trying to copy this information from the clipboard to a PowerPoint slide. However, I get an error at slide.Shapes.PasteSpecial. I am able create a System.Drawing.Bitmap object from the memory...
0
2131
by: redneon | last post by:
I'm trying to create a simple slide panel. Basically, what I've done is put a load of controls on a usercontrol and added this to a tabpage. The tabpage's height is 0 and when you move the mouse over the tab it uses a timer and increases the height of the tabpage by 1 every millisecond until the control reaches it's height. This way you get a slide effect. The problem is, when the control reaches a height of 1 it's time to draw the...
2
1940
by: ae | last post by:
can someone guide me to where i can find source code examples for a slide menu? i rather do it from scratch than downloading a *.dll
0
1018
by: UJ | last post by:
Does anybody know of any slide bar (sometimes called range bars) that you can use in ASP.Net ? I'd like to have the user enter a percentage between 0 and 100 and it would be cool if there was a slidebar instead of a textbox. TIA - Jeff.
2
961
drhowarddrfine
by: drhowarddrfine | last post by:
Despite 100 Million IE 7 Installs, Microsoft's Browser Still Loses Ground "Firefox's share of the U.S. browser market, says Johnston, is at 14%, and has continued to grow each of the last three months. "I thought that IE 7 might flatten Firefox's growth, but it's not taken a hit from IE 7. All the movement there has been internal, from IE 6 users upgrading," he says. Another Web metrics vendor, Net Applications, confirmed the switch to IE...
3
5269
by: Beamer | last post by:
Hi I am trying to build a roating slide effect in javascript. Basically, I have a list like below <ul id="slideShowCnt"> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li> <li id="slide0"><img .../></li>
1
2283
by: bsg92150 | last post by:
i have a task that requires me to provide a web use with the ability to send teh current page to a power point slide. and to further complicate matters. the user may want to put the whole site into a slide. the problem is that the information is database driven and the user may not have visted the pages tha/ thankst he is requestion to download. my question is is this possable and is there an example out there that i can look at
0
2035
by: akshar108 via DotNetMonster.com | last post by:
Hi, I have aspose slide component and i want to take all string in the presentation's all slide but that component not give any method to get that direct we have to take all shape's textframe and then take text i do that things and then count words but i not get true word count can any one say me the technique to get that or give me any code for that my code is following Try Dim lic As Aspose.Slides.License = New Aspose.Slides.
16
6687
by: nagmvs | last post by:
Hi, Can any one tell me How to disable Keyboard Functions using JavaScript.If knows please tell me the code.Also tell me the code for mouse disable also. Thanks, Nagesh.
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10374
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9196
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.