<?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>Thijs Lensselink&#039;s Blog &#187; Design</title>
	<atom:link href="http://lenss.nl/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://lenss.nl</link>
	<description>Webdevelopment and stuff...</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:37:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Jquery unrecognized expression error</title>
		<link>http://lenss.nl/2011/08/jquery-unrecognized-expression-error/</link>
		<comments>http://lenss.nl/2011/08/jquery-unrecognized-expression-error/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 10:20:59 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[expression]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1308</guid>
		<description><![CDATA[While doing some front end work yesterday. I got trapped by a jQuery issue. Well not JQuery specific. The issue was actually triggered by some other hand crafted code. Every time i would click a link inside my grid view firebug would throw an error. uncaught exception: Syntax error, unrecognized expression: . And the markup [...]]]></description>
			<content:encoded><![CDATA[<p>While doing some front end work yesterday. I got trapped by a <a href="http://jquery.com/">jQuery</a> issue. Well not JQuery specific. The issue was actually triggered by some other hand crafted code. Every time i would click a link inside my grid view firebug would throw an error.</p>
<blockquote><p>uncaught exception: Syntax error, unrecognized expression: .</p></blockquote>
<p>And the markup that triggered the error was</p>
<pre name="code" class="html">
<a href="" class="zipDownload"><span class="icon_zipSmall"></span></a>
</pre>
<p>Nothing wrong there right? And it actually took my quite some time to figure this one out. It would be nice to have a tool that can tell you there are multiple click events assigned to a element? But for now it was just some manual searching and testing.</p>
<p>The issue was caused by an other snippet of Javascript code inside another .js file. This piece of code attached a click event to every div inside a grid td. Which may be a bit to greedy.</p>
<pre name="code" class="javascript">
$('.admin .gridbg tr td span').click(function() {
</pre>
<p>And my link was in a nested td inside the grid. And also contained a span tag. So it was actually firing off two click events. From which one failed. Fixing it after that was easy. Either make the first click binding less greedy. Or change the markup of my second grid. I choose the last one.</p>
<pre name="code" class="html">
<a href="http://lenss.nl" class="zipDownload icon_zipSmall"></a>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/08/jquery-unrecognized-expression-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New generation elePHPants arrived!!</title>
		<link>http://lenss.nl/2011/01/new-generation-elephpants-arrived/</link>
		<comments>http://lenss.nl/2011/01/new-generation-elephpants-arrived/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 10:28:30 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[elePHPant]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=1034</guid>
		<description><![CDATA[Yesterday i got a message that the new generation of elePHPants are available for bulk pre-order. I am very happy the elephpant.com site is finally up and running. For the past two years i have been shipping a lot of these blue guys all across the world. No need for me to do that any [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday i got a message that the new generation of elePHPants are available for bulk pre-order. I am very happy the <a href="http://elephpant.com/">elephpant.com</a> site is finally up and running. For the past two years i have been shipping a lot of these blue guys all across the world. No need for me to do that any more. </p>
<p>A big thanks for this furry blue creature goes out to:</p>
<p><a href="http://www.elroubio.net/naissance_elephpant.php" target="_blank">Vincent Pontier</a><br />
<a href="http://www.nexen.net/" target="_blank">Damien Seguy</a><br />
<a href="http://blog.hello-design.fr/" target="_blank">Christophe Villeneuve</a><br />
<a href="http://cesarodas.com/" target="_blank">Cesar Rodas</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2011/01/new-generation-elephpants-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Community Spirit T-Shirt Design Competition</title>
		<link>http://lenss.nl/2010/08/php-community-spirit-t-shirt-design-competition/</link>
		<comments>http://lenss.nl/2010/08/php-community-spirit-t-shirt-design-competition/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 12:02:22 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Contest]]></category>
		<category><![CDATA[Spirit]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=775</guid>
		<description><![CDATA[I entered a design for the PHP Community Spirit T-Shirt Design Competition. And it got approved today. It&#8217;s a simple design that uses the PHP logo colors and font. If you like it you can vote for it by following the design below.]]></description>
			<content:encoded><![CDATA[<p>I entered a design for the PHP Community <a href="http://php-spirit.strutta.com/" target="_blank">Spirit T-Shirt Design Competition</a>. And it got approved today. It&#8217;s a simple design that uses the PHP logo colors and font. If you like it you can vote for it by following the design below.</p>
<p><a href="http://php-spirit.strutta.com/entries/72596" title="View full size"><img src="http://www.strutta.com/image-cacher/f:640:360/aHR0cDovL3VwbG9hZHMuZmlsZXMuc3RydXR0YS5jb20vZW50cnkvMTU0NTk5Ni8xMjgxNzczMjQx" align="center" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2010/08/php-community-spirit-t-shirt-design-competition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new look for lenss.nl</title>
		<link>http://lenss.nl/2010/04/a-new-look-for-lenss-nl/</link>
		<comments>http://lenss.nl/2010/04/a-new-look-for-lenss-nl/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 19:17:30 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[/home]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=729</guid>
		<description><![CDATA[This long Easter weekend gave me some time to create a new theme for this blog. So after a day of work this is the result. I was a bit tired of the dark unreadable format. At the moment i am still tweaking here and there but it looks fine!]]></description>
			<content:encoded><![CDATA[<p>This long Easter weekend gave me some time to create a new theme for this blog. So after a day of work this is the result. I was a bit tired of the dark unreadable format. At the moment i am still tweaking here and there but it looks fine!</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2010/04/a-new-look-for-lenss-nl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple versions of Internet Explorer on one machine</title>
		<link>http://lenss.nl/2008/06/multiple-versions-of-internet-explorer-on-one-machine/</link>
		<comments>http://lenss.nl/2008/06/multiple-versions-of-internet-explorer-on-one-machine/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 09:54:52 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Internet explorer]]></category>

		<guid isPermaLink="false">http://we.designandco.de/?p=14</guid>
		<description><![CDATA[When designing pages for multiple browsers. It&#8217;s pretty much a pain in the ass to get things looking similar cross all browsers. There are many Javascript libraries to help and ease the pain. But it doesn&#8217;t solve all. And hoping people will stop using IE 6 also doesn&#8217;t really help. So we are stuck in [...]]]></description>
			<content:encoded><![CDATA[<p>When designing pages for multiple browsers. It&#8217;s pretty much a pain in the ass to get things looking similar cross all browsers. There are many Javascript libraries to help and ease the pain. But it doesn&#8217;t solve all. And hoping people will stop using IE 6 also doesn&#8217;t really help. So we are stuck in getting things work in all those quirky browsers. So a developer / designer probably has multiple browsers installed. On my dev box i only use Firefox.</p>
<p>But when i have to build a design. I need to check al those browsers. So i have Firefox, Opera and Internet Explorer installed. The problem with internet explorer is that you can&#8217;t run multiple versions on the same machine. Well at least not without a long hacking session. To solve this problem most of the time i used something like Virtual Machine or Virtual Desktop. The problem is that applications like that eat memory. And there is always the minor annoyances with losing focus on my <a href="http://www.zend.com/en/products/studio/" target="_blank">IDE</a> because the VM window is still active.</p>
<p>Some time ago. My coworker Bart send a link to a tool called <a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank">IETester</a>. This nice little (24mb) tool let&#8217;s you run multiple versions of Internet explorer on one machine. It&#8217;s possible to test pages in version 5.5 and up. even the upcomming (still in beta) version 8 is supported. At the time of writing it is still in alpha stage. But it works great. I did have some unexplainable crashes. And there are some known issue&#8217;s like:</p>
<ul>
<li>When resizing, the content may disappear. I am working to correct it on the next version.</li>
<li>The Previous/Next buttons are not working properly</li>
<li>Focus is not working properly</li>
<li>Java applets are not working</li>
<li>Flash is not working on <span class="wikiword">IE6</span> instance.</li>
</ul>
<p>Besides that it does what it&#8217;s build for. A nice tool to add to your arsenal.</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2008/06/multiple-versions-of-internet-explorer-on-one-machine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Missing Gem for webdesign</title>
		<link>http://lenss.nl/2008/06/missing-gem-for-webdesign/</link>
		<comments>http://lenss.nl/2008/06/missing-gem-for-webdesign/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 09:35:46 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://we.designandco.de/?p=3</guid>
		<description><![CDATA[Lately i&#8217;ve been working on a project. And one of the requirements is that the user interface works from IE 6 and up. Now i have to admit that it&#8217;s been a while since i did CSS. And forgot what a pain it is to get things working cross browser. There is always those little [...]]]></description>
			<content:encoded><![CDATA[<p>Lately i&#8217;ve been working on a project. And one of the requirements is that the user interface works from IE 6 and up. Now i have to admit that it&#8217;s been a while since i did <a href="http://www.w3.org/Style/CSS/" target="_blank">CSS</a>. And forgot what a pain it is to get things working cross browser. There is always those little irritating IE 6 bugs that double your working time because you either need to fix a bug. Or because you need to create a different stylesheet for a certain browser.</p>
<p>So when i hit the <a href="http://www.positioniseverything.net/explorer/threepxtest.html" target="_blank">3 pixel gap</a> bug in IE 6 again. I wanted to start and create a javascript based fix. But first did a google search. To see of nobody had the same genius idea. And low and behold. Somebody did. I found this great little Gem ie7-js It&#8217;s a Javascript library created by <a title="Dean Edwards" href="http://dean.edwards.name/" target="_blank">Dean Edwards</a>. For a lot of things their already were fixes floating around the web. But this has it all. It fixes the <abbr title="Portable Network Graphics (format)">PNG</abbr> alpha transparency bug in IE 5.5 and 6.0. Makes sure the :hover element is not only usable on &lt;a&gt; elements. And a whole lot more. The new IE8-js version is even more complete. And adds advanced CSS selectors and properties.</p>
<p>Using it is as simple as including this in the header section of your (X)HTML:</p>
<pre class="prettyprint"><a id="IE8.js">&lt;!--[if lt IE 8]&gt;
&lt;script src="IE8.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;![endif]--&gt;
</a></pre>
<p>*demo <a href="http://ie7-js.googlecode.com/svn/test/index.html">http://ie7-js.googlecode.com/svn/test/index.html</a></p>
<p>*site <a href="http://code.google.com/p/ie7-js/" target="_blank">http://code.google.com/p/ie7-js/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2008/06/missing-gem-for-webdesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
