<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1033738" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1033738</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/revolving-images#comment-1196529</link>
    <description> &lt;p&gt;yes use php&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Apr 2006 03:28:54 +0000</pubDate>
 <dc:creator>gretty</dc:creator>
 <guid isPermaLink="false">comment 1196529 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/revolving-images#comment-1196284</link>
    <description> &lt;p&gt;I can manage to get the flash .swf files into a javascript array, yes, but can anyone suggest the code needed in order to create a revolving image from that array which will replace the previos image each time on a time delay?&lt;/p&gt;
&lt;p&gt;I have managed to do this with image files (see the code below) butit does not work when I use .swf files. I have no idea why, I thought the principle would be the same?&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.01 Transitional//EN&amp;quot;&lt;br /&gt;&amp;quot;http://www.w3.org/TR/html4/loose.dtd&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;amp;lt;script LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;!-- Begin&lt;br /&gt;var interval = 2.5; // delay between rotating images (in seconds)&lt;br /&gt;var random_display = 1; // 0 = no, 1 = yes&lt;br /&gt;interval *= 1000;&lt;br /&gt;&lt;br /&gt;var image_index = 0;&lt;br /&gt;image_list = new Array();&lt;br /&gt;image_list[image_index++] = new imageItem(&amp;quot;xxx/new/xsp/artists/5thavenue/images/artist.gif&amp;quot;);&lt;br /&gt;image_list[image_index++] = new imageItem(&amp;quot;xxx/new/xsp/artists/Abbashow/images/artist.jpg&amp;quot;);&lt;br /&gt;image_list[image_index++] = new imageItem(&amp;quot;xxx/new/xsp/artists/Allaidhmodahn/images/artist.jpg&amp;quot;);&lt;br /&gt;image_list[image_index++] = new imageItem(&amp;quot;xxx/new/xsp/artists/Beagles/images/artist.jpg&amp;quot;);&lt;br /&gt;var number_of_image = image_list.length;&lt;br /&gt;function imageItem(image_location) {&lt;br /&gt;this.image_item = new Image();&lt;br /&gt;this.image_item.src = image_location;&lt;br /&gt;}&lt;br /&gt;function get_ImageItemLocation(imageObj) {&lt;br /&gt;return(imageObj.image_item.src)&lt;br /&gt;}&lt;br /&gt;function generate(x, y) {&lt;br /&gt;var range = y - x + 1;&lt;br /&gt;return Math.floor(Math.random() * range) + x;&lt;br /&gt;}&lt;br /&gt;function getNextImage() {&lt;br /&gt;if (random_display) {&lt;br /&gt;image_index = generate(0, number_of_image-1);&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;image_index = (image_index+1) % number_of_image;&lt;br /&gt;}&lt;br /&gt;var new_image = get_ImageItemLocation(image_list[image_index]);&lt;br /&gt;return(new_image);&lt;br /&gt;}&lt;br /&gt;function rotateImage(place) {&lt;br /&gt;var new_image = getNextImage();&lt;br /&gt;document[place].src = new_image;&lt;br /&gt;var recur_call = &amp;quot;rotateImage(&amp;#039;&amp;quot;+place+&amp;quot;&amp;#039;)&amp;quot;;&lt;br /&gt;setTimeout(recur_call, interval);&lt;br /&gt;}&lt;br /&gt;//&amp;nbsp; End --&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;BODY OnLoad=&amp;quot;rotateImage(&amp;#039;rImage&amp;#039;)&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;center&amp;gt;&lt;br /&gt;&amp;lt;img name=&amp;quot;rImage&amp;quot; src=&amp;quot;xxx/new/xsp/artists/5thavenue/images/artist.gif&amp;quot; width=280 height=230&amp;gt;&lt;br /&gt;&amp;lt;/center&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&amp;lt;center&amp;gt;&lt;br /&gt;&amp;lt;font face=&amp;quot;arial, helvetica&amp;quot; size=&amp;quot;-2&amp;quot;&amp;gt;Free JavaScripts provided&amp;lt;br&amp;gt;&lt;br /&gt;by &amp;lt;a href=&amp;quot;http://javascriptsource.com&amp;quot;&amp;gt;The JavaScript Source&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt;&lt;br /&gt;&amp;lt;/center&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Thu, 30 Mar 2006 10:06:36 +0000</pubDate>
 <dc:creator>ChrisL</dc:creator>
 <guid isPermaLink="false">comment 1196284 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/revolving-images#comment-1196259</link>
    <description> &lt;p&gt;The problem is PHP is processed on the server, you are wanting something that works on the client side.&lt;/p&gt;
&lt;p&gt;You would still use PHP to get a list of available images, and store that say in a javascript array.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Thu, 30 Mar 2006 00:04:39 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1196259 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
