Christian Heilmann

Author Archive

Now this is a cool touchscreen

Sunday, February 12th, 2006

Jeff Han is doing some research on Bi-manual, multi-point, and multi-user interactions on a graphical interaction surface and watching the 17MB demo reel got me hooked on the idea. The accessibility of it of course is not mentionable, but how cool would it be to sort your digital pictures by dragging them with your finger or even use this interface for card sorting exercises resulting in an XML sitemap?

Don’t rely on maxlength to shorten passwords

Monday, February 6th, 2006

It is bad practice to rely on the maxlength attribute of form fields to ensure the real length of entered data. That much I knew, as playing with curl made me aware how vulnerable forms are on the wild wild web.

However, I was a bit agog when I realised that it is possible to change the value of a field to a word longer than maxlength on MSIE and Opera.

I set up a demo that shows how to override maxlength with JavaScript .

So, don’t trust maxlength, make sure to also check the real length on the server side.

[tags]security, HTML, maxlength, webdevtrick[/tags]

Photoshop TV

Monday, February 6th, 2006

Photoshop TV shows tips and tricks on how to use photoshop either in Flash, or as a MP4 download to watch on your newfangled gizmo of choice. Looks fun, and doesn’t cost anything.

Panel Bar or Accordeon Menu using DOMscripting and CSS

Thursday, February 2nd, 2006

A friend of mine asked for a menu like the Outlook Panel in CSS and JavaScript as a proof of concept. I took on the challenge and quickly put together this example of a DOMscripting powered panel menu . It functions the same way – only one section can be open at a time – and should be rather self-explanatory. For a change I am not using off-left to hide the sections but plain old display block and none inside the script, which has the welcome side effect that you can use it with a keyboard without having to tab through the invisible links!

Features:

  • Fully contained unobtrusive JavaScript
  • Option to style JavaScript and non-JavaScript menu independently
  • Option to have predefined open section

I hope it is helpful for some of you, and I appreciate any feedback / bug issues.

Retro gaming and an annoying mobile game

Thursday, February 2nd, 2006

Good news for all who like Commodore 64 games and bad news for office productivity: At c64s.com – classic Commodore 64 games online you can play all the classics you played instead of doing homework in your browser (as Java objects).

As I finally arrived in 2005 when it comes to mobiles (my girlfriend dropping my old one being the main initiator) I found a game for Nokia Smartphones that looks like nothing but is highly addictive and has that “Tetris” simplicity: Roto is a free J2ME game, and asks of you to put all the corners of a floating object on rectangles of the same colour to make the rectangles disappear. Sounds easy, and the first few levels seem ridiculous, but the game shows its teeth later on. You cannot turn the object, you can only accelerate and move it in 4 directions and bounce it off the edges of the screen. It is a fullfy fledged physics simulation and behaves accordingly. Good time waster for a while.