Archief voor 'Javascript'

Styled form controls

Philip Howard has developed a way to get rid of the default boring checkboxes and radiobuttons in an HTML page. It behaves exactly like the default form controls, but looks much better.

The good thing is he paid attention to accessibility, and well formed code. It also degrades fine for browsers and/or users without CSS and/or Javascript. Needless to say it is also perfectly cross-browser compatible!


Printing a single image

Some time ago I got the question whether it was possible to provide a way to print a single image that was a part of the webpage. The rest of the contents of the page should not be printed, only the image. Of course a visitor can manually display the image in a separate window, or download it first, but there's a more user friendly way, which I'll explain in this article.
Lees de rest van deze post »