by Fredrik Hugås | Jul 23, 2012 | Articles, TIPS
I have a bad habit of “reading with the mouse pointer” By this I mean selecting the text at the start of it and highlighting the text as I read it. I know many people have a habit of doing something similar to this. I know it looks kinda weird , but enough...
by Fredrik Hugås | May 1, 2012 | Articles, CSS, JavaScript, TIPS
A handful of users browse the web with JavaScript turned off. There are several reasons for this, they may have turned it off in their browser settings if they have a slow internet connection to decrease page load times, or maybe it’s a paranoid user. Sometimes...
by Fredrik Hugås | Apr 25, 2012 | JavaScript, TIPS
Have you ever wanted to check if a element exists using jQuery, but not got the results you were looking for? It’s not as obvious as you might think it is, but when you understand how jQuery treats objects you will never have this problem again. Let’s look...
by Fredrik Hugås | Apr 24, 2012 | Articles, JavaScript
I live in Norway, and here our alphabet is 29 characters long because of our 3 special characters ÆØÅ. I can’t begin to describe how much pain these 3 characters have caused for developers in our country. This is why keeping the same encoding in all files the...
by Fredrik Hugås | Sep 21, 2011 | PHP
One thing that can be annoying about PHP is that you have to include the class-files before you can create a class, and if you have alot of classes the list of includes can get quite long. You could create a dedicated include file and throw all the include statements...
by Fredrik Hugås | Oct 26, 2010 | CSS, Design
What is CSS reset, and why do I need one? All the major browsers like Firefox, Internet Explorer, Opra, Chrome, etc. comes with their own default CSS file. These are css values that are aplied to all web pages, to make them look better and more readable, applying...