<?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>xfinx.nl</title>
	<atom:link href="http://www.xfinx.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xfinx.nl</link>
	<description>html, css, javascript, foto&#039;s</description>
	<lastBuildDate>Wed, 25 Apr 2012 10:06:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Removing the stubborn compatibility view icon</title>
		<link>http://www.xfinx.nl/2012/04/25/removing-the-stubborn-compatibility-view-icon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=removing-the-stubborn-compatibility-view-icon</link>
		<comments>http://www.xfinx.nl/2012/04/25/removing-the-stubborn-compatibility-view-icon/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 09:38:41 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=600</guid>
		<description><![CDATA[Yesterday someone I know complained that the layout of our site (leadingcourses.com) was broken in Internet Explorer 9. Of course my own IE was showing no problems until I was playing with the compatibility view. The button is so close &#8230; <a href="http://www.xfinx.nl/2012/04/25/removing-the-stubborn-compatibility-view-icon/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday someone I know complained that the layout of our site (leadingcourses.com) was broken in Internet Explorer 9.</p>
<p>Of course my own IE was showing no problems until I was playing with the compatibility view.</p>
<p><a href="http://www.xfinx.nl/2012/04/25/removing-the-stubborn-compatibility-view-icon/compat-view/" rel="attachment wp-att-601"><img class="aligncenter size-thumbnail wp-image-601" title="compat-view" src="http://www.xfinx.nl/wp-content/uploads/2012/04/compat-view-e1335346479141-150x31.png" alt="" width="150" height="31" /></a></p>
<p>The button is so close to the refresh button, it happens more than once people click it by accident, breaking the fine layout of a site to something IE7 alike</p>
<p>I was reading some blogs and found that everything was in place already to hide the icon.<br />
But it was still there.<br />
There was no way to get rid of the compatibility view icon. It just would not go away..</p>
<p>Until I remembered I was using the following html tag:</p>
<pre>&lt;!DOCTYPE html&gt;
 &lt;!--[if gt IE 8]&gt;&lt;!--&gt;&lt;html lang="en"&gt;&lt;!--&lt;![endif]--&gt;
 &lt;!--[if IE 7]&gt;&lt;html lang="en" class="ie7"&gt; &lt;![endif]--&gt;
 &lt;!--[if IE 8]&gt;&lt;html lang="en" class="ie8"&gt; &lt;![endif]--&gt;
 &lt;head&gt;
 ...
 &lt;title&gt;...&lt;/title&gt;
 &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/&gt;</pre>
<p>This is very handy as you just say</p>
<pre>.ie7 header {
   background-color: #000;
 }
 .ie8 header {
   background-color: #f00;
 }
 ...</pre>
<p>So I have to replace this by doing:</p>
<pre> header {
   background-color: #f00\9; /* IE8 and lower*/
   *background-color: #000; /* IE7 and lower*/
 }
 ...</pre>
<p>Reducing the html to</p>
<pre>&lt;!DOCTYPE html&gt;
 &lt;html lang="en"&gt;
 &lt;head&gt;
 ...
 &lt;title&gt;...&lt;/title&gt;
 &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/&gt;</pre>
<p>This fixed the issue for me, I hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2012/04/25/removing-the-stubborn-compatibility-view-icon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Leadingcourses.com launches widget for search</title>
		<link>http://www.xfinx.nl/2012/01/11/leadingcourses-com-launches-widget-for-search/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=leadingcourses-com-launches-widget-for-search</link>
		<comments>http://www.xfinx.nl/2012/01/11/leadingcourses-com-launches-widget-for-search/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 13:51:43 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=591</guid>
		<description><![CDATA[As of today everybody offer their visitors a quick way to search through more than 7,000 golf courses in europe which are listed on leadingcourses.com. More info can be found on: http://en.leadingcourses.com/i/search-widget/ leadingcourses.com &#160; &#160; &#160; &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>As of today everybody offer their visitors a quick way to search through more than 7,000 golf courses in europe which are listed on leadingcourses.com.</p>
<p>More info can be found on: <a href="http://en.leadingcourses.com/i/search-widget/">http://en.leadingcourses.com/i/search-widget/</a><br />
<a id="lc-widget-search" href="http://en.leadingcourses.com">leadingcourses.com<br />
<script type="text/javascript">// <![CDATA[
 (function(a){if(typeof a.lcWidget==="undefined"){setTimeout(function(){var a=document.createElement("script");a.src="http://www.leadingcourses.com/widget/search-controller.js";a.async=true;document.getElementsByTagName("head")[0].appendChild(a)},5)}})(window)
// ]]&gt;</script><br />
</a><br />
&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2012/01/11/leadingcourses-com-launches-widget-for-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My usage of !important;</title>
		<link>http://www.xfinx.nl/2011/10/31/my-usage-of-important/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-usage-of-important</link>
		<comments>http://www.xfinx.nl/2011/10/31/my-usage-of-important/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:09:26 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=583</guid>
		<description><![CDATA[To be honest, it is only since a short time I actually make use of !important. Most of the time I&#8217;d kick it out of my css directly, but I found some some cases where it actually makes sense! Well properties &#8230; <a href="http://www.xfinx.nl/2011/10/31/my-usage-of-important/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To be honest, it is only since a short time I actually make use of !important. Most of the time I&#8217;d kick it out of my css directly, but I found some some cases where it actually makes sense!</p>
<p>Well properties like !important exist for a reason, well I can actually think of 2.</p>
<ol>
<li>To give people like me a job. (Yes I&#8217;ve actually seen a stylesheet of +1k lines where almost half of the styles where &#8216;infected&#8217; with !important.)</li>
<li>To do create some generic layout.</li>
</ol>
<p>That special thing is something I&#8217;d like to share with you guys.</p>
<p><span id="more-583"></span></p>
<h2>Using !important for saving a lot of lines of code.</h2>
<p>People who know me know that I like clean code. More is less I often say. This is of course not true for classnames, variable names etc.</p>
<h3>Buttons!</h3>
<p>When a button is designed for a site, I alsways check if the button can be made CSS-only. And well, in 99% of the cases it actually is.</p>
<p>Most of the time a designer designs a button to look the same wherever the button is displayed. This is where !important comes in. I use !important to make sure, the color, the font-size, paddings, margins and border stays the same. I&#8217;ll provide a piece of code to clarify myself:</p>
<p>HTML:</p>
<pre>&lt;form&gt;
  &lt;input type="search" placeholder="please enter your searchword"&gt;
  &lt;input type="submit" value="search"/&gt;
  &lt;a href="how does this work?"&gt;&lt;/a&gt;
&lt;/form&gt;
&lt;div&gt;
  &lt;h2&gt;Yes, please tell me more&lt;/h2&gt;
  &lt;p&gt;some text here &lt;a href="/"&gt;some link here&lt;/a&gt;&lt;/p&gt;
  &lt;a href="/important/"&gt;Show me !important!&lt;/a&gt;
&lt;/div&gt;</pre>
<p>CSS:</p>
<pre>/**
 * @description: zone where people can do ...
 */
.zone.tell-me-more a {
  border-bottom: 2px solid #000;
  color: #f30;
  font-size: 1.2em;
  text-decoration: none;
}

/**
 * @description: button specific code
 */
.button {
  border: 1px solid #000;
  background: #f30;
  color: #fff;
}</pre>
<p>You&#8217;ll now see a button which has a 2px border on the bottom and seems to have no text. This sucks of course. What would be possible to do is:</p>
<pre>/**
 * @description button adaptions for tell me more zone
 */
.zone.tell-me-more .button {
  border: 1px solid #000;
  background: #f30;
  color: #fff;
}</pre>
<p>The downside of this is that I have to override this for every time I tend to &#8216;break&#8217; the button. So instead of doing that, I&#8217;ll create a specific place in the css where I put my button styles.</p>
<pre>/**
 * @description: button specific code
 */
.button {
  border: 1px solid #000 !important;
  background: #f30 !important;
  color: #fff !important;
}

/**
 * @description: zone where people can do ...
 */
.zone.tell-me-more a {
  border-bottom: 2px solid #000;
  color: #f30;
  font-size: 1.2em;
  text-decoration: none;
}</pre>
<p>Of course in this small example it does not matter that much, but I&#8217;ve noticed that in large projects it helps a lot. And yes, back-end developers will be more confident when typing html, stuff does not appear funny when they paste some code somewhere else. But this is just a nice side-effect</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2011/10/31/my-usage-of-important/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery datepicker, how to disable one day?</title>
		<link>http://www.xfinx.nl/2011/08/01/jquery-datepicker-how-to-disable-one-day/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-datepicker-how-to-disable-one-day</link>
		<comments>http://www.xfinx.nl/2011/08/01/jquery-datepicker-how-to-disable-one-day/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 20:28:53 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=576</guid>
		<description><![CDATA[Today I needed to disable one day in the jQuery ui datepicker. I did some research, and I found out, it is actually much simpler than I thought. There is something available in the plugin itself ($.datepicker.noWeekends). The actual code &#8230; <a href="http://www.xfinx.nl/2011/08/01/jquery-datepicker-how-to-disable-one-day/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I needed to disable one day in the jQuery ui datepicker. I did some research, and I found out, it is actually much simpler than I thought. There is something available in the plugin itself (<a href="http://docs.jquery.com/UI/Datepicker/noWeekends" target="_blank">$.datepicker.noWeekends</a>).</p>
<p>The actual code I needed is like this:</p>
<pre><span>$('#trigger-datepicker').<strong class="highlight">datepicker</strong>({</span>
<span>        beforeShowDay: function( date ) {</span>
<span> var ignoreDay = 0; // sunday === 0, monday === 1, etc</span>
<span>return [(</span><span>date.getDay()</span><span> != ignoreDay), '']; </span><span> </span><span>} </span><span> });</span></pre>
<p>Enjoy! (I do at least ;-))</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2011/08/01/jquery-datepicker-how-to-disable-one-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preloading an image or sprite and make it load fast</title>
		<link>http://www.xfinx.nl/2011/07/12/preloading-an-image-or-sprite-and-make-it-load-fast/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=preloading-an-image-or-sprite-and-make-it-load-fast</link>
		<comments>http://www.xfinx.nl/2011/07/12/preloading-an-image-or-sprite-and-make-it-load-fast/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 12:54:36 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=540</guid>
		<description><![CDATA[Recently we did a new re-design for leadingcourses.com. One of the goals was to make the site fast. As I am a (freelance, yes, I can be hired ;-) ) front-end developer, I wanted the front-end to be as fast &#8230; <a href="http://www.xfinx.nl/2011/07/12/preloading-an-image-or-sprite-and-make-it-load-fast/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently we did a new re-design for leadingcourses.com. One of the goals was to make the site fast. As I am a (freelance, yes, I can be hired ;-) ) front-end developer, I wanted the front-end to be as fast as possible with as little effort as possible.</p>
<p>I already read a lot of articles written by Steve Souders and Stoyan Stefanov about site speed. A lot of stuff went in my head for that, and now I will just type it out so it is written down.</p>
<p>In this post the steps I took to make our sprite load faster.</p>
<p><span id="more-540"></span></p>
<h2>Steps I took</h2>
<h3>Creating the sprite</h3>
<p><a href="http://www.xfinx.nl/2011/07/12/preloading-an-image-or-sprite-and-make-it-load-fast/lc-sprite/" rel="attachment wp-att-541"><img class="size-thumbnail wp-image-541 alignright" title="lc-sprite" src="http://www.xfinx.nl/wp-content/uploads/2011/07/lc-sprite-150x150.png" alt="" width="150" height="150" /></a>The first thing I did is move all the assets to 1 sprite. To be honest 1/2k more or less I do not consider as an issue as I wanted to do as less effort as possible, but with the best result. I created a sprite (png) and I did not pay attention where to place certain images, as long as it was convenient for me to develop.</p>
<h3>Reducing the size of the png</h3>
<p>There is a lot of metadata and other crap in the image that can be removed quite easily, I was looking into a tool which could handle that. There are several available, but for my sprite, <a href="http://punypng.com/" target="_blank">punypng</a> gave me the best result, smaller and no loss in quality. The weight loss is more than 1 or 2k, which is great of course ;-). So instead of optimising the image and make development a bit harder, I used punypng to make my file smaller.</p>
<h3>Preloading the image.</h3>
<p>So as I told before, I read a lot about site speed, but I had to digg a bit to find <a href="http://tips.freedev.com.ar/en/" target="_blank">the article</a> which explained the solution I also used.</p>
<p>Basically the idea is, add an image with javascript to the head of the document.</p>
<pre>&lt;script&gt;
setTimeout(function(){
    var s = document.createElement('image');
    s.src =  'sprite.png';
    (document.getElementsByTagName('head')[0]).appendChild(s);
},5);
&lt;/script&gt;</pre>
<p>But there is one problem with this. Printing. Yes, and only printing in IE. It seems that when printing a document, yes it actually happens, all &#8216;normal&#8217; elements are shown by default, but the special elements like &lt;script&gt; and &lt;link&gt; are hidden. An image is visible in the print.</p>
<p>This is, of course, something we don&#8217;t want. We all love our trees and our wallet, so I had to figure out what was the issue. So I tried styling the element with CSS from my css-file. For some reason, unknown by me, but maybe known by others, it did not work.</p>
<p>What I then did was adding a style attribute to the element to be created which sets a height to 1px. The reason I do not display: none, is that I do not know what happens with it, does it gets cached? giving height: 0 will trigger antivirus software to scream about the page in some cases, so&#8230; I made it 1px. 1px won&#8217;t be noticed in our case, as the first pixel mainly is transparent.</p>
<h3>Final code</h3>
<pre>&lt;script&gt;
setTimeout(function(){
    var s = document.createElement('image');
    s.src =  'sprite.png';
    s.style.height = 1;
    (document.getElementsByTagName('head')[0]).appendChild(s);
},5);
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2011/07/12/preloading-an-image-or-sprite-and-make-it-load-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pictures of Albania</title>
		<link>http://www.xfinx.nl/2011/06/01/pictures-of-albania/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pictures-of-albania</link>
		<comments>http://www.xfinx.nl/2011/06/01/pictures-of-albania/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 11:57:22 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[Foto's]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=509</guid>
		<description><![CDATA[It has been quiet for a while in this blog. With a reason. At first our lovely baby girl was born. And second I was very busy with the new version of http://www.leadingcourses.com. In April I went to visit Albania &#8230; <a href="http://www.xfinx.nl/2011/06/01/pictures-of-albania/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It has been quiet for a while in this blog. With a reason. At first our lovely baby girl was born. And second I was very busy with the new version of http://www.leadingcourses.com.</p>
<p>In April I went to visit Albania and took some nice pictures. Currently I use my 50mm as a default, with which very nice effects, even for nature can be made.<br />
<span id="more-509"></span><br />

<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_16-15_35_33-0110/' title='2011_04_16-15_35_33-0110'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_16-15_35_33-0110-150x150.jpg" class="attachment-thumbnail" alt="2011_04_16-15_35_33-0110" title="2011_04_16-15_35_33-0110" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_22-13_28_25-0395/' title='2011_04_22-13_28_25-0395'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_22-13_28_25-0395-150x150.jpg" class="attachment-thumbnail" alt="2011_04_22-13_28_25-0395" title="2011_04_22-13_28_25-0395" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_22-13_55_58-0412/' title='2011_04_22-13_55_58-0412'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_22-13_55_58-0412-150x150.jpg" class="attachment-thumbnail" alt="2011_04_22-13_55_58-0412" title="2011_04_22-13_55_58-0412" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_22-13_58_09-0415/' title='2011_04_22-13_58_09-0415'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_22-13_58_09-0415-150x150.jpg" class="attachment-thumbnail" alt="2011_04_22-13_58_09-0415" title="2011_04_22-13_58_09-0415" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-13_26_13-0441/' title='2011_04_23-13_26_13-0441'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-13_26_13-0441-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-13_26_13-0441" title="2011_04_23-13_26_13-0441" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-15_53_53-0457/' title='2011_04_23-15_53_53-0457'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-15_53_53-0457-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-15_53_53-0457" title="2011_04_23-15_53_53-0457" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-15_54_48-0460/' title='2011_04_23-15_54_48-0460'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-15_54_48-0460-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-15_54_48-0460" title="2011_04_23-15_54_48-0460" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-15_55_15-0461/' title='2011_04_23-15_55_15-0461'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-15_55_15-0461-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-15_55_15-0461" title="2011_04_23-15_55_15-0461" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-16_21_57-0469/' title='2011_04_23-16_21_57-0469'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-16_21_57-0469-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-16_21_57-0469" title="2011_04_23-16_21_57-0469" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-16_25_10-0473/' title='2011_04_23-16_25_10-0473'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-16_25_10-0473-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-16_25_10-0473" title="2011_04_23-16_25_10-0473" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_23-16_25_24-0474/' title='2011_04_23-16_25_24-0474'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_23-16_25_24-0474-150x150.jpg" class="attachment-thumbnail" alt="2011_04_23-16_25_24-0474" title="2011_04_23-16_25_24-0474" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-14_41_34-0633/' title='2011_04_27-14_41_34-0633'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-14_41_34-0633-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-14_41_34-0633" title="2011_04_27-14_41_34-0633" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-15_28_10-0635/' title='2011_04_27-15_28_10-0635'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-15_28_10-0635-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-15_28_10-0635" title="2011_04_27-15_28_10-0635" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-15_35_29-0652/' title='2011_04_27-15_35_29-0652'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-15_35_29-0652-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-15_35_29-0652" title="2011_04_27-15_35_29-0652" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-16_52_06-0681/' title='2011_04_27-16_52_06-0681'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-16_52_06-0681-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-16_52_06-0681" title="2011_04_27-16_52_06-0681" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-16_57_54-0684/' title='2011_04_27-16_57_54-0684'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-16_57_54-0684-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-16_57_54-0684" title="2011_04_27-16_57_54-0684" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-16_59_39-0686/' title='2011_04_27-16_59_39-0686'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-16_59_39-0686-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-16_59_39-0686" title="2011_04_27-16_59_39-0686" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-17_02_00-0688/' title='2011_04_27-17_02_00-0688'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-17_02_00-0688-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-17_02_00-0688" title="2011_04_27-17_02_00-0688" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-17_03_20-0690/' title='2011_04_27-17_03_20-0690'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-17_03_20-0690-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-17_03_20-0690" title="2011_04_27-17_03_20-0690" /></a>
<a href='http://www.xfinx.nl/2011/06/01/pictures-of-albania/2011_04_27-17_08_44-0716/' title='2011_04_27-17_08_44-0716'><img width="150" height="150" src="http://www.xfinx.nl/wp-content/uploads/2011/06/2011_04_27-17_08_44-0716-150x150.jpg" class="attachment-thumbnail" alt="2011_04_27-17_08_44-0716" title="2011_04_27-17_08_44-0716" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2011/06/01/pictures-of-albania/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A small horizontal gallery, xfinxgallery</title>
		<link>http://www.xfinx.nl/2011/01/17/a-small-horizontal-gallery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-small-horizontal-gallery</link>
		<comments>http://www.xfinx.nl/2011/01/17/a-small-horizontal-gallery/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 08:24:12 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=472</guid>
		<description><![CDATA[Recently I created a small gallery which enables you to add images, text or whatever and put it in a small (automated) scroller. It is quite easy to use (see below). If you have any feature requests? please let me &#8230; <a href="http://www.xfinx.nl/2011/01/17/a-small-horizontal-gallery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I created a small gallery which enables you to add images, text or whatever and put it in a small (automated) scroller. It is quite easy to use (see below). If you have any feature requests? please let me know :-)</p>
<p>Requirements:<a href="http://www.jquery.com"> jQuery 1.4.4</a></p>
<h2>Version 0.6.1</h2>
<ul>
<li>Removed dependency on certain classname (xg-list)</li>
</ul>
<p>xfinxgallery 0.6.1: <a href="http://www.xfinx.nl/wp-content/uploads/xfinxgallery/xfinxgallery-v0.6.1.js">JS</a> | <a href="../wp-content/uploads/xfinxgallery/xfinxgallery-v0.6.1.css">CSS</a></p>
<h2>Version 0.6</h2>
<ul>
<li>Added automated animation</li>
</ul>
<p>xfinxgallery 0.6: <a href="http://www.xfinx.nl/wp-content/uploads/xfinxgallery/xfinxgallery-v0.6.js">JS</a> | <a href="http://www.xfinx.nl/wp-content/uploads/xfinxgallery/xfinxgallery-v0.6.css">CSS</a></p>
<h2>Version 0.5</h2>
<ul>
<li>Removed empty space at end of list.</li>
<li>Added classname support</li>
<li>Added animationType</li>
<li>Added animationSpeed</li>
<li>Added active/inactive controls</li>
</ul>
<p>xfinxgallery 0.5: <a href="http://www.xfinx.nl/wp-content/uploads/xfinxgallery/xfinxgallery-v0.5.js">JS</a> | <a href="http://www.xfinx.nl/wp-content/uploads/xfinxgallery/xfinxgallery-v0.5.css">CSS</a></p>
<p><span id="more-472"></span><br />
Usage:</p>
<pre>$(function() {
  $('.xfinxgallery').xfinxGallery();
});</pre>
<p>options</p>
<ul>
<li>Recalculate (integer<strong> </strong>default:<strong>false</strong>)<br />
<em>By default no recalculate is done. Does a simple setTimeout to recalculate the width of the inner element</em></li>
<li>activeControls (boolean default:<strong>false</strong>)<br />
<em>Default controls are hidden, except when the width of the inner element exceeds the width of the outer element.</em></li>
<li>innerBox (string (classname) default:<strong>xg-inner</strong>)<br />
<em>By default the classname expected is &#8220;xg-inner&#8221;</em></li>
<li>innerElement (string (classname) default:<strong>xg-inner-element</strong>)<br />
<em>By default the classname expected is &#8220;xg-inner-element&#8221;</em></li>
<li>animationSpeed (integer default: <strong>500</strong>)<em><br />
The moving speed of the elements within the gallery</em></li>
<li>animationType (jQuery&#8217;s animation type default: <strong>swing</strong>)<em> </em></li>
<li>autoAnimation <em>(</em>boolean default: <strong>false</strong><em>)<br />
auto animates step by step. After using a control, the animation is stopped (see autoAnimateRestartTime)<br />
</em></li>
<li>autoAnimateRestartTime (integer default: <strong>10000</strong>)<br />
<em>setting the value to -1 will disable the restart of auto-animation</em>.</li>
<li>autoAnimationInterval (integer default: <strong>1000</strong>)<br />
<em>moving speed of the element.</em></li>
</ul>
<div class="xfinxgallery xg-list">
<ul class="xg-inner">
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1606-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1625-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1614-150x150.jpg" alt="" /></li>
<li class="xg-inner-element"><img src="http://www.xfinx.nl/wp-content/uploads/2010/05/IMG_1608-150x150.jpg" alt="" /></li>
</ul>
</div>
<p><script type="text/javascript">// <![CDATA[
   $(function() { $('.xfinxgallery').xfinxGallery(); });
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2011/01/17/a-small-horizontal-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links?</title>
		<link>http://www.xfinx.nl/2010/12/10/links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=links</link>
		<comments>http://www.xfinx.nl/2010/12/10/links/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 09:06:50 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=464</guid>
		<description><![CDATA[Ok, yesterday I realised that I get too much links to keep track of. As most of those links are pretty useful to a lot of people I know I&#8217;ll try put them all here. Enjoy! 10 Top Tips For &#8230; <a href="http://www.xfinx.nl/2010/12/10/links/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, yesterday I realised that I get too much links to keep track of. As most of those links are pretty useful to a lot of people I know I&#8217;ll try put them all here.</p>
<p>Enjoy!</p>
<p><span id="more-464"></span></p>
<ul>
<li><strong>10 Top Tips For Really Ramping up Retweets</strong>
<p>http://searchenginewatch.com/3641614</li>
<li><strong>How quickly do my pages load?</strong>
<p>http://www.panalysis.com/tracking-webpage-load-times.php</li>
<li><strong>Why separate mobile websites are hurting the internet</strong>
<p>http://adactio.com/journal/1716/</li>
<li><strong>The complete guide to duplicate content</strong>
<p>http://yoast.com/complete-guide-duplicate-content/</li>
<li><strong>Best jQuery Plugins of 2010</strong>
<p>http://webdesignledger.com/resources/best-jquery-plugins-of-2010</li>
<li><strong>jQuery Plugin Template</strong>
<p>http://css-tricks.com/snippets/jquery/jquery-plugin-template/</li>
<li><strong>WOFF (Web Open Font Format)</strong>
<p>http://webfonts.info/wiki/index.php?title=WOFF</li>
<li><strong>Happy customers through an improved checkout</strong>
<p>http://boagworld.com/usability/improved-forms/</li>
<li><strong>jQueryPlugins</strong>
<p>http://www.jqueryplugins.com/</li>
<li><strong>A re-introduction to JavaScript</strong>
<p>https://developer.mozilla.org/en/a_re-introduction_to_javascript</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2010/12/10/links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banners getting better</title>
		<link>http://www.xfinx.nl/2010/12/06/banners-getting-better/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=banners-getting-better</link>
		<comments>http://www.xfinx.nl/2010/12/06/banners-getting-better/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 14:36:28 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=456</guid>
		<description><![CDATA[After talking with some people I found that the banner-agencies actually understand the problem. They actually also have &#8216;a solution&#8217;. The solution is not perfect as some of the functionalities you get when implementing a banner are lost, but at &#8230; <a href="http://www.xfinx.nl/2010/12/06/banners-getting-better/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After talking with some people I found that the banner-agencies actually understand the problem. They actually also have &#8216;a solution&#8217;. The solution is not perfect as some of the functionalities you get when implementing a banner are lost, but at least it does not block your site.</p>
<p>So you are pretty anxious to get the recipe right?</p>
<p><span id="more-456"></span></p>
<p>Well, you basically need the following:</p>
<ol>
<li>empty iframe</li>
<li>a file which holds the banner javascript</li>
<li>some javascript</li>
</ol>
<p>Ok, first the empty iframe, that is something that looks like:</p>
<pre>&lt;iframe id="rectangle" width="300" height="250" frameborder="0" scrolling="no" /&gt;</pre>
<p>The second thing you need is a file which holds the banner tag, let&#8217;s call it rectangle.html</p>
<pre>rectangle.html
Add the banner tag in this html</pre>
<p>Well, now the mixing starts.<br />
I use jQuery most of the time, so the solution I present is a solution using jQuery. Basically you have to set a src on the iframe when the site is loaded. You can use onload, but I prefer onDocumentReady. The code looks like this:</p>
<pre>$(function() {
    $('#rectangle').attr({src:"/rectangle.html"});
});</pre>
<p>very simple huh? (<a href="http://www.xfinx.nl/my-tests/banner-solution/">see an example</a>)Well there are some downsides.</p>
<ol>
<li>Layers and expandables are not possible, they stick in the iframe.</li>
<li>The tags won&#8217;t communicate with each other.
<ol>
<li>banners can&#8217;t be served in an order.</li>
<li>They can&#8217;t control if competing banners are on the same page or not.</li>
<li>They can&#8217;t add &#8216;roadblocks&#8217;, which are banners of 1 brand on the entire page.</li>
</ol>
</li>
</ol>
<p>Well, this is quite sad, as point 1 means that your banner-portfolio drops, as does the money with it. And point 2 also has the same effect.</p>
<p>Well, it is great if you don&#8217;t care about these issues, but some people do, especially business. But for point1 there is a solution.</p>
<p>If the banner agency uses DART, you can add the file: DartIframe.html in your web-root. This makes sure they can access the parent of the iframe, which enables them to serve expandables and layers.</p>
<p>I still have some questions which are unanswered, when I hear about that, I&#8217;ll update again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2010/12/06/banners-getting-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banners getting bad</title>
		<link>http://www.xfinx.nl/2010/07/14/banners-getting-bad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=banners-getting-bad</link>
		<comments>http://www.xfinx.nl/2010/07/14/banners-getting-bad/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 10:36:08 +0000</pubDate>
		<dc:creator>Bjorn Boonen</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[bad practice]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.xfinx.nl/?p=356</guid>
		<description><![CDATA[To be honest, I think banners are a good thing. Having banners on the site is an obvious way to earn money for the content you show for free. That is the main reason why I do not have an &#8230; <a href="http://www.xfinx.nl/2010/07/14/banners-getting-bad/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To be honest, I think banners are a good thing. Having banners on the site is an obvious way to earn money for the content you show for free.<br />
That is the main reason why I do not have an ad blocker.</p>
<p>But the most recent developments in the Netherlands concern me. Banners tend to be bigger, heavier and worse, taking over control!</p>
<p>Today I saw a Sony banner. This banner break parts of the User Interface, slows down the site, causes scrolling problems in some browsers and of course, causes a lot of frustration with visitors due to all this.<br />
<span id="more-356"></span></p>
<h2>Slow</h2>
<p>Recently it just happens too often that I have to wait for a banner to load until a site is rendered. How can we solve this?</p>
<p>There are some possibilities, for instance, load the banner in an iframe. But banner agencies do not like this. They want to track the visitor, pushing the banner in an iframe will make sure they can&#8217;t. And as they decide the terms, this is not going to happen.</p>
<p>So there are 2 solutions left, the first: no banners at all. No.<br />
The second: Lazy loading.</p>
<p>I saw a nice post on how to achieve <a href="http://friendlybit.com/js/lazy-loading-asyncronous-javascript/" target="_blank">lazy loading</a>. This might be something which you can use to load the scripts banners use. I already asked a banner agency for input. <span style="text-decoration: line-through;">At the moment they&#8217;ll react, I will update this post.</span> At this moment they are having some troubles understanding that banners can load slow.</p>
<p>&#8220;<em>Als het lang duurt voordat een banner ingeladen word, dan ligt dit niet aan de doubleclick server. De servers zijn snel genoeg en het materiaal is al meestal sneller ingeladen dan de site zelf.</em>&#8221;</p>
<p>In English: <em>When it takes a long time until a banner is loaded, this is not because of the doubleclick server. The servers are fast enough and the material is loaded faster than the site does in moest of the cases</em></p>
<p>I closely watched some sites and it seems like some banners are not blocking your content to load all the time, this means the advertising business is also taking steps to overcome loading problems.<br />
One of those steps is offering a banner of only a few KB at first, and load the big fancy movie banner in that banner. So the total size of the banner will be big, but the initial load is small.</p>
<p>Next to the loading issue, there is another issue: UI.</p>
<h2>User Interface (UI)</h2>
<p>In the early days, we had a full banner (468&#215;60) which was one of the biggest banners on your site. We all know them, and you&#8217;ll hardly come across one in the wild anymore.</p>
<p>One of the most popular banners nowadays are rectangles (300&#215;250). But there is a new one coming, this one is nearly side wide and pushes your site down. In some cases, your site ends up below the fold.</p>
<p>Another issue which is becoming a bigger problem, is the problems with z-indexing. Modern website do not use pop ups anymore, they now use an element which floats over the content. This is a growing problem as banner designers do not know which z-indexes are used for what on which site. Most of the time a site does not use extensive layering, but now and then, they are, and it will only become more and more.</p>
<p>So what are advertising agencies going to do to fix those issues? At this moment the only thing you can do is file a complaint and the banner will be removed / fixed.</p>
<h2>Future</h2>
<p>What is the future of banners? Well I said before, they are getting bigger. Sanoma recently had a banner which was covering an entire site.<br />
Finland is one of the countries where banners / advertisements are everywhere! Sites tend to get bigger and more intrusive banners.<br />
When will this end?</p>
<h3>Something with a foot and shooting in it?</h3>
<p>Because people tend to get blind for banners, bigger banners where made. People also got blind for those, so even bigger banners are designed now, which are also very intrusive. The last part will get on the nerves of a lot of people. So a people start to program banner blockers because they are annoyed by those banners. The next step is that a lot of people will install a banner blocker.<br />
The result?</p>
<p>(1) Advertising agencies will try to work around the banner blockers. -&gt; (2) Banner blockers will get better. -&gt; (3) (4)More people will install banner blockers. -&gt; Banners will be more intrusive -&gt; (5) Banner blockers will get better -&gt;  go to (1)</p>
<p>The result? Revenue loss!</p>
<p>.</p>
<p>Strange enough this post also reminds me, I should make a design for my site : /.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xfinx.nl/2010/07/14/banners-getting-bad/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

