<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-6469287557839408166</atom:id><lastBuildDate>Mon, 19 Apr 2010 07:10:34 +0000</lastBuildDate><title>Freelance Front-End/Javascript | Creator of Gantt Chart Software Tom'splanner</title><description>Blog and cv of freelance javascript developer Thomas Ummels. Creator of the Gantt Chart software tomsplanner.com</description><link>http://www.tomslab.nl/index.asp</link><managingEditor>noreply@blogger.com (Thomas Ummels)</managingEditor><generator>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-4730616615108624421</guid><pubDate>Fri, 05 Feb 2010 09:52:00 +0000</pubDate><atom:updated>2010-02-05T01:52:37.453-08:00</atom:updated><title>Best practice: Asynchronous Tracking</title><description>Don't you want your users to have to wait until the google analytics code is loaded in your page before they can start working? Well I don't! So that's why I didn't include google analytics on the Tom's Planner tool itself until now. Because it is all about performance with these kind of apps. But I just found out about asynchronous tracking. Check it out: &lt;a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html"&gt;Asynchronous Tracking&lt;/a&gt;. Seems best practice to me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-4730616615108624421?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2010/02/best-practice-asynchronous-tracking.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-1040155352701819247</guid><pubDate>Wed, 27 Jan 2010 21:12:00 +0000</pubDate><atom:updated>2010-01-27T13:12:00.935-08:00</atom:updated><title>Why the iPad is good news for JavaScript developers</title><description>To my surprise the iPad does not support Flash. This means that flash will be less and less of a viable option for public accessible website or webapplications. Which means more work for the JavaScript developers :-) And it is the fun type of work. Writing JavaScript code for flashy applications is a lot of fun and challenging I can tell you from my experience from building Tom's Planner!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-1040155352701819247?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2010/01/why-ipad-is-good-news-for-javascript.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-3196095885889199816</guid><pubDate>Tue, 26 Jan 2010 14:37:00 +0000</pubDate><atom:updated>2010-01-26T06:38:16.420-08:00</atom:updated><title>pushing the limits</title><description>Did you know that IE has a maximum on the possible left offset a html element can have! Somewhere around 1 point 3 million. I didn't know that. Really strange.&lt;br /&gt;&lt;a href="http://tomslab.nl/blogmaterials/test-maxleft.html"&gt;click here for an example&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-3196095885889199816?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2010/01/pushing-limits_26.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-3065874352373623381</guid><pubDate>Tue, 08 Dec 2009 13:53:00 +0000</pubDate><atom:updated>2009-12-08T06:06:07.549-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>magic mouse</category><title>magic mouse</title><description>Something completely unrelated to JavaScript. But related to Development in general: Apple's magic mouse. &lt;br /&gt;&lt;br /&gt;When coding more than once you will find your self scrolling through pages and pages of code. So a good scrolling mechanism has it's benefits. Here enters apple's new magic mouse. I just got one and it is really really good. &lt;br /&gt;&lt;br /&gt;It has a touchpad and to scroll you just have to swipe over it. It senses how hard you want to scroll by measuring the speed of your swipe gesture. This makes it possible to scroll really fast and it also has momentum so your page keeps scrolling although you just swiped once. When you see the part of the code scrolling by on your screen you were looking for just tap your mouse and it stops scrolling. Also you can swipe horizontally so it is a lot easier to handle long lines of code.&lt;br /&gt;&lt;br /&gt;I truly believe that you can speed up your coding significantly by just simply using good hardware. A fast and responsive computer, really big screen, a good set of headphones and from now on a magic mouse from apple for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-3065874352373623381?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2009/12/magic-mouse.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-359900475961907523</guid><pubDate>Fri, 23 Oct 2009 08:08:00 +0000</pubDate><atom:updated>2009-10-23T01:21:23.100-07:00</atom:updated><title>Ext-js good to knows</title><description>I have been working with the Ext-js framework for quite a while now and there are two things that seem counter intuitive (to me) but are good to be aware of:&lt;br /&gt;&lt;br /&gt;1. if you add a component to a container you should call the doLayout method of the container and not the component itself if you want the component to be rendered correctly. If you know how the ext-js framework is set up this totally logically but if you are building an app. it seems really illogical.&lt;br /&gt;&lt;br /&gt;2. If you apply the layout type 'fit' to a component it means the content of the component will fit the component not that the component will fit it's container. &lt;br /&gt;&lt;br /&gt;And if you are just starting with Ext-js spend some time studying the difference between an Ext-js Element (encapsulated dom element) and an Ext-js Component (a purely js object). It will help you to find your way around in the API a lot easier.&lt;br /&gt;&lt;br /&gt;And a last remark: don't be discouraged by the framework in the beginning. I have worked with a couple of different javascript frameworks now (jQuery, Mootools and YUI) and this is by far the one with the hardest learning curve and has the barest documentation. But when applied in the right context Ext-js can be really powerful and worth the effort.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-359900475961907523?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2009/10/ext-js-good-to-knows.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>4</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-5140253725431776931</guid><pubDate>Thu, 21 May 2009 06:36:00 +0000</pubDate><atom:updated>2009-10-08T06:43:26.509-07:00</atom:updated><title>printyourtwitter.com</title><description>&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;Recently I built &lt;a href="http://www.printyourtwitter.com rel="nofollow"/"&gt;printyourtwitter.com&lt;/a&gt;. I built it for fun and because I wanted to print my own tweets . But it turns out that there is a lot of interest for it. Yesterday it was featured on the nerdboytv channel (item starts at 1:45).&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;object height="364" width="445"&gt;&lt;param name="movie" value="http://www.youtube.com/v/PFKmc9CQwHI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;border=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/PFKmc9CQwHI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="364" width="445"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&lt;br /&gt;&lt;br /&gt;From a technological point of view it is interesting to note that this is a 100% clientside app so the infrastructure for this app is minimal. I just serve the 11k of html from my own server and all the js, css and images files are being served from amazon s3 servers. That makes the infrastructure needed for this app really simple and minimal. Which is nice thing if you see what kind of impact it already is making.&lt;br /&gt;&lt;br /&gt;Also mentioned on: &lt;a href="http://computeridee.nl/nieuws.jsp?id=2428760" rel="nofollow"&gt;computeridee.nl&lt;/a&gt;, &lt;a href="http://www.bright.nl/print-your-twitter" rel="nofollow"&gt;bright.nl&lt;/a&gt;, &lt;a href="http://www.dutchcowgirls.nl/online/2246" rel="nofollow"&gt;dutchcowgirls.nl&lt;/a&gt; and &lt;a href="http://pcmweb.nl/artikel.jsp?id=2428778" rel="nofollow"&gt;pcmweb.nl&lt;/a&gt;, &lt;a href="http://jimlyonsobservations.blogspot.com/2009/07/observations-twitter-printing-print.html" rel="nofollow"&gt;jimlyonsobservations.com&lt;/a&gt; and featured on the dutch radio 1 show 'tros radio online' (&lt;a href="http://www.radio-online.nl/archives/archive_2009-m05.php#e1892" rel="nofollow"&gt;last 4 minutes&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;And the latest buzz on &lt;a href="http://search.twitter.com/search?q=+printyourtwitter+-from%3Aprintyourtweets" rel="nofollow"&gt;twitter.com&lt;/a&gt; &lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-5140253725431776931?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2009/05/printyourtwittercom.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>13</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-1497075860238181902</guid><pubDate>Thu, 09 Apr 2009 09:09:00 +0000</pubDate><atom:updated>2009-10-08T06:44:10.204-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>checks</category><category domain='http://www.blogger.com/atom/ns#'>list</category><title>10 Checks Before Launching Your Javascript</title><description>&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Inspired by the the article &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.smashingmagazine.com/2009/04/07/15-essential-checks-before-launching-your-website" rel="nofollow"&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;15 Essential Checks Before Launching Your Website&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; a small list of simple checks to a avoid unnecessary errors when getting your js code in production.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;It does not contain the plain good old best practice rules on how you write your js code but these checks are mainly about code snippets that help you develop and debug your code in a fast and easy way that should not be around in the live version.&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check for console statements (console.log, console.startTime....) &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check for debugger statements&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check your outcommented try catch statements&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check for large outcommented old code fragments. If you are at the stage of going live this might be the time to get rid of it.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;look for fixed url's which might work in the development environment but not on the production server&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;if you are using google maps make sure you have an api key for the live server&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;check for credentials in your comments or code (like usernames and passwords)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;when using javascript libraries or frameworks make sure you include the minified production version and not the fully commented debug version.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;off course the same goes for your own js files&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;and this la&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;st check works for me personal&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;y: check on the "TO DO" string in the js code. When I still need to do some work on a part of the code I always flag it with a //TO DO comment.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;This list is probably far from complete. Anybody any suggestions?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-1497075860238181902?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2009/04/8-essential-checks-before-launching.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-5366264428267203231</guid><pubDate>Wed, 03 Sep 2008 06:12:00 +0000</pubDate><atom:updated>2009-10-08T06:44:53.296-07:00</atom:updated><title>Google chrome's javascript at lightening speed.</title><description>Google just released their own browser &lt;a href="http://www.google.com/chrome" rel="nofollow"&gt;chrome&lt;/a&gt;. It is said to have a javascript with lightening speed. Since the &lt;a href="http://www.tomsplanner.com"&gt;TomsPlanner&lt;/a&gt; code is all about javascript performance I was curious if it would be noticeable. And I can tell you it IS! After testing TomsPlanner for months on IE6 on a five year old laptop while developing, running it in Chrome truly seems at lightening speed. I am really enthusiastic! &lt;br /&gt;&lt;br /&gt;To be honest I don't expect the whole world to ditch IE and switch to Chrome instantly. People are just to stuck in their own ways (otherwise everybody would be using Opera right now). In that perspective the arrival of Chrome could be seen as a nuisance. It just means another browser to test against when developing websites and applications. And IE6 on my five year old laptop stays my main testing setup. But with also Firefox 3.1 coming up the benchmark for javascript engine speed for the IE team is getting higher and higher which is a really good thing for the javascript language in general. So exiting times coming up!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-5366264428267203231?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/09/google-chromes-javascript-at-lightening.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-2090088415897988463</guid><pubDate>Thu, 24 Jul 2008 07:31:00 +0000</pubDate><atom:updated>2008-09-17T01:19:37.083-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>performance</category><category domain='http://www.blogger.com/atom/ns#'>js</category><category domain='http://www.blogger.com/atom/ns#'>javascript</category><title>Some performance gain almost for free!</title><description>I am currently writing tomsplanner.com (you can check it out at tomsplanner.com). &lt;br /&gt;&lt;br /&gt;And I can tell you developing RIA's is mainly about three things: performance performance and performance. &lt;br /&gt;&lt;br /&gt;Today I stumbled upon this trick: http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/&lt;br /&gt;&lt;br /&gt;I didn't know it. What an easy way to gain some performance! It is almost as if you get some for free :o). It made my day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-2090088415897988463?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/07/some-performance-gain-almost-for-free.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-9192968743892685758</guid><pubDate>Fri, 04 Jul 2008 09:02:00 +0000</pubDate><atom:updated>2008-07-22T10:39:54.512-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>ff3</category><category domain='http://www.blogger.com/atom/ns#'>drag</category><category domain='http://www.blogger.com/atom/ns#'>default</category><category domain='http://www.blogger.com/atom/ns#'>Firefox 3</category><category domain='http://www.blogger.com/atom/ns#'>drop</category><category domain='http://www.blogger.com/atom/ns#'>cancel</category><category domain='http://www.blogger.com/atom/ns#'>avoid</category><title>Avoid default drag and drop behaviour in FF3</title><description>Fierfox 3 offers the user the possibility to drag and drop images around on the pages by default. Which is nice.... I guess. But this behaviour can mix with drag and drop routines written in javascript. So how to cancel the default drag &amp; drop in Firefox 3?&lt;br /&gt;&lt;br /&gt;document.addEventListener("draggesture", function(event){event.stopPropagation()},true);&lt;br /&gt;&lt;br /&gt;or if you are using jquery: $(document).bind("draggesture",function(){return false})&lt;br /&gt;&lt;br /&gt;I haven't seen any mention of this on the net so far so I thought is was worth mentioning it.&lt;br /&gt;&lt;br /&gt;(For IE use $(document).bind("drag",function(){return false}))&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-9192968743892685758?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/07/avoid-default-drag-and-drop-behaviour.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>5</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-4032900424539389384</guid><pubDate>Tue, 03 Jun 2008 10:03:00 +0000</pubDate><atom:updated>2008-06-03T03:09:11.875-07:00</atom:updated><title>search the most recent pages with goolge</title><description>On google.com you can now search on dates! See: http://www.google.com/advanced_search. So you now can get the most recent pages on a subject. That is so handy when looking for information on for example javascript. I was just searching for info on cookies and then you get 5 year old information about netscape. And that happens a lot. Note that the dutch version of google doesn't have this option yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-4032900424539389384?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/06/search-most-recent-pages-with-goolge.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-4916264473282120882</guid><pubDate>Wed, 07 May 2008 07:09:00 +0000</pubDate><atom:updated>2008-05-07T00:57:44.608-07:00</atom:updated><title>a really old tric</title><description>I sometimes still use the javascript pseudo protocol in the adressbar of the browser. For instance when diagnosing a javascript related problem when working on a computer with no decent javascript debugger installed. &lt;br /&gt;&lt;br /&gt;Until now I always used to put my javascript code inside an alert to avoid being redirected to a new page. But using alert makes it impossible to debug focus and blur events properly. So I searched for an alternative and found out that you can also use void() for this.&lt;br /&gt;&lt;br /&gt;So instead of "javascript:alert(put your js code here)" you can do "javascript:void(put your js code here)"&lt;br /&gt;&lt;br /&gt;I know it is javascript at it's simplest and it turns out to be standard practice when writing bookmarklets but I didn't know it and haven't seen anyone using it so I thought it was worth mentioning it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-4916264473282120882?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/05/really-old-tric.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-432192482201796262</guid><pubDate>Mon, 28 Apr 2008 18:27:00 +0000</pubDate><atom:updated>2008-04-30T03:51:27.449-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>firefox</category><category domain='http://www.blogger.com/atom/ns#'>IE6</category><title>(5) 4 reasons that make IE a better browser than Firefox (from the webapplication developers perspective)</title><description>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;- &lt;span style="text-decoration:line-through"&gt;the unbeforunload event gives you the chance to warn the user when he/she leaves the page without saving his/her work.&lt;/span&gt;&lt;br /&gt;- the contenteditable property of almost every element.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;- direct access to the clipboard so you can actually implement a real cross page/document copy and paste functionality&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;- you can programaticaly open the 'save as' and the 'open' dialogs of the browser for saving data on the harddisk (later this year I will write a more detailed post on this).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;- printing! Printing is sloppy in all browsers but IE7 (I don't know how IE8 is doing). &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;When you print &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;pages they seem to get rerendered by a totally different process then the process that renders the page for the screen. And this separate rendering process is full of nasty little bugs in every well known browser but IE7. With IE7 you actually get the feeling that it prints what you see on the screen.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;Note: t&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;hese are just 5 reasons that make IE a better browser than firefox. I am not saying that IE is a better browser than FF. There are a ton of reasons why you might consider firefox to be a better browser then IE. But to me it always seems possible to work around these bugs and quirks of IE with a bit of creative programing. But the above mentioned features can't be implemented by any amount of javascript programming in FF and that leaves you with... ehm nothing or at least less features for the FF user.&lt;br /&gt;&lt;br /&gt;PS i know you can work around the lack of the contenteditable property in FF by using iframes and designmode... but editable content seems to me in the current time such a trivial option that I can not believe it is not implemented in FF yet.&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-432192482201796262?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2008/04/4-reasons-that-make-ie-better-browser.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-8629139916403834300</guid><pubDate>Thu, 20 Dec 2007 18:42:00 +0000</pubDate><atom:updated>2007-12-20T10:46:05.583-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>tools</category><title>handy</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;for the bookmarks &lt;a href="http://www.sprymedia.co.uk/article/Design"&gt;http://www.sprymedia.co.uk/article/Design&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;A utility for in-page grid layout, measurement and alignment, in the form of a JavaScript bookmarklet.&lt;/span&gt; &lt;span style="font-family:verdana;font-size:85%;"&gt;So zero-install :o)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-8629139916403834300?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/12/handy.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-562972897248237363</guid><pubDate>Tue, 04 Dec 2007 19:54:00 +0000</pubDate><atom:updated>2007-12-04T12:17:14.828-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>performance</category><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>json</category><title>performance json</title><description>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Transformation of a big extensive javascript object to a json string can be slow. Working on tomsplanner I found that the generic functions to do such a thing get to slow in IE6. So I wrote a custom stringifier for the tomsplanner json-schema.&lt;br /&gt;&lt;br /&gt;The result is that instead of 2413 milliseconds (using json2.js from json.org) it now takes 70 milliseconds to stringify a standard tomsplanner javascript model in IE6. In Firefox it takes 17 miliseconds instead of 1392 miliseconds.&lt;br /&gt;&lt;br /&gt;Conclusion: if you work with big javascript objects you want to pass via json and performance is an issue then it really pays off to build your custom stringifier (especially because it is pretty straight forward and easy to do). Note: in tomsplanner the json will be checked for code injection so in my custom version I keep the security checks to a minimum.&lt;br /&gt;&lt;br /&gt;The test page can be found &lt;a href="http://tpm-webapplicaties.nl/blogmaterials/jsonperformance.html"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-562972897248237363?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/12/performance-json.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-2832645450194636936</guid><pubDate>Tue, 04 Dec 2007 19:45:00 +0000</pubDate><atom:updated>2007-12-04T11:52:48.697-08:00</atom:updated><title>conflict jquery json part 2</title><description>&lt;span style=";font-family:verdana;font-size:85%;"  &gt;In my previous &lt;a href="http://www.tpm-webapplicaties.nl/2007/08/jquery-and-json-conflict.html"&gt;post&lt;/a&gt; i mentioned that json and jquery conflict with each other. Well Douglas Crockford recently changed his version of json.js in json2.js and doesn't use the augmenting of variable types anymore.  So now they live in peace next to each other in one page. I advice you to use http://www.json.org/json2.js instead of my solution in the previous post. Douglas's version works perfectly.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-2832645450194636936?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/12/conflict-jquery-json-part-2.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-2899116594395247650</guid><pubDate>Fri, 31 Aug 2007 17:45:00 +0000</pubDate><atom:updated>2007-09-03T03:50:27.845-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>freelancer</category><category domain='http://www.blogger.com/atom/ns#'>jquery</category><category domain='http://www.blogger.com/atom/ns#'>bug</category><category domain='http://www.blogger.com/atom/ns#'>json</category><category domain='http://www.blogger.com/atom/ns#'>conflict</category><title>Conflict jQuery and JSON</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;Douglas Crockfords json.js and John Resigs jquey.js conflict with each other. This is caused by a flaw in Javascript that is described in this article: &lt;/span&gt;&lt;a href="http://yuiblog.com/blog/2006/09/26/for-in-intrigue/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://yuiblog.com/blog/2006/09/26/for-in-intrigue/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;So what do you do... Both libraries are really well written. and I haven't found any decent alternatives for Douglas json or Resigs jquery. So correct json or correct jQuery? &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Of course the for..in loops in jQuery should be fixed. But fixing json.js is a more pragmatic aproach of the problem. Fixing json.js is a lot easier then fixing jQuery and more importantly json.js will have probably far less new versions and releases as jQuery. So the effort to stay up to date will be a lot smaller.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;The adjusted version can be downloaded: &lt;a href="http://www.tpm-webapplicaties.nl/uploads/json-noaugmenting.js"&gt;json-noaugmenting.js&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-2899116594395247650?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/08/jquery-and-json-conflict.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-2287563700740457663</guid><pubDate>Tue, 14 Aug 2007 11:32:00 +0000</pubDate><atom:updated>2007-08-14T08:25:51.031-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>drag</category><category domain='http://www.blogger.com/atom/ns#'>dynamically</category><category domain='http://www.blogger.com/atom/ns#'>text</category><category domain='http://www.blogger.com/atom/ns#'>zoom</category><category domain='http://www.blogger.com/atom/ns#'>IE7</category><category domain='http://www.blogger.com/atom/ns#'>bug</category><category domain='http://www.blogger.com/atom/ns#'>drop</category><category domain='http://www.blogger.com/atom/ns#'>resize</category><category domain='http://www.blogger.com/atom/ns#'>position</category><category domain='http://www.blogger.com/atom/ns#'>pagezoom</category><title>bug in IE7 when you change position of elements when pagezoom is used</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;In my humble opinion the pagezoom in IE7 is one of the most underestimated improvements of IE. Okay it has its flaws but it is a lot better then just resizing font-sizes. And imagine what you can do with it... now you can actually zoomin on the complete user interface of an application. I haven't seen any desktop application yet that can do just that.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;But this pagezoom functionality also turns out to be one buggy $#%%^&amp;$. (sorry for that)&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;What's wrong?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Just zoom your page to 125% and dynamically reposition an element with text in it. IE7 mispositions the text completely and it does it in a pretty random way. When you resize the browser window, after repositioning your element, IE7 will force some kind of redraw of the page and the problem will be corrected. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This a test page before repositioning:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.tpm-webapplicaties.nl/uploaded_images/before-725905.gif"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://www.tpm-webapplicaties.nl/uploaded_images/before-725903.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;this it what happens after repositioning the div 200px to the right:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.tpm-webapplicaties.nl/uploaded_images/after-723333.gif"&gt;&lt;span style="font-size:85%;"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://www.tpm-webapplicaties.nl/uploaded_images/after-723326.gif" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;You see what happens?! Even the text in the button is not rendered well!&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Then resize the window:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.tpm-webapplicaties.nl/uploaded_images/resize-744759.gif"&gt;&lt;span style="font-size:85%;"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://www.tpm-webapplicaties.nl/uploaded_images/resize-744758.gif" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;And voila... all is fine....&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;For an working example click &lt;a href="http://www.tpm-webapplicaties.nl/blogmaterials/testzoombugie7.html"&gt;here&lt;/a&gt;.&lt;/span&gt; &lt;span style="font-size:85%;"&gt;(don't forget to set the zoom level of the page)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;strong&gt;What does that mean?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This makes for example drag&amp;drop in IE7 within a zoomed page almost impossible. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;strong&gt;The solution?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;You tell me. I am still looking, i have tried a lot of options. The weird thing is that I haven't found any mention of this problem on the net. All the well known libraries don't seem to have a solution. I have checked YUI, mootools, pkk's new drag&amp;amp;drop script and backbase.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Verdana;"&gt;So if you have any idea let me know as soon as i find something I&lt;/span&gt;&lt;span style="font-family:Verdana;"&gt; will publish it here.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;em&gt;added 14-8-2007 17:21&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;okay i have something that works... it is really ugly and needs to be improved (broswer detection, pagezoom detection, values relative to page) but it is a start:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;function shakeItUp(){&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;    document.getElementsByTagName("body")[0].style.height="10000px";&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;    window.scrollBy(0,6000);&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;    window.scrollBy(0,-6000);&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;    document.getElementsByTagName("body")[0].style.height="auto";&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;em&gt;}&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;After repositioning your element just shakeItUp()&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;click &lt;a href="http://www.tpm-webapplicaties.nl/blogmaterials/testzoombugie7_2.html"&gt;here&lt;/a&gt; for an working example&lt;/span&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-2287563700740457663?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/08/bug-in-ie7-when-you-change-position-of.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-4841005849489255474</guid><pubDate>Tue, 03 Jul 2007 08:37:00 +0000</pubDate><atom:updated>2007-07-03T01:41:37.957-07:00</atom:updated><title>Gilde van Front-Enders</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;On the initiative of &lt;/span&gt;&lt;a href="http://www.quirksmode.org/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Peter-Paul Koch,&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; a group of Dutch Web developers is founding the &lt;/span&gt;&lt;a lang="nl" href="http://www.quirksmode.org/blog/archives/2007/07/gilde_van_front.html"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Gilde van Front-Enders&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; (Guild of Front-End Programmers) towards certification and professionalism of commercial Web development in the Netherlands. (Het &lt;/span&gt;&lt;a lang="nl" href="http://www.quirksmode.org/blog/archives/2007/07/gilde_van_front.html"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Gilde van Front-Enders&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt; in oprichting nodigt alle Nederlandstalige front-end programmeurs uit zich aan te sluiten. Voornaamste doelstelling van het Gilde is de verdere professionalisering van het beroep.)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-4841005849489255474?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/07/gilde-van-front-enders.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-8137626540737947317</guid><pubDate>Thu, 07 Jun 2007 14:42:00 +0000</pubDate><atom:updated>2007-06-07T07:44:49.914-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ajax</category><category domain='http://www.blogger.com/atom/ns#'>icon</category><title>for the bookmarks</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;this is verry handy: &lt;/span&gt;&lt;a href="http://ajaxload.info/"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://ajaxload.info&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-8137626540737947317?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/06/for-bookmarks.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-7119763851851204506</guid><pubDate>Fri, 25 May 2007 21:38:00 +0000</pubDate><atom:updated>2007-05-25T14:59:56.066-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>zoom</category><category domain='http://www.blogger.com/atom/ns#'>font scaling</category><category domain='http://www.blogger.com/atom/ns#'>IE6</category><title>Goodbye IE6 and goodbye Font Scaling</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;Last week it occured to me that probably along with saying goodbye to IE6 we also can say goodbye to worrying about what happens with the page layout when fonts get scaled up by the user. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Firefox and IE7 have both a good zooming button in the right lower corner of the browser. This way of zooming gives a much better user experience then just scaling the fonts. When you come to think of it from a users perspective it seems pretty strange to just only scale the texts on a page and leave the rest as it is.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;The only problem is that in my experience elderly (who use font scaling the most) don't tend to use the most modern equipment. They mostly seem quite content (even proud) with their 5 year old PC still in working order. So we might have to wait a little while.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-7119763851851204506?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/05/goodbye-ie6-and-goodbye-font-scaling.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-6469287557839408166.post-360402165232521586</guid><pubDate>Fri, 25 May 2007 15:16:00 +0000</pubDate><atom:updated>2007-09-13T08:44:39.785-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>javascript</category><category domain='http://www.blogger.com/atom/ns#'>firebug</category><category domain='http://www.blogger.com/atom/ns#'>console</category><title>Logging in the console of firebug without errors in IE</title><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;In some cases the console in firebug is really helpfull. For instance when you are debugging mouse-events. The downside of using "console.log()" is that it triggers errors in IE. But there is a really simple sollution for that problem. Include the folowing line of code in one of your js scripts and no more errors in IE:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;if(!console){var console = new Object();console.log = function(){}}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;This snippet is tested in IE7 and IE6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;update 13-11-2007: &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:85%;"&gt;or use firebuglite: &lt;a href="http://getfirebug.com/lite.html"&gt;http://getfirebug.com/lite.html&lt;/a&gt;&lt;/span&gt;&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6469287557839408166-360402165232521586?l=www.tomslab.nl%2Findex.asp' alt='' /&gt;&lt;/div&gt;</description><link>http://www.tomslab.nl/2007/05/logging-in-console-of-firebug-without.html</link><author>noreply@blogger.com (Thomas Ummels)</author><thr:total>2</thr:total></item></channel></rss>
