<?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>DansNetwork.com &#187; Web</title>
	<atom:link href="http://dansnetwork.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://dansnetwork.com</link>
	<description>Web Design, Javascript, CSS, and More...</description>
	<lastBuildDate>Wed, 19 May 2010 20:02:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use Gmail To Filter Hotmail Spam</title>
		<link>http://dansnetwork.com/2010/04/07/use-gmail-to-filter-hotmail-spam/</link>
		<comments>http://dansnetwork.com/2010/04/07/use-gmail-to-filter-hotmail-spam/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 01:21:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=201</guid>
		<description><![CDATA[Still haven&#8217;t managed to get rid of that embarrassing Hotmail account?  Me neither!
Gmail allows you to retrieve the email from other  email accounts via POP3 (just as many desktop email clients do). The  nice thing about it is that it will also filter email from that account  and mark suspected SPAM [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Still haven&#8217;t managed to get rid of that embarrassing Hotmail account?  Me neither!</p>
<p>Gmail allows you to retrieve the email from other  email accounts via POP3 (just as many desktop email clients do). The  nice thing about it is that it will also filter email from that account  and mark suspected SPAM as such.</p>
<p>This feature is found in<strong>:<br />
Gmail  -&gt; Settings -&gt; Accounts and Import (tab) -&gt; Check mail using  POP3</strong></p>
<p>I set mine up to delete mail from Hotmail&#8217;s server upon  retrieval to prevent email clog up. Also be sure to tag your Hotmail, so  it doesn&#8217;t get mixed in with the important stuff. You may still need to  log into Hotmail occasionally to prevent them from shutting down your  account. I&#8217;ve thought about setting up another Gmail account to replace  my beloved Microsoft email acct. but&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2010/04/07/use-gmail-to-filter-hotmail-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test With IE On Your Mac OS X</title>
		<link>http://dansnetwork.com/2010/04/03/test-with-ie-on-your-mac-os-x/</link>
		<comments>http://dansnetwork.com/2010/04/03/test-with-ie-on-your-mac-os-x/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 19:33:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[ietester]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=171</guid>
		<description><![CDATA[Requirements:
- Mac OS X (Snow Leopard was used for this article)
- XAMPP/Apache  or Mac webserver of your choice
- VirtualBox
- Windows  XP, Vista, or 7 install disk
- IETester (allows for testing in  multiple flavors of Internet Explorer using tabs)
We&#8217;ve all seen  this show before. The tricky part is finding your way back [...]]]></description>
			<content:encoded><![CDATA[<p>Requirements:<br />
- <strong>Mac OS X</strong> (Snow Leopard was used for this article)<br />
- <strong>XAMPP/Apache  or Mac webserver of your choice<br />
- <a title="VirtualBox" href="http://virtualbox.org">VirtualBox</a><br />
- Windows  XP, Vista, or 7 install disk<br />
- <a title="IETester" href="http://www.my-debugbar.com/wiki/IETester/HomePage">IETester</a></strong> (allows for testing in  multiple flavors of Internet Explorer using tabs)</p>
<p>We&#8217;ve all seen  this show before. The tricky part is finding your way back to XAMPP  (Apache) from IE Tester while maintaining a consistent base URL. This  isn&#8217;t important when running a few static websites, but many frameworks  have this value stored in its database. When you view your site using a  different URL, links to static files (CSS, images, etc.) and other pages  become broken. In a few easy steps I&#8217;m going to show you one method to  resolve this issue.</p>
<p>Go ahead and install the above applications  and OSes if you haven&#8217;t already. Use the default network mode  of &#8220;NAT&#8221; for VirtualBox. I&#8217;m going to assume that you can access your  local sites (from your Mac) using &#8211; http://localhost/<em>sitename</em>/</p>
<p>- <strong>Step  1:</strong> Boot up your Windows install and use ipconfig (Run -&gt; cmd  -&gt; ipconfig) to get your gateway IP. It was 10.0.0.2 for me.</p>
<p>- <strong>Step  2:</strong> Add the following lines to both system&#8217;s (Mac and virtual  Windows install) hosts files (http://en.wikipedia.org/wiki/Hosts_file).  &#8216;localhost.com&#8217; can be replaced with a URL of your choice.</p>
<pre class="brush: plain;">
# Mac:
localhost.com 127.0.0.1
# Windows:
localhost.com 10.0.0.2
</pre>
<p>- <strong>Step 3:</strong> Be sure  that all of your web frameworks (Wordpress, Magento, etc.) are aware of  your new base URL &#8216;localhost.com&#8217; (or whatever you chose in step 2).</p>
<p>- <strong>Step  4:</strong> Access one of your sites from each of your operating system&#8217;s  browser using &#8211; http://localhost.com/<em>sitename</em>/</p>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2010/04/03/test-with-ie-on-your-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Expirator &#8211; jQuery Content Expiration Plugin</title>
		<link>http://dansnetwork.com/2010/03/27/content-expirator-jquery-content-expiration-plugin/</link>
		<comments>http://dansnetwork.com/2010/03/27/content-expirator-jquery-content-expiration-plugin/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 20:19:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=125</guid>
		<description><![CDATA[Content Expirator is a jQuery utility plugin that provides an easy way to give DOM elements an expiration date. If the element is found to be expired, its &#8216;display&#8217; parameter is set to &#8216;none&#8217;. A better approach would be to perform this function server side with a server side language, but this is a quick [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://static.dansnetwork.com/img/content_expirator.jpg" class="right" alt="Content Expirator" title="Content Expirator" /><strong>Content Expirator</strong> is a jQuery utility plugin that provides an easy way to give DOM elements an expiration date. If the element is found to be expired, its &#8216;display&#8217; parameter is set to &#8216;none&#8217;. <i>A better approach would be to perform this function server side with a server side language, but this is a quick and easy way to implement it client side.</i></p>
<p><strong>Download:</strong> <a href="http://static.dansnetwork.com/source/jQuery/jquery.content_expirator-0.1.0.js" title="Content Expirator">jquery.content_expirator-0.1.0.js</a></p>
<p>&nbsp;</p>
<p class="clear">Let&#8217;s say your client has given you a flyer to put on their website for an event.</p>
<pre class="brush: xml;">&lt;img src=&quot;easter_flyer_2010.jpg&quot; class=&quot;aligncenter&quot; alt=&quot;Easter Flyer&quot; /&gt;</pre>
<p>After Easter is over, you&#8217;re going to want to take this flyer off of their site. Instead of manually editing the site on the Monday after Easter to take it down, you can give it an expiration date so that it isn&#8217;t displayed after Easter.</p>
<pre class="brush: xml;">&lt;img src=&quot;easter_flyer_2010.jpg&quot; class=&quot;exp-2010-04-04 aligncenter&quot; alt=&quot;Easter Flyer&quot; /&gt;</pre>
<p>The Content Expirator looks for an element containing a class name (must be the first one listed) containing the prefix &#8216;exp&#8217;. When it comes across one, it compares the date (formatted year-month-day) with the current day to decide if the element&#8217;s &#8216;display&#8217; (style) parameter should be set to &#8216;none&#8217;.</p>
<p>Calling The Function:</p>
<p>default:</p>
<pre class="brush: jscript;">$(document).ready(function(){
    jQuery.contentExpirator();
});
// looks for -&gt; 'exp-year-month-day'</pre>
<p>custom prefix:</p>
<pre class="brush: jscript;">$(document).ready(function(){
    jQuery.contentExpirator('end');
});
// looks for -&gt; 'end-year-month-day'</pre>
<p>Plugin Source:</p>
<pre class="brush: jscript;">(function($){
        $.contentExpirator = function(prfx){
            var pfix = prfx || 'exp';
            $(&quot;[class|=&quot;+pfix+&quot;]&quot;).each(function(){
                var eString = $(this).attr('class').split(' ')[0];
                var dString = eString.split('-');
                var d = new Date(dString[1],dString[2].toString()-1,dString[3]);
                var today = new Date();
                if(d &lt; today){
                    $(this).css('display','none');
                }
            });
        }
    })(jQuery);</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2010/03/27/content-expirator-jquery-content-expiration-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Half To Even With Javascript</title>
		<link>http://dansnetwork.com/2009/11/30/round-half-to-even-with-javascript/</link>
		<comments>http://dansnetwork.com/2009/11/30/round-half-to-even-with-javascript/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:19:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Financial]]></category>
		<category><![CDATA[Web]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=69</guid>
		<description><![CDATA[Updated: v0.2.0 (special thanks to: Donatas (http://baubas.info)
The following script provides an easy way to perform unbiased rounding, convergent rounding, statistician&#8217;s rounding, Dutch rounding, Gaussian rounding, or bankers&#8217; rounding using Javascript.
Examples
var numToRound = 10.005;
document.write(numToRound.rhte(0.01);
result: 10.00
var numToRound = 10.0015;
document.write(numToRound.rhte(0.001);
result: 10.002
var numToRound = 10.00500000001;
document.write(numToRound.rhte(0.01);
result: 10.01
var numToRound = 1005001;
document.write(numToRound.rhte(10000);
result: 1010000&#160;
/*
	Round Half To Even (rhte) extends the 'Number' and 'String' [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Updated: v0.2.0 (special thanks to: Donatas (<a href="http://baubas.info">http://baubas.info</a>)</strong></p>
<p>The following script provides an easy way to perform unbiased rounding, convergent rounding, statistician&#8217;s rounding, Dutch rounding, Gaussian rounding, or bankers&#8217; rounding using Javascript.</p>
<p><span style="text-decoration: underline;">Examples</span></p>
<p><em>var numToRound = 10.005;<br />
document.write(numToRound.rhte(0.01);<br />
result: <span style="text-decoration: underline;">10.00</span></em></p>
<p><strong>var numToRound = 10.0015;<br />
document.write(numToRound.rhte(0.001);<br />
result: <span style="text-decoration: underline;">10.002</span></strong></p>
<p><em>var numToRound = 10.00500000001;<br />
document.write(numToRound.rhte(0.01);<br />
result: <span style="text-decoration: underline;">10.01</span></em></p>
<p><strong>var numToRound = 1005001;<br />
document.write(numToRound.rhte(10000);<br />
result: <span style="text-decoration: underline;">1010000</span></strong><br />&nbsp;</p>
<pre class="brush: jscript;">/*
	Round Half To Even (rhte) extends the 'Number' and 'String' objects
	Argument(placeToRound) examples: 0.0001,0.01,1,10,100
	Usage:
		Number.rhte(rounding value)
			(124.34450000).rhte(0.001) - [Result: 124.344]
			(124.34450001).rhte(0.001) - [Result: 124.345]
			(124.34550000).rhte(0.001) - [Result: 124.346]
		String.rhte(rounding value)
			'124.34450000'.rhte(0.001) - [Result: 124.344]
			'124.34450001'.rhte(0.001) - [Result: 124.345]
			'124.34550000'.rhte(0.001) - [Result: 124.346]
*/
function rhte(placeToRound){
	var places = 0;
	var strThis = this.toString();
	var orgPlaces = strThis.split('.').length &gt; 1 ? strThis.split('.')[1].length : 0;
	var pToRnd = (parseFloat(placeToRound)).toFixed(orgPlaces);
	pToRnd &lt; 1 ? places = pToRnd.toString().split('.')[1].length : places = 0;
	var decNum = (parseFloat(this)/pToRnd).toFixed(strThis.length);
	var floor = Math.floor(decNum);
	var dec = (decNum - floor).toFixed(strThis.length);
	parseFloat(this) &gt; 0 ? floor = Math.floor(decNum) : floor = Math.ceil(decNum);
	floor % 2 == 1 ? oddEven = 1 : oddEven = 0;
	if(dec != 0.5){
		return ((Math.round(decNum)) * pToRnd).toFixed(places);
	}
	else{
		if(oddEven == 1){
			return ((floor + 1) * pToRnd).toFixed(places);
		}
		else{
			return (floor * pToRnd).toFixed(places);
		}
	}
}
Number.prototype.rhte = rhte;
String.prototype.rhte = rhte;</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2009/11/30/round-half-to-even-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress postMash Widget</title>
		<link>http://dansnetwork.com/2009/07/21/wordpress-postmash-widget/</link>
		<comments>http://dansnetwork.com/2009/07/21/wordpress-postmash-widget/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 21:57:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=56</guid>
		<description><![CDATA[I really like the postMash plugin for Wordpress. It allows you to drag and drop your posts into any order. This is great when using posts as events. You can put them into the order that they&#8217;ll occur rather than the order that you posted them. The only problem is that the Recent Posts widget [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I really like the <a href="http://joelstarnes.co.uk/blog/postMash/">postMash</a> plugin for Wordpress. It allows you to drag and drop your posts into any order. This is great when using posts as events. You can put them into the order that they&#8217;ll occur rather than the order that you posted them. The only problem is that the Recent Posts widget won&#8217;t match your post order once you&#8217;ve re-ordered them.</p>
<p style="text-align: left;">Here I&#8217;ve modified the Recent Posts widget (file: /wp-includes/<strong>default-widgets.php</strong>) so that it&#8217;ll work with this plugin.</p>
<p>
Insert the following code after line #545 (<em>$r = new WP_Query(array(&#8217;showposts&#8217; =>&#8230;</em>)(WP ver-2.8)</p>
<pre class="brush: php;">
$r-&gt;set('orderby', 'menu_order');
$r-&gt;set('order', 'ASC');
$r-&gt;get_posts();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2009/07/21/wordpress-postmash-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Classes &#8211; An Object Oriented Approach</title>
		<link>http://dansnetwork.com/2009/04/14/jquery-classes-object-oriented-approach/</link>
		<comments>http://dansnetwork.com/2009/04/14/jquery-classes-object-oriented-approach/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 04:40:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[plugins]]></category>
		<guid isPermaLink="false">http://dansnetwork.com/?p=33</guid>
		<description><![CDATA[MooTools has been my framework of choice for the past couple of years. I&#8217;ve worked my way up to using Classes for most of my projects and really liked using the OOP approach. For the past couple of projects, I started using Wordpress as my CMS and every time ended up using jQuery. I was [...]]]></description>
			<content:encoded><![CDATA[<p>MooTools has been my framework of choice for the past couple of years. I&#8217;ve worked my way up to using <a title="MooTools Classes" href="http://mootools.net/docs/Class/Class">Classes</a> for most of my projects and really liked using the OOP approach. For the past couple of projects, I started using Wordpress as my CMS and every time ended up using jQuery. I was disappointed to find out that it didn&#8217;t have the native Class library that MooTools did. Fortunately there are a couple of plugins available to assist with this task:</p>
<p>- A plugin that adds class functionality to jQuery: <a title="jQuery-Klass" href="http://code.google.com/p/jquery-klass/">jQuery-Klass</a></p>
<p>- John Resig himself wrote this library/plugin: <a title="Classy Query" href="http://ejohn.org/blog/classy-query/">Classy Query</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2009/04/14/jquery-classes-object-oriented-approach/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New BBC Radio 1 RTSP Stream Format</title>
		<link>http://dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/</link>
		<comments>http://dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 16:24:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[radio1]]></category>
		<category><![CDATA[rip]]></category>
		<category><![CDATA[rtsp]]></category>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/</guid>
		<description><![CDATA[Every week or two I rip some new music from Radio 1 for my IPod Nano w/RockBox firmware (had to throw that in). It looks like they&#8217;ve changed the stream URL format. They used to use the DJ&#8217;s name in the URL, but now they are using the day of week and show time. Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Every week or two I rip some new music from Radio 1 for my IPod Nano w/RockBox firmware (had to throw that in). It looks like they&#8217;ve changed the stream URL format. They used to use the DJ&#8217;s name in the URL, but now they are using the day of week and show time. Here&#8217;s a couple examples.</p>
<pre class="brush: jscript;">
Pete Tong:
rtsp://rmv8.bbc.net.uk:554/radio1coyopa/radio_1_-_friday_1900.ra
Fabio and Grooverider:
rtsp://rmv8.bbc.net.uk:554/radio1coyopa/radio_1_-_sunday_0100.ra
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2009/02/14/new-bbc-radio-1-rtsp-stream-format/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JavaScript ISO8601/RFC3339 Date Parser</title>
		<link>http://dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/</link>
		<comments>http://dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 03:26:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[iso8601]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/</guid>
		<description><![CDATA[Updated (bug fix): 2-11-09
In need of a JavaScript function that would parse an ISO8601 compliant date, I came across an attempt (http://delete.me.uk/2005/03/iso8601.html) and rewrote it (because I&#8217;m all about reinventing the wheel). My function extends the Date object and allows you to pass in an ISO8601 date (2008-11-01T20:39:57.78-06:00). The function will then return the Date. [...]]]></description>
			<content:encoded><![CDATA[<p>Updated (bug fix): 2-11-09</p>
<p>In need of a JavaScript function that would parse an ISO8601 compliant date, I came across an attempt (<a href="http://delete.me.uk/2005/03/iso8601.html" title="iso8601">http://delete.me.uk/2005/03/iso8601.html</a>) and rewrote it (because I&#8217;m all about reinventing the wheel). My function extends the Date object and allows you to pass in an ISO8601 date (<strong>2008-11-01T20:39:57.78-06:00</strong>). The function will then return the Date. In the date string argument the dashes and colons are optional. The decimal point for milliseconds is mandatory (although specifying milliseconds isn&#8217;t). If a timezone offset is specified, the &#8216;+&#8217; or &#8216;-&#8217; sign must be included. This function should also work with iCalendar(RFC2445) formatted dates. If a the date string doesn&#8217;t match the format, there will be a final attempt to parse it with the built in Date.parse() method.</p>
<p>Code:</p>
<pre class="brush: jscript;">
Date.prototype.setISO8601 = function(dString){
var regexp = /(\d\d\d\d)(-)?(\d\d)(-)?(\d\d)(T)?(\d\d)(:)?(\d\d)(:)?(\d\d)(\.\d+)?(Z|([+-])(\d\d)(:)?(\d\d))/;
if (dString.toString().match(new RegExp(regexp))) {
var d = dString.match(new RegExp(regexp));
var offset = 0;
this.setUTCDate(1);
this.setUTCFullYear(parseInt(d[1],10));
this.setUTCMonth(parseInt(d[3],10) - 1);
this.setUTCDate(parseInt(d[5],10));
this.setUTCHours(parseInt(d[7],10));
this.setUTCMinutes(parseInt(d[9],10));
this.setUTCSeconds(parseInt(d[11],10));
if (d[12])
this.setUTCMilliseconds(parseFloat(d[12]) * 1000);
else
this.setUTCMilliseconds(0);
if (d[13] != 'Z') {
offset = (d[15] * 60) + parseInt(d[17],10);
offset *= ((d[14] == '-') ? -1 : 1);
this.setTime(this.getTime() - offset * 60 * 1000);
}
}
else {
this.setTime(Date.parse(dString));
}
return this;
};
</pre>
<p>Usage:</p>
<pre class="brush: jscript;">
var today = new Date();
today.setISO8601('2008-12-19T16:39:57.67Z');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2008/11/01/javascript-iso8601rfc3339-date-parser/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MooTools Events Calendar &#8211; Web Embeddable Javascript Calendar</title>
		<link>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/</link>
		<comments>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 02:06:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/</guid>
		<description><![CDATA[This is the official release of the unofficial MooTools Events Calendar. It is an embeddable web calendar that was built using the MooTools JavaScript framework. Currently, it is still under development, but may be sufficient for your needs. Check out the project page here: MooTools Events Calendar
-
v0.3.0 (August 5, 2009)
Accepts events that span across multiple [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://dansnetwork.com/mootools/images/mooECal_150.jpg" border="0" alt="Month View" hspace="10" vspace="5" width="150" height="81" align="left" />This is the official release of the unofficial MooTools Events Calendar. It is an embeddable web calendar that was built using the MooTools JavaScript framework. Currently, it is still under development, but may be sufficient for your needs. Check out the project page here: <a title="MooTools Events Calendar" href="http://dansnetwork.com/mootools/events-calendar/">MooTools Events Calendar</a></p>
<p>-</p>
<p><strong><span style="text-decoration: underline;">v0.3.0 (August 5, 2009)<br />
</span></strong></p>
<ul>
<li>Accepts events that span across multiple days</li>
<li>MooTools v1.2.3 required.</li>
</ul>
<p><strong><span style="text-decoration: underline;">v0.2.2 (April 11, 2009)<br />
</span></strong></p>
<ul>
<li>Fixed a rendering problem for people outside of the U.S.</li>
<li>Added the option for weeks to start on Monday</li>
</ul>
<p><strong><span style="text-decoration: underline;">v0.2.1 (Feb 9, 2009)<br />
</span></strong></p>
<ul>
<li>bug fix &#8211; usage error with parseInt(). Events wouldn&#8217;t load on the 8th and 9th of a month.</li>
<li>HTML allowed in events. This allows for events to link elsewhere.</li>
</ul>
<p><strong><span style="text-decoration: underline;">v0.2.0 (Feb 1, 2009) </span></strong></p>
<ul>
<li>uses plug-ins or direct loading through the constructor for events</li>
<li>uses iCal/ISO 8601 dates/times for event input</li>
<li>different style sheets can be used for 3 different sized calendars</li>
</ul>
<p><span style="text-decoration: underline;"><strong>v0.1.0 (Oct 3, 2008) </strong></span></p>
<ul>
<li>month, week, and day views</li>
<li>tool tips for month view events (using Tips)</li>
<li>scrolling day events for month view (using Scroller)</li>
<li>events loaded manually or possibly through a JSON feed</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2008/10/03/mootools-events-calendar-web-embeddable-javascript-calendar/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Javascript Date Object &#8211; Adding and Subtracting Months</title>
		<link>http://dansnetwork.com/2008/09/18/javascript-date-object-adding-and-subtracting-months/</link>
		<comments>http://dansnetwork.com/2008/09/18/javascript-date-object-adding-and-subtracting-months/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 12:05:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[extending the DOM]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://blog.dansnetwork.com/2008/09/18/javascript-date-object-adding-and-subtracting-months/</guid>
		<description><![CDATA[There is a slight problem with the Javascript Date() Object when trying to advance to the next month or go back to the previous month. For example, if your date is set to October 31, 2008 and you add one month, you&#8217;d probably expect the new date to be November 30, 2008 because November 31st [...]]]></description>
			<content:encoded><![CDATA[<p>There is a slight problem with the Javascript Date() Object when trying to advance to the next month or go back to the previous month. For example, if your date is set to October 31, 2008 and you add one month, you&#8217;d probably expect the new date to be November 30, 2008 because November 31st doesn&#8217;t exist. This, however, isn&#8217;t the case. Javascript automatically advances your Date object to December 1st. This functionality is very useful in most situations(i.e. adding days to a date, determining the number of days in a month or if it&#8217;s a leap year), but not for adding/subtracting months. I&#8217;ve put together some functions below that extend the Date() object: <strong>nextMonth()</strong> and <strong>prevMonth()</strong> <em>See the example below for their usage and please feel free to use these in your applications.</em></p>
<p>Extends the Date Object:</p>
<pre class="brush: jscript;">
function prevMonth(){
var thisMonth = this.getMonth();
this.setMonth(thisMonth-1);
if(this.getMonth() != thisMonth-1 &amp;&amp; (this.getMonth() != 11 || (thisMonth == 11 &amp;&amp; this.getDate() == 1)))
this.setDate(0);
}
function nextMonth(){
var thisMonth = this.getMonth();
this.setMonth(thisMonth+1);
if(this.getMonth() != thisMonth+1 &amp;&amp; this.getMonth() != 0)
this.setDate(0);
}
Date.prototype.nextMonth = nextMonth;
Date.prototype.prevMonth = prevMonth;
</pre>
<p>Example of Usage:</p>
<pre class="brush: jscript;">
function getPrevMonth(){
var today = new Date(2008,9,31); //set &quot;today&quot; to October 31, 2008
today.prevMonth(); //show one month earlier -&gt; September 30, 2008 (instead of September 31, 2008 which converts to October 1st, 2008
}
function getNextMonth(){
var today = new Date(2008,9,31); //set &quot;today&quot; to October 31, 2008
today.nextMonth(); //show one month later -&gt; November 30, 2008 (instead of November 31, 2008 which converts to December 1st, 2008
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dansnetwork.com/2008/09/18/javascript-date-object-adding-and-subtracting-months/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
