<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: javascript calendar widget</title>
	<atom:link href="http://codetale.com/2007/02/23/javascript-calendar-widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://codetale.com/2007/02/23/javascript-calendar-widget/</link>
	<description>[A Source For Webmasters]</description>
	<lastBuildDate>Mon, 15 Mar 2010 01:32:46 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Roberto</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-908</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Thu, 25 Feb 2010 19:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-908</guid>
		<description>I&#039;m trying to use the calendar with an asp TextBox, but i cannot make it run. and always get the following error.

Microsoft jScript runtime error: Object required

thx</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to use the calendar with an asp TextBox, but i cannot make it run. and always get the following error.</p>
<p>Microsoft jScript runtime error: Object required</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saad</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-891</link>
		<dc:creator>saad</dc:creator>
		<pubDate>Sun, 16 Aug 2009 17:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-891</guid>
		<description>Resolved that issue as well

to set range of date, i set (from your example)
 var itype = &quot;strict&quot;;
  var imaxDays = 364000;
  var startDay = new Date().getDate();
  var startMonth = new Date().getMonth();

and for appending day, In calendar.js
function fillBackDate(){

dayIs = new Date(tYear,tMonth,tDay);
	val = dayIs.getDay();
	
	 if(val == 0)
		 dayIs = &quot;Sunday&quot;;
	 else if(val == 1)
		dayIs = &quot;Monday&quot;;
	 else if(val == 2)
		dayIs = &quot;Tuesday&quot;;
	 else if(val == 3)
		dayIs = &quot;Wednesday&quot;;
	 else if(val == 4)
		dayIs = &quot;Thursday&quot;;
	 else if(val == 5)
		dayIs = &quot;Friday&quot;;
	 else if(val == 6)
		dayIs = &quot;Saturday&quot;;
	 else 	
		 dayIs = &quot;ERR&quot;;
}
and than in the same function below

if(formatInputs==1)
	{
	    
//changed this line		document.getElementById(elem1).value = dayIs +&quot; &quot;+tDay + formatSplitter + tMonth + formatSplitter + tYear;
		
	}</description>
		<content:encoded><![CDATA[<p>Resolved that issue as well</p>
<p>to set range of date, i set (from your example)<br />
 var itype = &#8220;strict&#8221;;<br />
  var imaxDays = 364000;<br />
  var startDay = new Date().getDate();<br />
  var startMonth = new Date().getMonth();</p>
<p>and for appending day, In calendar.js<br />
function fillBackDate(){</p>
<p>dayIs = new Date(tYear,tMonth,tDay);<br />
	val = dayIs.getDay();</p>
<p>	 if(val == 0)<br />
		 dayIs = &#8220;Sunday&#8221;;<br />
	 else if(val == 1)<br />
		dayIs = &#8220;Monday&#8221;;<br />
	 else if(val == 2)<br />
		dayIs = &#8220;Tuesday&#8221;;<br />
	 else if(val == 3)<br />
		dayIs = &#8220;Wednesday&#8221;;<br />
	 else if(val == 4)<br />
		dayIs = &#8220;Thursday&#8221;;<br />
	 else if(val == 5)<br />
		dayIs = &#8220;Friday&#8221;;<br />
	 else if(val == 6)<br />
		dayIs = &#8220;Saturday&#8221;;<br />
	 else<br />
		 dayIs = &#8220;ERR&#8221;;<br />
}<br />
and than in the same function below</p>
<p>if(formatInputs==1)<br />
	{</p>
<p>//changed this line		document.getElementById(elem1).value = dayIs +&#8221; &#8220;+tDay + formatSplitter + tMonth + formatSplitter + tYear;</p>
<p>	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saad</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-890</link>
		<dc:creator>saad</dc:creator>
		<pubDate>Sun, 16 Aug 2009 15:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-890</guid>
		<description>sorry to bother in the above first question about date range....resolved by your example: http://codetale.com/cwcalendar/examples/maxdays.html

But, i still need to figure out, how to return DAY as well with date.</description>
		<content:encoded><![CDATA[<p>sorry to bother in the above first question about date range&#8230;.resolved by your example: <a href="http://codetale.com/cwcalendar/examples/maxdays.html" rel="nofollow">http://codetale.com/cwcalendar/examples/maxdays.html</a></p>
<p>But, i still need to figure out, how to return DAY as well with date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saad</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-889</link>
		<dc:creator>saad</dc:creator>
		<pubDate>Sun, 16 Aug 2009 15:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-889</guid>
		<description>The calendar widget is very good. I have 2 requests,

I wanted to enable the date selection to be valide only from Today and forward dates i.e. I don&#039;t want the person to select previous date(i.e. yesterday or any previous date). I tried setting 

itype = &quot;strict&quot;;
startDay = new Date().getDate();
startMonth = new Date().getMonth();
startYear = new Date().getFullYear();

What else do I need to set, as it doesn&#039;t work in this case?  

One more thing is, I want to return the appended Day with date as well, e.g. &quot;Sat 10/09/19&quot;

How to achieve this? Thanks in advance.</description>
		<content:encoded><![CDATA[<p>The calendar widget is very good. I have 2 requests,</p>
<p>I wanted to enable the date selection to be valide only from Today and forward dates i.e. I don&#8217;t want the person to select previous date(i.e. yesterday or any previous date). I tried setting </p>
<p>itype = &#8220;strict&#8221;;<br />
startDay = new Date().getDate();<br />
startMonth = new Date().getMonth();<br />
startYear = new Date().getFullYear();</p>
<p>What else do I need to set, as it doesn&#8217;t work in this case?  </p>
<p>One more thing is, I want to return the appended Day with date as well, e.g. &#8220;Sat 10/09/19&#8243;</p>
<p>How to achieve this? Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Naccio</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-880</link>
		<dc:creator>Charles Naccio</dc:creator>
		<pubDate>Mon, 27 Jul 2009 01:21:16 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-880</guid>
		<description>Thanks! I needed this for a client project we were working on. Works perfect.</description>
		<content:encoded><![CDATA[<p>Thanks! I needed this for a client project we were working on. Works perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adisan</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-804</link>
		<dc:creator>adisan</dc:creator>
		<pubDate>Sun, 21 Jun 2009 15:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-804</guid>
		<description>@Rathika Krishnavelu
Here is an update of the calendar that has the option to disable saturdays and sundays.
http://codetale.com/2009/06/21/javascript-calendar-widget-108/</description>
		<content:encoded><![CDATA[<p>@Rathika Krishnavelu<br />
Here is an update of the calendar that has the option to disable saturdays and sundays.<br />
<a href="http://codetale.com/2009/06/21/javascript-calendar-widget-108/" rel="nofollow">http://codetale.com/2009/06/21/javascript-calendar-widget-108/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Banggo</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-803</link>
		<dc:creator>Banggo</dc:creator>
		<pubDate>Sun, 21 Jun 2009 12:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-803</guid>
		<description>Thanks!!
It works just fine and so easy to use, but maybe I&#039;ve to change the format to dd-mm-yyyy because i use it in indonesian format.
thanks, anyway!</description>
		<content:encoded><![CDATA[<p>Thanks!!<br />
It works just fine and so easy to use, but maybe I&#8217;ve to change the format to dd-mm-yyyy because i use it in indonesian format.<br />
thanks, anyway!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rathika Krishnavelu</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-802</link>
		<dc:creator>Rathika Krishnavelu</dc:creator>
		<pubDate>Thu, 11 Jun 2009 05:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-802</guid>
		<description>Hi,

     Very nice Calender.

 I have a requirement. In that calender the user should not Select Saturday and Sunday. How to Disable Saturday and Sunday while Clicking the Calender itself.

Thanks in Advance.


Thanks &amp; Regards,
Rathika Krishnavelu</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>     Very nice Calender.</p>
<p> I have a requirement. In that calender the user should not Select Saturday and Sunday. How to Disable Saturday and Sunday while Clicking the Calender itself.</p>
<p>Thanks in Advance.</p>
<p>Thanks &amp; Regards,<br />
Rathika Krishnavelu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [tokenizer]</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-796</link>
		<dc:creator>[tokenizer]</dc:creator>
		<pubDate>Sun, 05 Apr 2009 12:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-796</guid>
		<description>TIP: Changing the start of the week to Sunday.

1. Change Line 104 from 

var DayCol = new Array(&quot;M&quot;, &quot;T&quot;, &quot;W&quot;, &quot;T&quot;, &quot;F&quot;, &quot;S&quot;, &quot;S&quot;);
 
to


var DayCol = new Array(&quot;S&quot;,&quot;M&quot;, &quot;T&quot;, &quot;W&quot;, &quot;T&quot;, &quot;F&quot;, &quot;S&quot;);

This will change the header to start at S (Sunday).

2. Comment lines 189 and 190;

From 

iFirstDay--
if(iFirstDay&lt;0){iFirstDay=6}

To 

//iFirstDay--
//if(iFirstDay&lt;0){iFirstDay=6}

This will synchronize the day value with the header.

Voila! Your widget now starts in Sunday! :D hope this helps.</description>
		<content:encoded><![CDATA[<p>TIP: Changing the start of the week to Sunday.</p>
<p>1. Change Line 104 from </p>
<p>var DayCol = new Array(&#8221;M&#8221;, &#8220;T&#8221;, &#8220;W&#8221;, &#8220;T&#8221;, &#8220;F&#8221;, &#8220;S&#8221;, &#8220;S&#8221;);</p>
<p>to</p>
<p>var DayCol = new Array(&#8221;S&#8221;,&#8221;M&#8221;, &#8220;T&#8221;, &#8220;W&#8221;, &#8220;T&#8221;, &#8220;F&#8221;, &#8220;S&#8221;);</p>
<p>This will change the header to start at S (Sunday).</p>
<p>2. Comment lines 189 and 190;</p>
<p>From </p>
<p>iFirstDay&#8211;<br />
if(iFirstDay&lt;0){iFirstDay=6}</p>
<p>To </p>
<p>//iFirstDay&#8211;<br />
//if(iFirstDay&lt;0){iFirstDay=6}</p>
<p>This will synchronize the day value with the header.</p>
<p>Voila! Your widget now starts in Sunday! <img src='http://codetale.com/wpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [tokenizer]</title>
		<link>http://codetale.com/2007/02/23/javascript-calendar-widget/comment-page-2/#comment-795</link>
		<dc:creator>[tokenizer]</dc:creator>
		<pubDate>Sun, 05 Apr 2009 07:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://codetale.com/2007/02/23/javascript-calendar-widget/#comment-795</guid>
		<description>First of all! Great job! 

Here are some comments and suggestions. =)

Bug: I am seeing the same problem with n8(comment no 61).Seems like the script in popping up the calendar is limited to the default format.


Functionality: I suggest it would be better if the calendar closes when it is outside of focus (e.g. user clicks outside the calendar). This will be more desirable for better user experience. (Just as what was suggested by ashish in comment no. 48-49)

This is just a suggestion anyway. Great job man! Cheers.</description>
		<content:encoded><![CDATA[<p>First of all! Great job! </p>
<p>Here are some comments and suggestions. =)</p>
<p>Bug: I am seeing the same problem with n8(comment no 61).Seems like the script in popping up the calendar is limited to the default format.</p>
<p>Functionality: I suggest it would be better if the calendar closes when it is outside of focus (e.g. user clicks outside the calendar). This will be more desirable for better user experience. (Just as what was suggested by ashish in comment no. 48-49)</p>
<p>This is just a suggestion anyway. Great job man! Cheers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
