<?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>eDesign.nl &#187; Projects</title>
	<atom:link href="http://www.edesign.nl/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edesign.nl</link>
	<description>Thoughts and concepts on software development</description>
	<lastBuildDate>Fri, 08 Apr 2011 13:35:29 +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>Decoration aid</title>
		<link>http://www.edesign.nl/2010/08/03/decoration-aid/</link>
		<comments>http://www.edesign.nl/2010/08/03/decoration-aid/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 14:36:28 +0000</pubDate>
		<dc:creator>Jurgen</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.edesign.nl/?p=783</guid>
		<description><![CDATA[When it comes to designing websites choosing what colors to use is one of the first steps. Nowadays online applications often let users personalize the look and feel of the site by offering a way to customize the colors the website wears. JavaScript and HTML can be used effectively to this end. A problem is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.edesign.nl/wp-content/uploads/2010/08/Runge_Farbenkugel3.jpg"><img class="alignleft size-thumbnail wp-image-791" title="Runge Farbenkugel" src="http://www.edesign.nl/wp-content/uploads/2010/08/Runge_Farbenkugel3-150x150.jpg" alt="" width="150" height="150" /></a>When it comes to designing websites choosing what colors to use is one of the first steps. Nowadays online applications often let users personalize the look and feel of the site by offering a way to customize the colors the website wears. JavaScript and HTML can be used effectively to this end. A problem is arising for component developers using JavaScript: what framework to use? There is <a href="http://mootools.net/" target="_blank">MooTools</a>, <a href="http://www.prototypejs.org/" target="_blank">ProtoType</a>, <a href="http://developer.yahoo.com/yui/" target="_blank">YUI library</a>, <a href="http://jquery.com/" target="_blank">jQuery</a>, etc, etc&#8230; This is the reason I developed a standalone <a href="http://www.edesign.nl/colorpicker/" target="_self">color picker</a>. It also works with every JavaScript framework, as it does not depend on one or interferes with one. It is one single .js file, no extra images, css, javascript or whatsoever.</p>
<p><span id="more-783"></span></p>
<p>Using it is easy. Basic usage has tree steps.</p>
<ol>
<li>Include the colorpicker.js in the &lt;head&gt; of the HTML file.</li>
<li>Add the class &#8216;colorpicker&#8217; to the &lt;input&gt; tag you use in a form for the color to choose.</li>
<li>On document load, initialize the color picker with: ColorPicker.init();</li>
</ol>
<p>It is as simple as that. Example:</p>
<pre>&lt;hmtl&gt;</pre>
<pre> &lt;head&gt;</pre>
<pre>  &lt;title&gt;ColorPicker example&lt;/title&gt;</pre>
<pre>  &lt;script type="text/javascript" src="colorpicker.js" /&gt;</pre>
<pre> &lt;/head&gt;</pre>
<pre> &lt;body onload="ColorPicker.run();"&gt;</pre>
<pre>  &lt;form&gt;</pre>
<pre>   Choose a color: &lt;input type="text" name="color" class="colorpicker" /&gt;</pre>
<pre>   &lt;input type="submit" /&gt;</pre>
<pre>  &lt;/form&gt;</pre>
<pre> &lt;/body&gt;</pre>
<pre>&lt;/html&gt;</pre>
<p>Multiple pickers can be added by inserting more &lt;input&gt; tags with the classname &#8216;colorpicker&#8217; which the standard ColorPicker.init() method all transforms into color pickers.</p>
<p>The manual way to initialize color pickers is by calling:</p>
<pre>new ColorPicker(element);</pre>
<p>You&#8217;ll need to repeat that line for every color picker you have if you don&#8217;t want to use ColorPicker.init().</p>
<h2>Customizing</h2>
<p>The look and feel of the color picker can be modified by adding an configuration hash table as argument to the init() function. This way you can change the colors, borders and language to your needs. For instance, in Dutch the word &#8216;Cancel&#8217; means &#8216;Annuleren&#8217;. So if I want a color picker on a Dutch website I would change the init() call to:</p>
<pre>ColorPicker.init({'language': {'cancel': 'Annuleren'}})</pre>
<p>This way you can set parts of the configuration (e.g. only the word &#8216;cancel&#8217;) or the entire configuration by extending the hash table.</p>
<p><a href="http://www.edesign.nl/wp-content/uploads/2010/08/Capture.png"><img class="alignnone size-full wp-image-803" title="Color Picker" src="http://www.edesign.nl/wp-content/uploads/2010/08/Capture.png" alt="" width="385" height="386" /></a></p>
<h2>Download</h2>
<p>You can get the latste version of the ColorPicker from <a href="http://projects.edesign.nl/colorpicker/latest/colorpicker.js" target="_blank">http://projects.edesign.nl/colorpicker/latest/colorpicker.js</a>. The project page is available at <a href="http://projects.edesign.nl/colorpicker/" target="_blank">http://projects.edesign.nl/colorpicker/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edesign.nl/2010/08/03/decoration-aid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ratings, Ranks and Scores</title>
		<link>http://www.edesign.nl/2009/04/09/ratings-ranks-and-scores/</link>
		<comments>http://www.edesign.nl/2009/04/09/ratings-ranks-and-scores/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 07:34:54 +0000</pubDate>
		<dc:creator>Jurgen</dc:creator>
				<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://www.edesign.nl/?p=137</guid>
		<description><![CDATA[Recovered from the ancient spelunks of about two years ago, the somewhat popular Rater is back. When this rating widget was first released, it soon got attention from all over the world. Now, after the eDesign server crash, this JavaScript rating control is reinstated.
Rater 2.0 can be used to have your website visitors assign scores [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-123" href="http://www.edesign.nl/rater/rater2/"><img class="alignleft size-thumbnail wp-image-123" title="Rater 2.0" src="http://www.edesign.nl/wp-content/uploads/2009/04/rater2-150x150.png" alt="Rater 2.0" width="150" height="150" /></a>Recovered from the ancient spelunks of about two years ago, the somewhat popular <a href="http://www.edesign.nl/rater/" target="_self">Rater</a> is back. When this rating widget was first released, it soon got <a href="http://www.daniel-skinner.co.uk/starbox-rating-stars-for-prototype/18/11/2007" target="_blank">attention</a> from <a href="http://www.skuare.net/2008/02/rater.html" target="_blank">all over the world</a>. Now, after the eDesign server crash, this JavaScript rating control is reinstated.</p>
<p><a href="http://www.edesign.nl/rater/" target="_self">Rater 2.0</a> can be used to have your website visitors assign scores to subjects in nice intuitive way. You then will be able to rank subjects by popularity, quality or anything you make the rater about. You probably have seen more of these rating widgets. When watching a video on <a href="http://www.youtube.com/" target="_blank">Youtube</a> for instance you can assign <em>&#8220;stars&#8221;</em> to it to rate the video. You can check out the <a href="http://projects.edesign.nl/rater/rater.html" target="_blank">example page of Rater 2.0</a> to see the diversity in its appearance and functional possibilities. Custom configurations can be made using the <a href="http://projects.edesign.nl/rater/api.html" target="_blank">Rater 2.0 API page</a>.</p>
<p>Currently Rater 2.0 is a <a href="http://prototypejs.org/" target="_blank">Prototype</a> based control, optionally with <a href="http://script.aculo.us/" target="_blank">Scriptaculous</a>. As the web is evolving, so should eDesign. Therefor <a href="http://mootools.net/" target="_blank">MooTools</a> and <a href="http://jquery.com/" target="_blank">jQuery</a> versions of Rater are expected by the end of May 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edesign.nl/2009/04/09/ratings-ranks-and-scores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

