<?xml version="1.0"?>
<rss version="2.0">
 <channel>
  <title>Help endSlideShow not working | WPDFD.com Forums</title>
  <link>http://www.wpdfd.com/forums/wpdfd/scripting/help_endslideshow_not_working/</link>
  <description>A Scripting forum thread at WPDFD.com</description>
  <language>en-us</language>
  <pubDate>06/02/05, 153 19 2005 2005:%i:1117732741 13:19:01</pubDate>
  <lastBuildDate>06/07/13, 158 52 2013 2013:%i:1370587928 02:52:08</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NineLabs Framework Feed Generator</generator>
  <managingEditor>sitemaster@wpdfd.com</managingEditor>
  <webMaster>sitemaster@wpdfd.com</webMaster>
     <item>
    <title>Tortuga  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/scripting/help_endslideshow_not_working/#p1955</link>
    <description><![CDATA[I'm am a novice designer and found this script for a Slideshow with text. I've made some modifications but cannot figure out how to stop the slideshow. I haev tried incorporating several different kinds of code that I've found but nothing works. <br /><br />I'd like the show to end on Slide 6.<br /><br />Can anyone help me?<br /><br /><br /><br />&lt;!--<br /><br />SlideShow with Captions and Cross-Fade<br />(C)2002 by CodeLifter.com<br /><br />Shows images and accompanying captions.<br />Browsers: NS4-7,IE4-6<br />Fade effect only in IE; degrades gracefully.<br />NS4 shows default caption only.<br /><br />INSTRUCTIONS:<br /><br />Copy this entire script into a completely blank<br />page. &nbsp;Follow the commented instructions within.<br /><br />//--&gt;<br /><br />&lt;html&gt;<br /><br />&lt;head&gt;<br /><br />&lt;!-- <br />Set up the caption font in the following style.<br />Place the style script in the head of the page.<br />//--&gt;<br /><br />&lt;style&gt;<br />.Caption {<br />font-family: Arial;<br />font-weight: bold;<br />color: &nbsp; &nbsp; &nbsp;#336699;<br />}<br />&lt;/style&gt;<br /><br />&lt;!-- <br />Place the following script in the head of the page.<br />Follow the set-up instructions within the script.<br />//--&gt;<br /><br />&lt;script&gt;<br /><br />// (C) 2002 www.CodeLifter.com<br />// http://www.codelifter.com<br />// Free for all users, but leave in this header.<br /><br />// ==============================<br />// Set the following variables...<br />// ==============================<br /><br />// Set the slideshow speed (in milliseconds)<br />var SlideShowSpeed = 3000;<br /><br />// Set the duration of crossfade (in seconds)<br />var CrossFadeDuration = 3;<br /><br />var Picture = new Array(); // don't change this<br />var Caption = new Array(); // don't change this<br /><br />// Specify the image files...<br />// To add more images, just continue<br />// the pattern, adding to the array below.<br />// To use fewer images, remove lines<br />// starting at the end of the Picture array.<br />// Caution: The number of Pictures *must*<br />// equal the number of Captions!<br /><br />Picture[1] &nbsp;= 'assets/gecicon01.gif';<br />Picture[2] &nbsp;= 'assets/gecicon02.gif';<br />Picture[3] &nbsp;= 'assets/gecicon03.gif';<br />Picture[4] &nbsp;= 'assets/gecicon04.gif';<br />Picture[5] &nbsp;= 'assets/gecicon01.gif';<br />Picture[6] &nbsp;= 'assets/gecicon05.gif' ;<br /><br /><br />// Specify the Captions...<br />// To add more captions, just continue<br />// the pattern, adding to the array below.<br />// To use fewer captions, remove lines<br />// starting at the end of the Caption array.<br />// Caution: The number of Captions *must*<br />// equal the number of Pictures!<br /><br />Caption[1] &nbsp;= &quot;&quot;;<br />Caption[2] &nbsp;= &quot;People&quot;;<br />Caption[3] &nbsp;= &quot;Place&quot;;<br />Caption[4] &nbsp;= &quot;Environment&quot;;<br />Caption[5] &nbsp;= &quot;39 years of innovative design&quot;;<br />Caption[6] &nbsp;= &quot;GEC Architecture&quot;;<br /><br /><br />// =====================================<br />// Do not edit anything below this line!<br />// =====================================<br /><br />var tss;<br />var iss;<br />var jss = 1;<br />var pss = Picture.length-1;<br /><br />var preLoad = new Array();<br />for (iss = 1; iss &lt; pss+1; iss++){<br />preLoad[iss] = new Image();<br />preLoad[iss].src = Picture[iss];}<br /><br />function runSlideShow(){<br />if (document.all){<br />document.images.PictureBox.style.filter=&quot;blendTrans(duration=2)&quot;;<br />document.images.PictureBox.style.filter=&quot;blendTrans(duration=CrossFadeDuration)&quot;;<br />document.images.PictureBox.filters.blendTrans.Apply();}<br />document.images.PictureBox.src = preLoad[jss].src;<br />if (document.getElementById) document.getElementById(&quot;CaptionBox&quot<img src="/images/emoticons/wink.png" class="smiley" />.innerHTML= Caption[jss];<br />if (document.all) document.images.PictureBox.filters.blendTrans.Play();<br />jss = jss + 1;<br />if (jss &gt; (pss)) jss=1;<br /><br />tss = setTimeout('runSlideShow()', SlideShowSpeed);<br />}<br /><br /><br />//--------------------------------------------------<br />&lt;/script&gt;<br /><br />&lt;/head&gt;<br /><br />&lt;!--<br />Add the onload=runSlideShow() event call to the body tag.<br />//--&gt;<br /><br />&lt;body onload=runSlideShow() bgcolor=#FFFFFF&gt;<br /><br />&lt;!--<br />The following table holds the images and captions.<br />Place the table in your page where you want the slideshow<br />to appear. &nbsp;Follow the instructions for each table cell.<br />//--&gt;<br /><br />&lt;table border=0 cellpadding=0 cellspacing=0 width=&quot;991&quot; &gt;<br /> &nbsp;&lt;tr&gt; <br /> &nbsp; &nbsp;&lt;!--<br /> &nbsp; &nbsp;The next table cell holds the images.<br /> &nbsp; &nbsp;Set cell and image width and height the same.<br /> &nbsp; &nbsp;The img src must have name=PictureBox in its<br /> &nbsp; &nbsp;tag. &nbsp;Usually the first image in the Picture<br /> &nbsp; &nbsp;array in the script is used here.<br /> &nbsp; &nbsp;//--&gt;<br /> &nbsp; &nbsp;&lt;td height=229 width=362 &gt;&lt;/td&gt;<br /> &nbsp; &nbsp;&lt;td valign=&quot;top&quot; width=266 &gt; &lt;img src=assets/gecicon01.gif name=PictureBox width=266 height=210&gt; <br /> &nbsp; &nbsp;&lt;/td&gt;<br /> &nbsp; &nbsp;&lt;td width=363 &gt;&lt;/td&gt;<br /> &nbsp;&lt;/tr&gt;<br /> &nbsp;&lt;tr&gt; <br /> &nbsp; &nbsp;&lt;!-- <br /> &nbsp; &nbsp;The next table cell holds the captions.<br /> &nbsp; &nbsp;This table cell must have id=CaptionBox and<br /> &nbsp; &nbsp;class=Caption in its tag. The default caption<br /> &nbsp; &nbsp;shows whilst loading in all browsers; NS4<br /> &nbsp; &nbsp;will show only the default caption, throughout.<br /> &nbsp; &nbsp;//--&gt;<br /> &nbsp; &nbsp;&lt;td height=&quot;19&quot; valign=&quot;top&quot; id=CaptionBox class=Caption align=center bgcolor=#FFFFFF colspan=&quot;3&quot;&gt; <br /> &nbsp; &nbsp; &nbsp;This is the default caption. &lt;/td&gt;<br /> &nbsp;&lt;/tr&gt;<br />&lt;/table&gt;<br /><br />&lt;/body&gt;<br /><br />&lt;/html&gt;<br />]]></description>
    <pubDate>06/02/05, 153 19 2005 2005:%i:1117732741 13:19:01</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/scripting/help_endslideshow_not_working/#p1955</guid>
   </item>
     <item>
    <title>Tortuga  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/scripting/help_endslideshow_not_working/#p1956</link>
    <description><![CDATA[I received a solution from codingforums.com - problem solved.<br /><br />Thanks to everyone who took the time to at least have a look!<br /><br />]]></description>
    <pubDate>06/03/05, 154 35 2005 2005:%i:1117809338 10:35:38</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/scripting/help_endslideshow_not_working/#p1956</guid>
   </item>
   </channel>
</rss