<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024714" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024714</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1151212</link>
    <description> &lt;p&gt;I already have a random joke thing on the page.&lt;/p&gt;
 </description>
     <pubDate>Tue, 11 May 2004 23:56:59 +0000</pubDate>
 <dc:creator>tomaine2002</dc:creator>
 <guid isPermaLink="false">comment 1151212 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1151065</link>
    <description> &lt;p&gt;var firstDay = 8&lt;br /&gt;
var joday = new Array(&quot;my jokes&quot;,&quot;went here&quot;,&quot;like this&quot;);&lt;/p&gt;
&lt;p&gt;var dadate = new Date();&lt;br /&gt;
var jokeIdx = dadate.getDay() - firstDay;&lt;br /&gt;
// etc for month and year&lt;br /&gt;
// check if jokeIdx in bounds, ie: not indexing too far into joday&lt;br /&gt;
var joke = joday[jokeIdx];&lt;/p&gt;
&lt;p&gt;Alternatively, why not just randomly bring up a joke? &lt;a href=&quot;http://www.irt.org&quot; class=&quot;bb-url&quot;&gt;http://www.irt.org&lt;/a&gt; has info on writing JavaScript.&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
 </description>
     <pubDate>Sat, 08 May 2004 14:50:48 +0000</pubDate>
 <dc:creator>pmj7</dc:creator>
 <guid isPermaLink="false">comment 1151065 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1151063</link>
    <description> &lt;p&gt;srry if i didn&#039;t explain it 2 well... here&#039;s whats going on: The script only adds one to the variable jokday if the viewers computer is on at midnight .... problem 2 is if the viewer restarts his/her computer then jokday is reset to 0&lt;/p&gt;
 </description>
     <pubDate>Sat, 08 May 2004 14:03:44 +0000</pubDate>
 <dc:creator>tomaine2002</dc:creator>
 <guid isPermaLink="false">comment 1151063 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1151027</link>
    <description> &lt;p&gt;I agree with Suzanne.&lt;/p&gt;
&lt;p&gt;The script appears ok, I don&#039;t understand how you&#039;ve come to the conclusions you&#039;ve made.  What exactly happens when you use the script?&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
 </description>
     <pubDate>Fri, 07 May 2004 21:41:21 +0000</pubDate>
 <dc:creator>pmj7</dc:creator>
 <guid isPermaLink="false">comment 1151027 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1150926</link>
    <description> &lt;p&gt;i am serving the files off of a server. Unfortunately I am pretty new to web site design and know nothign about sever-side programming or how i&#039;d use a cookie to fix this.&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 May 2004 01:08:09 +0000</pubDate>
 <dc:creator>tomaine2002</dc:creator>
 <guid isPermaLink="false">comment 1150926 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-problem-1#comment-1150923</link>
    <description> &lt;p&gt;Your home computer is your server? &lt;/p&gt;
&lt;p&gt;This seems like the sort of thing you&#039;d want to use a) cookies and b) server-side programming for.&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 May 2004 00:28:47 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150923 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
