<?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>The JavaScript Blog &#187; Snippets</title>
	<atom:link href="http://thejavascriptblog.com/category/snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://thejavascriptblog.com</link>
	<description>Everything JavaScript</description>
	<lastBuildDate>Thu, 25 Feb 2010 23:05:35 +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>WTFramework &#8211; Detect Which Framework A Site Is Using, The Easy Way</title>
		<link>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/</link>
		<comments>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:20:02 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=71</guid>
		<description><![CDATA[WTFramework Summary
WTFramework is a dead simple, and well designed way to detect which framework a site is using as well as version. Being primarily a JavaScript developer I was always looking through the source to find which framework a certain site was using. Or to see if the developer had done something particularly cool with [...]]]></description>
			<content:encoded><![CDATA[<h2>WTFramework Summary</h2>
<p>WTFramework is a dead simple, and well designed way to detect which framework a site is using as well as version. Being primarily a JavaScript developer I was always looking through the source to find which framework a certain site was using. Or to see if the developer had done something particularly cool with my favorite framework <a href="http://mootools.net" target="_blank">MooTools</a>. </p>
<p>It was developed by <a href="http://twitter.com/oskar">Oskar Krawczyk</a> and is implemented as a bookmark for any A grade browser. You simply drag it into your bookmarks bar and its installed. You can now use it on any site you visit. The notifications are &#8220;Growl&#8221; like and are very well designed. </p>
<p>Kudos to Oskar on this one, a dead simple, but time saving tool.</p>
<h2>Installation</h2>
<ol>
<li><a href="http://nouincolor.com/wtframework/2.0/">Visit The Site</a></li>
<li>Drag the big red icon into your bookmarks.</li>
<li>It is now installed.</li>
</ol>
<h2>Fortunately For Us</h2>
<p>Oskar has a public Git Hub repository for this. So if needs be you can change it to suit your needs.</p>
<h2>Gallery</h2>

<a href='http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/screen-shot-2009-12-29-at-7-15-25-pm/' title='Screen shot 2009-12-29 at 7.15.25 PM'><img width="150" height="150" src="http://thejavascriptblog.com/wp-content/uploads/2009/12/Screen-shot-2009-12-29-at-7.15.25-PM-150x150.png" class="attachment-thumbnail" alt="" title="Screen shot 2009-12-29 at 7.15.25 PM" /></a>
<a href='http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/screen-shot-2009-12-29-at-7-16-01-pm/' title='Screen shot 2009-12-29 at 7.16.01 PM'><img width="150" height="150" src="http://thejavascriptblog.com/wp-content/uploads/2009/12/Screen-shot-2009-12-29-at-7.16.01-PM-150x150.png" class="attachment-thumbnail" alt="" title="Screen shot 2009-12-29 at 7.16.01 PM" /></a>

]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/wtframework-detect-which-framework-a-site-is-using-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Making Every Specified Link Send Via Ajax Using MooTools</title>
		<link>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/</link>
		<comments>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 05:44:24 +0000</pubDate>
		<dc:creator>Merrick Christensen</dc:creator>
				<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://thejavascriptblog.com/?p=67</guid>
		<description><![CDATA[This is a relatively simple concept and is nothing to elaborate but I wanted to share a small piece of code that will take every link with the class of &#8220;ajax&#8221; and access it using AJAX instead of actually going to that page. This using the same Request instance which will keep it optimized and [...]]]></description>
			<content:encoded><![CDATA[<p>This is a relatively simple concept and is nothing to elaborate but I wanted to share a small piece of code that will take every link with the class of &#8220;ajax&#8221; and access it using AJAX instead of actually going to that page. This using the same Request instance which will keep it optimized and manageable. MooTools is going to make this nice and easy on us&#8230;</p>
<h2>Usage</h2>
<h3>JavaScript</h3>
<pre>
var ajax_request = new Request(
{
	onSuccess: function(responseText, responseXML)
	{
		$('message').set('html', responseText);
	}
});

$$('.ajax').each(function(item){
	var url = item.get('href');
	item.addEvent('click', function(event){
		ajax_request.options.url = url;
		ajax_request.send();
		return false;
	});
});
</pre>
<h3>HTML</h3>
<pre>
<a href="ajax.php" class="ajax">Sent Via AJAX</a>
<a href="ajax_alternative.php" class="ajax">Also Sent Via AJAX</a>
<div id="message">I am filled with the results of our AJAX requests.</div>
</pre>
<p>Its incredibly simple so no demo for this. The important concept here is that we are using the same request and pulling the href attribute base on a class selection. So changing something from AJAX to regular is as easy as adding or removing the class &#8220;ajax&#8221;. Pretty cool eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://thejavascriptblog.com/making-every-specified-link-send-via-ajax-using-mootools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
