<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>HTML Help</title>
  <link>http://www.htmlcodetutorial.com/help/index.php</link>
  <description>Please &lt;a href=&quot;http://www.htmlcodetutorial.com/help/search.php&quot;&gt;Search&lt;/a&gt; for the answer to your question before asking it! Thanks.</description>
  <language>english</language>
  <copyright>(c) Copyright 2009 by HTML Help</copyright>
  <managingEditor>design@htmlcodetutorial.com</managingEditor>
  <webMaster>design@htmlcodetutorial.com</webMaster>
  <pubDate>Fri Nov 20, 2009 7:42 pm</pubDate>
  <lastBuildDate>Fri Nov 20, 2009 7:42 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>HTML Help</title>
    <url></url>
    <link>http://www.htmlcodetutorial.com/help/</link>
    <description>Please &lt;a href=&quot;http://www.htmlcodetutorial.com/help/search.php&quot;&gt;Search&lt;/a&gt; for the answer to your question before asking it! Thanks.</description>
  </image>

                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=2082#2082</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=817'&gt;Digi Spy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Dec 28, 2004 2:22 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi, I'm new around here, so please excuse me if this had already been asked somewhere..&lt;br /&gt;
&lt;br /&gt;
Is there a way, possibly using the code provided in this topic to refresh a single remotely-hosted (webcam) image with another remotely-hosted (webcam) image (different URL) on the same webpage after a few seconds delay without having to use a META refresh command to auto-load a new page, and a new image, I would also (if possible) like with a small caption above the image (which also changes with the image)?&lt;br /&gt;
&lt;br /&gt;
Any and all help gratefully received.</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=2082#2082</comments>
                                        <author>Digi Spy</author>
                                        <pubDate>Tue Dec 28, 2004 2:22 pm</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=2082#2082</guid>
                                      </item>
                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1371#1371</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=10'&gt;mjpliv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Oct 12, 2004 3:04 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I have no idea if it will work - Java is not a strong point for me.</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1371#1371</comments>
                                        <author>mjpliv</author>
                                        <pubDate>Tue Oct 12, 2004 3:04 pm</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1371#1371</guid>
                                      </item>
                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1369#1369</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=431'&gt;orbital&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Oct 12, 2004 1:48 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      thanks mjpliv&lt;br /&gt;
&lt;br /&gt;
i'll work on that later on tonight, and report back how it goes&lt;br /&gt;
&lt;br /&gt;
appreciate your help&lt;br /&gt;
&lt;br /&gt;
orb</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1369#1369</comments>
                                        <author>orbital</author>
                                        <pubDate>Tue Oct 12, 2004 1:48 pm</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1369#1369</guid>
                                      </item>
                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1363#1363</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=10'&gt;mjpliv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Oct 12, 2004 3:12 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      One of our websites uses this script to generate a random top banner image. &lt;br /&gt;
&lt;br /&gt;
This is the site &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.crescohomes.com&quot; target=&quot;_blank&quot; class=&quot;postlink&quot; rel=&quot;nofollow&quot;&gt;http://www.crescohomes.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the script in the HEAD portion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;tr&gt; &lt;br /&gt;	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;	&lt;tr&gt;&lt;br /&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;SCRIPT LANGUAGE=JavaScript&amp;gt;&amp;lt;!-- Hide this script from old browsers --&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
var imagenumber = 7 ;&lt;br /&gt;
&lt;br /&gt;
var randomnumber = Math.random&amp;#40;&amp;#41; ;&lt;br /&gt;
&lt;br /&gt;
var rand1 = Math.round&amp;#40; &amp;#40;imagenumber-1&amp;#41; * randomnumber&amp;#41; + 1 ;&lt;br /&gt;
&lt;br /&gt;
images = new Array&lt;br /&gt;
&lt;br /&gt;
images&amp;#91;1&amp;#93; = &amp;quot;banner1.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;2&amp;#93; = &amp;quot;banner2.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;3&amp;#93; = &amp;quot;banner3.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;4&amp;#93; = &amp;quot;banner4.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;5&amp;#93; = &amp;quot;banner5.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;6&amp;#93; = &amp;quot;banner6.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;7&amp;#93; = &amp;quot;banner7.jpg&amp;quot;&lt;br /&gt;
var image = images&amp;#91;rand1&amp;#93;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// -- End Hiding Here --&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=JavaScript&amp;gt;&amp;lt;!-- Hide this script from old browsers --&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
var imagenumber = 5 ;&lt;br /&gt;
&lt;br /&gt;
var randomnumber = Math.random&amp;#40;&amp;#41; ;&lt;br /&gt;
&lt;br /&gt;
var rand2 = Math.round&amp;#40; &amp;#40;imagenumber-1&amp;#41; * randomnumber&amp;#41; + 1 ;&lt;br /&gt;
&lt;br /&gt;
images = new Array&lt;br /&gt;
&lt;br /&gt;
images&amp;#91;1&amp;#93; = &amp;quot;frontpic1.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;2&amp;#93; = &amp;quot;frontpic2.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;3&amp;#93; = &amp;quot;frontpic3.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;4&amp;#93; = &amp;quot;frontpic4.jpg&amp;quot;&lt;br /&gt;
images&amp;#91;5&amp;#93; = &amp;quot;frontpic5.jpg&amp;quot;&lt;br /&gt;
var image2 = images&amp;#91;rand2&amp;#93;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// -- End Hiding Here --&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This code is the BODY portion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;tr&gt; &lt;br /&gt;	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;	&lt;tr&gt;&lt;br /&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;BODY BGCOLOR=&amp;quot;#DBDFD4&amp;quot; marginheight=0 topmargin=0 marginwidth=0 leftmargin=0&amp;gt;&lt;br /&gt;
&amp;lt;TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=621 HEIGHT=77 align=&amp;quot;center&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;img src=&amp;quot;topbanner.gif&amp;quot; width=&amp;quot;620&amp;quot; height=&amp;quot;27&amp;quot; align=&amp;quot;top&amp;quot; alt=&amp;quot;Top Banner&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;TR&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;TD VALIGN=top&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;P&amp;gt;&amp;lt;IMG SRC=&amp;quot;toplogo.gif&amp;quot; ALT=&amp;quot;Cresco Homes&amp;quot; WIDTH=189 HEIGHT=77 ALIGN=top&amp;gt;&amp;lt;SCRIPT LANGUAGE=JavaScript&amp;gt;&amp;lt;!-- Hide this script from old browsers --&lt;br /&gt;
document.write&amp;#40;'&amp;lt;IMG SRC=&amp;quot;' + image + '&amp;quot; width=431 height=77 align=top&amp;gt;'&amp;#41;&lt;br /&gt;
// -- End Hiding Here --&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/TD&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;lt;/TR&amp;gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps the &quot;' + image + '&quot; can be placed in the BODY tag for the background image. Play with it and see what happens.</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1363#1363</comments>
                                        <author>mjpliv</author>
                                        <pubDate>Tue Oct 12, 2004 3:12 am</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1363#1363</guid>
                                      </item>
                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1357#1357</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=431'&gt;orbital&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 11, 2004 10:55 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      would this work with a random background image reloaded at a specific interval?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
thanks in advance....just joined having a good look around &lt;img src=&quot;images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1357#1357</comments>
                                        <author>orbital</author>
                                        <pubDate>Mon Oct 11, 2004 10:55 pm</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1357#1357</guid>
                                      </item>
                                      <item>
                                        <title>Great</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1113#1113</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=321'&gt;jimroberth&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Sep 20, 2004 6:48 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Just what I wanted.  Thanks, I owe you a beer.&lt;br /&gt;
&lt;br /&gt;
Jim H</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1113#1113</comments>
                                        <author>jimroberth</author>
                                        <pubDate>Mon Sep 20, 2004 6:48 pm</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1113#1113</guid>
                                      </item>
                                      <item>
                                        <title>Re: Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1100#1100</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=10'&gt;mjpliv&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Sep 20, 2004 5:51 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;br /&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;tr&gt; &lt;br /&gt;	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;	&lt;tr&gt;&lt;br /&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;lt;!-- Code Begin --&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;IMG src=&amp;quot;image_name.jpg&amp;quot; width=&amp;quot;275&amp;quot; height=&amp;quot;200&amp;quot; border=&amp;quot;1&amp;quot; name=&amp;quot;refresh&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;SCRIPT language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!--&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;var t = 120 // interval in seconds&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;image = &amp;quot;image_name.jpg&amp;quot; //name of the image&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;function Start&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;tmp = new Date&amp;#40;&amp;#41;; &lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;tmp = &amp;quot;?&amp;quot;+tmp.getTime&amp;#40;&amp;#41;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;document.images&amp;#91;&amp;quot;refresh&amp;quot;&amp;#93;.src = image+tmp&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;setTimeout&amp;#40;&amp;quot;Start&amp;#40;&amp;#41;&amp;quot;, t*1000&amp;#41;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Start&amp;#40;&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;// --&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!-- Code End --&amp;gt;&lt;/td&gt;&lt;br /&gt;	&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Try this one - I use it to refresh my webcam pics. Just insert your on image address and interval time</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1100#1100</comments>
                                        <author>mjpliv</author>
                                        <pubDate>Mon Sep 20, 2004 5:51 am</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1100#1100</guid>
                                      </item>
                                      <item>
                                        <title>Refresh one image only</title>
                                        <link>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1076#1076</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.htmlcodetutorial.com/help/profile.php?mode=viewprofile&amp;u=321'&gt;jimroberth&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Sep 18, 2004 9:43 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I want to refresh only the main image on a motion jpeg page not the whole page. Any ideas.&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
                                        <comments>http://www.htmlcodetutorial.com/help/viewtopic.php?p=1076#1076</comments>
                                        <author>jimroberth</author>
                                        <pubDate>Sat Sep 18, 2004 9:43 am</pubDate>
                                        <guid isPermaLink="true">http://www.htmlcodetutorial.com/help/viewtopic.php?p=1076#1076</guid>
                                      </item></channel></rss>