<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; calendar</title>
	<atom:link href="http://www.webstylepress.com/tag/calendar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Advanced JS Calendar</title>
		<link>http://www.webstylepress.com/advanced-js-calendar/</link>
		<comments>http://www.webstylepress.com/advanced-js-calendar/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 08:43:42 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=451</guid>
		<description><![CDATA[Following javascript based calendar is kind of advanced and it shows current month, year and controls of next or previous. You can view days of any year or month in future or in past. You get the idea. This calendar uses an external javascript file. The origional code can be found at dynamicdrive. Download Advanced [...]<p><a href="http://www.webstylepress.com/advanced-js-calendar/">Advanced JS Calendar</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/11/advanced-calendar.gif" alt="" title="advanced-calendar" width="250" height="212" class="alignnone size-full wp-image-453" /></p>
<p>Following javascript based calendar is kind of advanced and it shows current month, year and controls of next or previous. You can view days of any year or month in future or in past. You get the idea. This calendar uses an external javascript file. The origional code can be found at <a rel="nofollow" target="_blank" href="http://www.dynamicdrive.com">dynamicdrive</a>.</p>
<p><span id="more-451"></span></p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/11/advanced-js-calendar.rar'>Download Advanced JS Calendar</a></script></p>
<p><a href="http://www.webstylepress.com/advanced-js-calendar/">Advanced JS Calendar</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/simple-js-calendar/" title="Create Simple Javascript Based Calendar">Create Simple Javascript Based Calendar</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/jquery-smooth-news-rotator/" title="Create jQuery Smooth News Rotator">Create jQuery Smooth News Rotator</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/advanced-js-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Simple Javascript Based Calendar</title>
		<link>http://www.webstylepress.com/simple-js-calendar/</link>
		<comments>http://www.webstylepress.com/simple-js-calendar/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 08:35:13 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Medium]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=447</guid>
		<description><![CDATA[Following script is a calendar script which simply shows current month and highlights current date. &#60;html&#62;&#60;body&#62; &#60;table border=&#34;0&#34; cellpadding=&#34;5&#34; cellspacing=&#34;0&#34;&#62; &#60;tr&#62; &#60;td align=&#34;center&#34; valign=&#34;middle&#34; bgcolor=&#34;#eeeeee&#34;&#62; &#60;table border=&#34;0&#34; cellpadding=&#34;5&#34; cellspacing=&#34;0&#34; bgcolor=&#34;#FFFFFF&#34;&#62; &#60;tr&#62; &#60;td align=&#34;center&#34; valign=&#34;middle&#34;&#62; &#60;SCRIPT LANGUAGE=&#34;JavaScript&#34;&#62; monthnames = new Array( &#34;January&#34;, &#34;Februrary&#34;, &#34;March&#34;, &#34;April&#34;, &#34;May&#34;, &#34;June&#34;, &#34;July&#34;, &#34;August&#34;, &#34;September&#34;, &#34;October&#34;, &#34;November&#34;, &#34;Decemeber&#34;); var linkcount=0; function [...]<p><a href="http://www.webstylepress.com/simple-js-calendar/">Create Simple Javascript Based Calendar</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Following script is a calendar script which simply shows current month and highlights current date.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/11/simple-js-calendar.gif" alt="" title="simple-js-calendar" width="165" height="231" class="alignnone size-full wp-image-448" /></p>
<p><span id="more-447"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;html&gt;&lt;body&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot;&gt;
  &lt;tr&gt;
    &lt;td align=&quot;center&quot; valign=&quot;middle&quot; bgcolor=&quot;#eeeeee&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;5&quot; cellspacing=&quot;0&quot; bgcolor=&quot;#FFFFFF&quot;&gt;
        &lt;tr&gt; 
          &lt;td align=&quot;center&quot; valign=&quot;middle&quot;&gt; &lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;
monthnames = new Array(
&quot;January&quot;,
&quot;Februrary&quot;,
&quot;March&quot;,
&quot;April&quot;,
&quot;May&quot;,
&quot;June&quot;,
&quot;July&quot;,
&quot;August&quot;,
&quot;September&quot;,
&quot;October&quot;,
&quot;November&quot;,
&quot;Decemeber&quot;);
var linkcount=0;
function addlink(month, day, href) {
var entry = new Array(3);
entry[0] = month;
entry[1] = day;
entry[2] = href;
this[linkcount++] = entry;
}
Array.prototype.addlink = addlink;
linkdays = new Array();
monthdays = new Array(12);
monthdays[0]=31;
monthdays[1]=28;
monthdays[2]=31;
monthdays[3]=30;
monthdays[4]=31;
monthdays[5]=30;
monthdays[6]=31;
monthdays[7]=31;
monthdays[8]=30;
monthdays[9]=31;
monthdays[10]=30;
monthdays[11]=31;
todayDate=new Date();
thisday=todayDate.getDay();
thismonth=todayDate.getMonth();
thisdate=todayDate.getDate();
thisyear=todayDate.getYear();
thisyear = thisyear % 100;
thisyear = ((thisyear &lt; 50) ? (2000 + thisyear) : (1900 + thisyear));
if (((thisyear % 4 == 0) 
&amp;&amp; !(thisyear % 100 == 0))
||(thisyear % 400 == 0)) monthdays[1]++;
startspaces=thisdate;
while (startspaces &gt; 7) startspaces-=7;
startspaces = thisday - startspaces + 1;
if (startspaces &lt; 0) startspaces+=7;
document.write(&quot;&lt;table border=0 bgcolor=#FFFFFF &quot;);
document.write(&quot;bordercolor=black&gt;&lt;font color=black face=verdana&gt;&quot;);
document.write(&quot;&lt;tr&gt;&lt;td colspan=7&gt;&lt;center&gt;&lt;strong&gt;&quot; 
+ monthnames[thismonth] + &quot; &quot; + thisyear 
+ &quot;&lt;/strong&gt;&lt;/center&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&quot;);
document.write(&quot;&lt;tr&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;Su&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;M&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;Tu&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;W&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;Th&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;F&lt;/td&gt;&quot;);
document.write(&quot;&lt;td align=center&gt;Sa&lt;/td&gt;&quot;); 
document.write(&quot;&lt;/tr&gt;&quot;);
document.write(&quot;&lt;tr&gt;&quot;);
for (s=0;s&lt;startspaces;s++) {
document.write(&quot;&lt;td&gt; &lt;/td&gt;&quot;);
}
count=1;
while (count &lt;= monthdays[thismonth]) {
for (b = startspaces;b&lt;7;b++) {
linktrue=false;
document.write(&quot;&lt;td&gt;&quot;);
for (c=0;c&lt;linkdays.length;c++) {
if (linkdays[c] != null) {
if ((linkdays[c][0]==thismonth + 1) &amp;&amp; (linkdays[c][1]==count)) {
document.write(&quot;&lt;a href=\&quot;&quot; + linkdays[c][2] + &quot;\&quot;&gt;&quot;);
linktrue=true;
      }
   }
}
if (count==thisdate) {
document.write(&quot;&lt;font color='E44401'&gt;&lt;strong&gt;&quot;);
}
if (count &lt;= monthdays[thismonth]) {
document.write(count);
}
else {
document.write(&quot; &quot;);
}
if (count==thisdate) {
document.write(&quot;&lt;/strong&gt;&lt;/font&gt;&quot;);
}
if (linktrue)
document.write(&quot;&lt;/a&gt;&quot;);
document.write(&quot;&lt;/td&gt;&quot;);
count++;
}
document.write(&quot;&lt;/tr&gt;&quot;);
document.write(&quot;&lt;tr&gt;&quot;);
startspaces=0;
}
document.write(&quot;&lt;/table&gt;&lt;/p&gt;&quot;);
// End --&gt;
&lt;/SCRIPT&gt; &lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/11/simple-calendar.rar'>Download Simple Calendar Script</a></span></p>
<p><a href="http://www.webstylepress.com/simple-js-calendar/">Create Simple Javascript Based Calendar</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/advanced-js-calendar/" title="Advanced JS Calendar">Advanced JS Calendar</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/jquery-smooth-news-rotator/" title="Create jQuery Smooth News Rotator">Create jQuery Smooth News Rotator</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/simple-js-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

