<?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>Crispijn Verkade</title>
	<atom:link href="http://www.crispijnverkade.nl/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.crispijnverkade.nl/blog</link>
	<description>Some WordPress plugins in focus...</description>
	<lastBuildDate>Sun, 02 May 2010 10:05:24 +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>Started with my job at Inventum</title>
		<link>http://www.crispijnverkade.nl/blog/started-with-my-job-at-inventum</link>
		<comments>http://www.crispijnverkade.nl/blog/started-with-my-job-at-inventum#comments</comments>
		<pubDate>Sun, 04 Apr 2010 20:15:25 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Job]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=1162</guid>
		<description><![CDATA[Last week I&#8217;ve had my first two days by Inventum, a Dutch company that makes products in the field of sustainable hot water. I&#8217;m really stoked to begin with my new job as a member of the Research &#38; Development team and I&#8217;m very happy that Inventum sees a good team member in me.
Read more [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I&#8217;ve had my first two days by <a href="http://www.inventum.nl/" target="_blank">Inventum</a>, a Dutch company that makes products in the field of sustainable hot water. I&#8217;m really stoked to begin with my new job as a member of the Research &amp; Development team and I&#8217;m very happy that Inventum sees a good team member in me.</p>
<p>Read more about my professional career on LinkedIn.</p>
<p><a href="http://nl.linkedin.com/in/crispijnverkade"><img class="alignnone size-full wp-image-1163" title="linkedin_button" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/04/linkedin_button.gif" alt="" width="146" height="86" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/started-with-my-job-at-inventum/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official release of WordPress Easy Archive!</title>
		<link>http://www.crispijnverkade.nl/blog/official-release-of-wordpress-easy-archive</link>
		<comments>http://www.crispijnverkade.nl/blog/official-release-of-wordpress-easy-archive#comments</comments>
		<pubDate>Sat, 27 Feb 2010 01:29:29 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Easy Archive]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=1150</guid>
		<description><![CDATA[Today I&#8217;ve finished my new plugin, WordPress Easy Archive. This plugin will generate an image based archive for your WordPress blog. I&#8217;ve tried to make the plugin as useful and fast as possible so I hope it it exceeds your expectations.
Words are not enough to describe this plugin so just take a look at the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-21.13.00-1.png"><img class="alignright size-medium wp-image-1151" title="Screen-shot-2010-02-22-at-21.13.00-" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-21.13.00-1-300x184.png" alt="" width="300" height="184" /></a>Today I&#8217;ve finished my new plugin, WordPress Easy Archive. This plugin will generate an image based archive for your WordPress blog. I&#8217;ve tried to make the plugin as useful and fast as possible so I hope it it exceeds your expectations.</p>
<p>Words are not enough to describe this plugin so just take a look at the <a href="http://www.crispijnverkade.nl/blog/wordpress-easy-archive">WordPress Easy Archive plugin page</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/official-release-of-wordpress-easy-archive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Easy Contents</title>
		<link>http://www.crispijnverkade.nl/blog/wordpress-easy-contents</link>
		<comments>http://www.crispijnverkade.nl/blog/wordpress-easy-contents#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:47:42 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Contstnts list]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=303</guid>
		<description><![CDATA[WordPress Easy Contents will create an table of contents for your WordPress Blog posts.
For example
You write a post with several h2 headings. When I&#8217;ve written a long post with a lot of h2 headings I always added manually a short table of contents with anchor links to the headings at the top of the post. [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress Easy Contents will create an table of contents for your WordPress Blog posts.</p>
<p><strong>For example</strong><br />
You write a post with several h2 headings. When I&#8217;ve written a long post with a lot of h2 headings I always added manually a short table of contents with anchor links to the headings at the top of the post. A long time consuming process and I&#8217;d rather do it automatically: with WordPress Easy Contents.</p>
<h2>Example</h2>
<p>This is the example of the table this plugin:</p>
<p><!--contents--></p>
<h2>Screenshots</h2>
<p><img class="alignnone size-full wp-image-48" title="screenshot-1" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2009/03/screenshot-1.jpg" alt="screenshot-1" width="550" height="433" /></p>
<h2>Installation</h2>
<p><a href="http://wordpress.org/extend/plugins/wp-easyindex/" target="_blank">Download the zip file</a> from the WordPress plugin directory.</p>
<ul>
<li>Upload the folder wp-easy-contents to the &#8216;/wp-content/plugins/&#8217; directory</li>
<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress</li>
<li>Navigate to Manage &gt; Option &gt; Easy Contents to configure plugin output.</li>
</ul>
<h2>Usage</h2>
<p>It&#8217;s very simple. Add a &lt;!- -contents- -&gt; tag to your post in the html view port. Please remove all the spaces!</p>
<h2>Upgrading</h2>
<ul>
<li>Delete the old plugin folder &#8216;wp-easy-contents&#8217;.</li>
<li>Upload the folder wp-easy-maps to the &#8216;/wp-content/plugins/&#8217; directory</li>
<li>Activate the plugin through the &#8216;Plugins&#8217; menu in WordPress</li>
<li>Navigate to Manage &gt; Option &gt; Easy Contents to configure plugin output.</li>
</ul>
<h2>Frequently Asked Questions</h2>
<p><strong>Is it possible to modify the style of the table of contents?</strong><br />
Yes of course, change the css file to your own preferences.</p>
<p><strong>Where do I find a change log?</strong><br />
You can find the change log in the <a href="http://crispijnverkade.nl/blog/wordpress-easy-contents#changelog">changelog</a> on this page.</p>
<p><strong>Where do I have to suggest some modifications?</strong><br />
Suggest modifications in the <a href="http://crispijnverkade.nl/blog/wordpress-easy-contents#comments">comments section</a> on this page.</p>
<h2>Known Bugs</h2>
<p>Please notify me about the bugs in the <a href="http://crispijnverkade.nl/blog/wordpress-easy-contents#comments">comments</a>.</p>
<h2>Roadmap</h2>
<p>In this list you can find some features which will be added in the feature.</p>
<ul>
<li>A button in the wysiwyg editor to easily add the table of contents to the post.</li>
<li>Alignment of table per post/page (not by the amount of headings)</li>
<li>Multiple levels in the table of contents</li>
</ul>
<h2>Change log</h2>
<ul>
<li><strong>1.3</strong> Released 27 Feb 2010
<ul>
<li>Minor bug fix for the urls in the table and elements</li>
</ul>
</li>
<li><strong>1.2 </strong>Released 22 Feb 2010
<ul>
<li>File structure fix for the wordpress plugin directory</li>
</ul>
</li>
<li><strong>1.1</strong> Released 6 April 2009
<ul>
<li>Table of contents on posts and single pages visible</li>
</ul>
</li>
<li><strong>1.0</strong> Released 5 April 2009</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/wordpress-easy-contents/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>WordPress plugins updated</title>
		<link>http://www.crispijnverkade.nl/blog/wordpress-plugins-updated</link>
		<comments>http://www.crispijnverkade.nl/blog/wordpress-plugins-updated#comments</comments>
		<pubDate>Wed, 24 Feb 2010 22:39:50 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=324</guid>
		<description><![CDATA[Today I&#8217;ve relaunched the WordPress plugins I&#8217;ve written. I&#8217;ve received a lot of comments that the file structure in the ZIP file was not correct and the plugins were not easy to install but I&#8217;ve fixed it and everything is working fine again and there is some great news too: I&#8217;ve wrote  a couple of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-24-at-23.40.21-.png"><img class="alignright size-medium wp-image-594" title="Screen shot 2010-02-24 at 23.40.21" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-24-at-23.40.21--300x245.png" alt="" width="300" height="245" /></a>Today I&#8217;ve relaunched the <a href="http://wordpress.org/extend/plugins/profile/crispijn">WordPress plugins I&#8217;ve written</a>. I&#8217;ve received a lot of comments that the file structure in the ZIP file was not correct and the plugins were not easy to install but I&#8217;ve fixed it and everything is working fine again and there is some great news too: I&#8217;ve wrote  a couple of new nifty plugins that I&#8217;d like to share in the near future when I was restyling my website. Come back in the near future to check it out!</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/wordpress-plugins-updated/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Easy Archive</title>
		<link>http://www.crispijnverkade.nl/blog/wordpress-easy-archive</link>
		<comments>http://www.crispijnverkade.nl/blog/wordpress-easy-archive#comments</comments>
		<pubDate>Mon, 22 Feb 2010 20:55:21 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=388</guid>
		<description><![CDATA[WordPress Easy Archive will create an image based archive.

How it works
When the archive is loaded all the posts are loaded and screened for images and the first image will be stored and re sized by the settings you&#8217;ve entered. Images are not processed more than once so the server load is minimal. Scroll down to [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress Easy Archive will create an image based archive.<br />
<!--contents--></p>
<h2>How it works</h2>
<p>When the archive is loaded all the posts are loaded and screened for images and the first image will be stored and re sized by the settings you&#8217;ve entered. Images are not processed more than once so the server load is minimal. Scroll down to the <a href="http://crispijnverkade.nl/blog/wordpress-easy-archive#usage">Usage</a> section for more info.</p>
<p>The images are processed by a great class from <a href="http://verot.net" target="_blank">Colin Verot</a>.</p>
<h2>Screenshots</h2>
<p>How the plugin looks like is very depening on your content and layout, that&#8217;s for sure. But the image below will give you an idea what the possibilities are.</p>
<h3>On a page or post</h3>
<p><img class="alignnone size-full wp-image-390" title="Screen shot 2010-02-22 at 21.13.00" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-21.13.00-.png" alt="" width="626" height="385" /></p>
<p>You can find an live Easy Archive on the following websites:</p>
<ul>
<li><a title="Young Dutch Design" href="http://crispijnverkade.nl/blog/archive" target="_blank">Crispijn Verkade</a></li>
<li><a title="Young Dutch Design" href="http://youngdutchdesign.com/archive" target="_blank">Young Dutch Design</a></li>
</ul>
<p>Do you also have WordPress Easy Archive on your website? Let me know and I&#8217;ll post your website on this page.</p>
<h3>Settings</h3>
<p>Modify the settings via the admin panel.</p>
<p><a href="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-02.30.04--e1267234263388.png"><img class="alignnone size-full wp-image-1153" title="Screen shot 2010-02-27 at 02.30.04" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-02.30.04--e1267234263388.png" alt="" width="630" height="392" /></a></p>
<h3>Image modification</h3>
<p>You have four options to modify the images for the archive. Let&#8217;s take a look at the examples and remember: in all cases the image ratio will not be changed.</p>
<ul>
<li><strong>Resize only<br />
</strong>The image will be re-sized to the maximum width<br />
<a href="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/ydd_logo_resized1.jpg"><img class="alignnone size-full wp-image-1032" title="ydd_logo_resized" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/ydd_logo_resized1.jpg" alt="" width="220" height="68" /></a></li>
<li><strong>Resize and fill the image</strong><br />
Resize the image and and fill it up to the max width and height.<br />
<img class="alignnone size-full wp-image-983" title="ydd_logo_resized_filled" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/ydd_logo_resized_filled.jpg" alt="" width="220" height="220" /></li>
<li><strong>Crop the image</strong><br />
Crop the image from the center.<br />
<img class="alignnone size-full wp-image-1082" title="ydd_logo_crop" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/ydd_logo_crop.jpg" alt="" width="220" height="220" /></li>
</ul>
<p>Do you have a suggestion for a image modification? Please let me know in the comments section at the bottom of this page.</p>
<h2>Installation</h2>
<p>Search for the plugin &#8216;WordPress Easy Archive&#8217; via the &#8216;Add New&#8217; tool on the WordPress admin panel. Click Install and the plugin will be installed on your server. After the plugin is installed you&#8217;ve only got to activate the plugin. You&#8217;ll see quick enough how it works. If it doesn&#8217;t work you can follow the step by step installation guide:</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wordpress-easy-archive/" target="_blank">Download the zip file</a> from the WordPress plugin directory.</li>
<li>Upload the folder wordpress-easy-archive to the ‘/wp-content/plugins/’ directory</li>
<li>Activate the plugin through the ‘Plugins’ menu in WordPress</li>
<li>Set the options to your preferences via the WordPress admin panel</li>
</ul>
<h2>Usage</h2>
<p>It’s very simple. Add a &lt;!–-archive–-&gt; tag to your post in the html view port. This tag will be replaced and the archive is shown.</p>
<h2>Upgrading</h2>
<p>New version of WordPress Easy Archive will be released on the WordPress plugin Directory and you&#8217;ll see if there&#8217;s an update in on the plugin buttons in the admin panel. If you don&#8217;t get this message, just download the zip-file from the WordPress plugins directory and follow the manual installation guide. Instead of copying to your server for the first time you&#8217;ll have to delete all the files before you upload the folder wordpress-easy-archive.</p>
<h2>Frequently Asked Questions</h2>
<ul>
<li><strong>How do I change the &#8220;no image&#8221; image?</strong><br />
Make your own image and overwrite the default image in &#8216;<em>wp-content/plugins/wordpress-easy-archive/images/no-image.jpg</em>&#8216;.</li>
<li><strong>How do I modify the style of the archive?</strong><br />
Just modify the plugin settings to ajust the image size and how the image is cropped. If this is not enough for you, just modify the file <em>wp_easy_archive.css</em></li>
<li><strong>The archive page is very slow</strong><br />
It&#8217;s possible the archive has to be generated after you&#8217;ve set up the archive of you&#8217;ve changed some settings. This is only at the first page load. Try again by reloading the page.</li>
<li><strong>Some images are not the right size</strong><br />
Clear the browser cache and relad the page. This will solve the problem</li>
</ul>
<p>If you do have other questions about this plugin just ask them in the comments on the bottom of this page. I&#8217;ll try to answer them via a comment before I&#8217;ll place them in this section.</p>
<h2>Known Bugs</h2>
<p>There are no bugs at the moment. Please notify me of bugs via the comments on this page. I&#8217;ll try to fix them as soon as possible.</p>
<h2>Roadmap</h2>
<ul>
<li>Exclude categories</li>
<li>Exclude posts</li>
</ul>
<h2>Changelog</h2>
<ul>
<li><strong>v1.2 &#8211; 2 may 2010</strong>
<ul>
<li>Updated the file structure</li>
</ul>
</li>
<li><strong>v1.1 &#8211; 27 feb 2010</strong>
<ul>
<li>First official release of WordPress Easy Archive</li>
</ul>
</li>
<li><strong>v1.0 &#8211; 22 feb 2010</strong>
<ul>
<li>Release of the first version</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/wordpress-easy-archive/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>I&#8217;ve bought a new kite!</title>
		<link>http://www.crispijnverkade.nl/blog/ive-bought-a-new-kite</link>
		<comments>http://www.crispijnverkade.nl/blog/ive-bought-a-new-kite#comments</comments>
		<pubDate>Sat, 20 Feb 2010 17:00:08 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Just to mention]]></category>
		<category><![CDATA[Kitesurfing]]></category>
		<category><![CDATA[Light XC]]></category>
		<category><![CDATA[Ozone]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=360</guid>
		<description><![CDATA[Yesterday I&#8217;ve bougth the Ozone Light XC 10 after We&#8217;ve tested it with only three degrees above zero! It was a very cold session but it was worth it! Last year I&#8217;ve added a Light 2 to my kite quiver and I&#8217;m very happy with the qualities of it. Now I&#8217;ve refreshed my old kite, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/41VdLTi2aIL._SL500_.jpg"><img class="alignright size-medium wp-image-427" title="41VdLTi2aIL._SL500_" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/41VdLTi2aIL._SL500_-300x300.jpg" alt="" width="300" height="300" /></a>Yesterday I&#8217;ve bougth the Ozone Light XC 10 after We&#8217;ve tested it with only three degrees above zero! It was a very cold session but it was worth it! Last year I&#8217;ve added a Light 2 to my kite quiver and I&#8217;m very happy with the qualities of it. Now I&#8217;ve refreshed my old kite, the 2007 Waroo 11. See the photo&#8217;s below and check out the Ozone promo movie about the Light XC.</p>
<p><span id="more-360"></span></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5234625&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=1A91BB&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=5234625&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=1A91BB&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/ive-bought-a-new-kite/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mootools 1.2 News Ticker tool: cvNewsTicker</title>
		<link>http://www.crispijnverkade.nl/blog/cvnewsticker</link>
		<comments>http://www.crispijnverkade.nl/blog/cvnewsticker#comments</comments>
		<pubDate>Thu, 18 Feb 2010 21:07:29 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=349</guid>
		<description><![CDATA[During the development of YoungDutchDesign.com I was searching for a Mootool based news ticker script. I&#8217;ve found the great news ticker script from Antonio Lupetti but this one wasn&#8217;t compatible with Mootools 1.2 and all the tips in the comments were not sufficient. So here we are, a fresh build of a simple news ticker: [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-431" title="cvnewsticker" src="http://www.crispijnverkade.nl/blog/wp-content/uploads/2010/02/cvnewsticker.jpg" alt="" width="262" height="223" />During the development of YoungDutchDesign.com I was searching for a Mootool based news ticker script. I&#8217;ve found the great news ticker script from <a href="http://woork.blogspot.com/2008/07/fantastic-news-ticker-newsvine-like.html" target="_blank">Antonio Lupetti</a> but this one wasn&#8217;t compatible with Mootools 1.2 and all the tips in the comments were not sufficient. So here we are, a fresh build of a simple news ticker: The cvNewsTicker class.</p>
<p><a class="example_but demo" href="http://youngdutchdesign.com/examples/cvnewsticker.php">View example</a> <a class="example_but download" href="http://youngdutchdesign.com/examples/js/cvNewsTicker.js">Download file</a></p>
<p><a class="example_but zipfile" href="../downloads/cvNewsTicker_examples.zip">Download now!</a></p>
<p><span id="more-349"></span></p>
<h2>The html</h2>
<pre class="html">
<div class="newsticker">
<ul id="tickerimages">
<li><a href="../solidworks"><img src="../banner_1.jpg" alt="SolidWorks" /></a></li>
<li><a href="../design-sketching"><img src="../banner_2.jpg" alt="Sketching" /></a></li>
<li><a href="../webdesign-basics"><img src="../banner_3.jpg" alt="Webdesign" /></a></li>
</ul>
</div>
</pre>
<p><!--adwords--></p>
<h2>The css</h2>
<pre class="css">.newsticker {
	height: 300px;
	width: 500px;
	display: block;
	overflow: hidden;
	position: relative;
	}

.images {
	height: 270px;
	width: 270px;
	}

img {
	border: none;
	}

.newsticker ul li {
	/*float: left; add the float: left when you prefer a horizontal news ticker*/
	display: block;
	width: 480px;
	padding: 10px;
	font: .8em Georgia, "Times New Roman", Times, serif;
	}

.tickertitle {
	display: block;
	font: bold .9em Georgia, "Times New Roman", Times, serif;
	}

.tickerimg {
	float:left;
	margin: 0px 15px 15px 0px;
	}</pre>
<h2>The javascript</h2>
<pre class="javascript">window.addEvent('domready', function() {
	var news = new cvNewsTicker('tickerimages',{speed:500,delay:5000,direction:'horizontal'});
});</pre>
<h2>Changelog</h2>
<ul>
<li><strong>V1.0.1 – 7 dec 2009</strong>
<ul>
<li>Added a delay when the page is loaded<strong><br />
</strong></li>
</ul>
</li>
<li><strong>V1.0 – 17 apr 2009</strong>
<ul>
<li>First release of the news ticker class</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/cvnewsticker/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World&#8217;s first Javascript/PHP EyeDropper tool</title>
		<link>http://www.crispijnverkade.nl/blog/worlds-first-javascriptphp-eyedropper-tool</link>
		<comments>http://www.crispijnverkade.nl/blog/worlds-first-javascriptphp-eyedropper-tool#comments</comments>
		<pubDate>Thu, 18 Feb 2010 20:42:10 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[cvEyeDropper]]></category>
		<category><![CDATA[Eyedropper]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=344</guid>
		<description><![CDATA[For a new application I&#8217;m working on I&#8217;ve searched the internet for a javascript based eyedropper tool. Fortunately I only found some Java based applications and I&#8217;m not a big fan of those.
So I decided to write my own Eyedropper. Test it and install it on your own website! You can tweak some events so [...]]]></description>
			<content:encoded><![CDATA[<p>For a new application I&#8217;m working on I&#8217;ve searched the internet for a javascript based eyedropper tool. Fortunately I only found some Java based applications and I&#8217;m not a big fan of those.</p>
<p>So I decided to write my own Eyedropper. Test it and install it on your own website! You can tweak some events so it has more functionality.</p>
<p>There is also a Zip file available with a working example. Just upload the files to your folder on your webspace and navigate to it!</p>
<p><a class="example_but demo" href="http://youngdutchdesign.com/examples/moodrop.php">Example</a> <a class="example_but download" href="http://youngdutchdesign.com/examples/js/moodrop.js">Download Class</a> <a class="example_but zipfile" href="http://www.youngdutchdesign.com/downloads/cvMooDrop_examples.zip">Download Zip</a></p>
<p><span id="more-344"></span></p>
<h2>File structure</h2>
<p>The following structure is used in the example and the documentation.</p>
<ul>
<li><strong>images</strong>
<ul>
<li>your_image.jpg</li>
</ul>
</li>
<li><strong>js</strong>
<ul>
<li>cvMooDrop.js</li>
<li>mootools-1.2.js</li>
</ul>
</li>
<li>ajax_moodrop.php</li>
<li>basic.css</li>
<li>cvMooDrop.css</li>
<li>index.php /*This file contains the html for the eyedropper*/</li>
<li>moodrop.php</li>
</ul>
<h2>The html</h2>
<p>The html is really simple. The path to the image is the relative path.</p>
<h2>The css</h2>
<pre class="css">#dropperid {
	float: left;
	padding: 0px;
	width: 551px; //the width of the image
	height: 157px; //the height of the image
	}

#prev {
	float: left;
	width: 80px;
	height: 80px;
	border: 1px #CCC solid;
	}</pre>
<h2>The basic javascript</h2>
<pre class="javascript">window.addEvent('domready', function() {
	var test1 = new moodrop('dropperid',{
		url: 'ajax_moodrop.php',
		prev_id: 'prev'
	});
});</pre>
<p><!--adwords--></p>
<h2>The more advanced javascript</h2>
<pre class="javascript">window.addEvent('domready', function() {
	var test2 = new moodrop('dropperadvanced',{
		url: 'ajax_moodrop.php',
		prev_id: 'prev2',
	});

	var colors = [];

	var addColor = function(c){
		if(colors.contains(c)){
			alert('This color already exists!');
		}else{
			colors.push(c);
			$('colors_field').value = JSON.encode(colors);
			createColor(c);
		}
	}

	var createColor = function(c){
		var box = new Element('span',{	'id': this.hex,
							  			'class': 'box',
										'styles': {
											'background': c,
											'display': 'block',
											'float': 'left',
											'cursor': 'pointer'
											}
										}).inject($('scheme'));
	};

	$('add').addEvent('click',function(a){
		addColor(test2.hex);
	});
});</pre>
<h2>The php (ajax_moodrop.php)</h2>
<p>The AJAX request has several variables in it to get the right pixel, the pixel the dropper is pointing at.</p>
<ul>
<li><strong>image: </strong>the relative path to the image file</li>
<li><strong>n: </strong>the relative top position of the pixel</li>
<li><strong>w: </strong>the relative left position of the pixel</li>
</ul>
<pre class="php">if(isset($_GET['image'])){
	/* select the left lower pixel from the dropperdiv and get the color index */
	$im = imagecreatefromjpeg($_GET['image']);
	$color_index = imagecolorat($im, $_GET['w'], $_GET['n']);

	/* get rid of the temporary image and display the human readable hex color */
	echo '#'.dechex($color_index);
}</pre>
<p>The function imagecreatefrom* can be changed to several functions, depending on the image type you use. In this case I&#8217;ve used a very simple static solution but you can select the correct function by checking the mime type.</p>
<ul>
<li><a href="http://php.net/imagecreatefromjpeg" target="_blank">imagecreatefromjpeg</a></li>
<li><a href="http://php.net/imagecreatefromgif" target="_blank">imagecreatefromgif</a></li>
<li><a href="http://php.net/imagecreatefrompng" target="_blank">imagecreatefrompng</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/worlds-first-javascriptphp-eyedropper-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The HULK</title>
		<link>http://www.crispijnverkade.nl/blog/the-hulk</link>
		<comments>http://www.crispijnverkade.nl/blog/the-hulk#comments</comments>
		<pubDate>Mon, 15 Feb 2010 08:57:57 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[portfolio]]></category>
		<category><![CDATA[HULK]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=322</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/the-hulk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BLOX</title>
		<link>http://www.crispijnverkade.nl/blog/blox</link>
		<comments>http://www.crispijnverkade.nl/blog/blox#comments</comments>
		<pubDate>Mon, 15 Feb 2010 08:55:20 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[portfolio]]></category>
		<category><![CDATA[BLOX]]></category>
		<category><![CDATA[Flower]]></category>

		<guid isPermaLink="false">http://www.crispijnverkade.nl/blog/?p=318</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.crispijnverkade.nl/blog/blox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
