About this site
This is the personal website of Dutch webdeveloper Harmen Janssen. You can read all about me on the About page. Browse the archive for articles on webdevelopment.
I'm no longer working as a freelancer! If you wish to have me create websites for you, please contact my employer Dutch Internet Works.
Latest articles
How to send multiple values through one form button
posted on 04 July 2008 (09:28 AM)
Sometimes you want to have a form with multiple "actions". For instance, in a webshop, you want to list all your products, each paired up with an individual submit button to add that particular product to a shopping cart.
But how can you, on the server-side, differentiate between products?
It gets even more difficult when you have lots of hidden data you wish to send alongside the name or id of the product, but you want to show only one button.
There are a couple of ways to achieve this, all with their own pros and cons. Below I will list some options.
CSS Tricks episode 1: 100% width in a variable width container
posted on 29 June 2008 (01:25 PM)
I'm extremely busy these days. Busy working my dayjob, where lots of clients ask for my attention, and busy planning to move to another appartment in the coming weeks.
Because of that, Whatstyle hasn't seen any big articles nor updates for a long time now. Because of that, I've decided to start a series of small articles with quick solutions in the field of CSS. Every time I solve some problem that might be unusual, difficult, or interesting, I'll write up an example and explain it here. Something you can then add to your toolbox, in the back of your head, so you can easily implement it and move on the next issue.
Today the article's about giving an absolutely positioned element a 100% width when it's variable width parent has padding on the sides.
Adobe releases Dreamweaver CS4 Beta
posted on 27 May 2008 (11:36 AM)
Adobe has released beta versions of some of its software's CS4 editions, namely Dreamweaver, Fireworks and Soundbooth.
Being a web developer myself, I'll write a bit about the new Dreamweaver.
Subcookies V2
posted on 09 May 2008 (02:47 PM)
My Subcookies article from May the 27th of last year has proven to be my most popular bit of writing.
A year after publishing, "C" has requested an update.
I have now rewritten my cookies script, fixing some issues pointed out by "C", and added some security as pointed out by Jim Thomson.
Help the UN World Food Program to end world hunger
posted on 13 March 2008 (09:37 PM)
The UN World Food Program has created a game to gather food for third-world countries.
In the game, you have to guess the correct synonym for an English word. For non-native speakers it can actually be quite challenging and educational.
Below every question is a different ad, and that way various advertisers sponsor this initiative. I think it's a great idea and gladly link to it. Apart from being a great new, inventive way of helping others, the game is actually a nice use of modern web technologies like CSS and DOM scripting.
Finally moved, but not without hiccups
posted on 12 March 2008 (01:24 PM)
Whatstyle has finally arrived at its new location over at CCC Hosting. Before the move could be completed however, I made an ass out of myself.
My @whatstyle.net address was my contact address over at the new host, which was, obviously, momentarily down during the move.
Hence, I was unable to receive the email containing the new FTP information and stuff like that, resulting in a couple of days of me having no website nor email address.
All is well again, so keep checking back regularly for updates. Also, due to the downtime, my latest article about formatting CSS might have gone unnoticed. Do take a look :)
Formatting CSS, how not to do it
posted on 09 March 2008 (04:22 PM)
Every once in a while, I stumble across a piece of CSS and I think, Now that's a handy method of formatting, I'm gonna try that in my next project
.
One of those formatting styles is nesting your CSS rules according to the nesting level of the HTML elements you target. I've tried it once, but never again.
Dutch Internet Works is looking for freelance web designers
posted on 22 February 2008 (12:00 PM)
Business is going well, and we at Dutch Internet Works wish to expand our network.
Movin'
posted on 12 February 2008 (11:37 AM)
I'm moving Whatstyle to a new hosting provider, so there might be some downtime in the next couple of days. I'll try and be as quick as possible.
For those of you interested: I'm moving to CCC Hosting, a Dutch provider that offers some great functionality in their packages.
Microsoft Internet Explorer 8 introduces version targeting
posted on 25 January 2008 (12:59 AM)
Wow. Everyone, and I do mean everyone, seems to be talking about Microsoft's version targeting system, that's to be introduced in IE8.
MS sure knows how to stir things up. Here's my take on it.