Testing for outline CSS support with jQuery
In the good spirit of testing capabilities rather than browser versions, I needed a way to find out whether or not a browser supports setting the values of the “outline” property via CSS. IE6 and 7...
View ArticleToo big to work?
Without trying to dismiss the complexity of the problem, how hard can it be to implement an Europe-wide train booking system? BBC: “Euro train booking system shelved” Is IT still such a headache that...
View ArticleMaking sprites
So you have a website that uses dozens of little images to make the interface more attractive. Maybe there’s a toolbar or menu, where each item or button has its own icon. It looks great, but it’s a...
View ArticleGetting the category ID in WordPress
There is quite a bit of documentation in the WordPress site about categories, specifically how to retrieve data about them. Unfortunately all the available methods seem to focus on getting category...
View ArticleMaking YUI ButtonGroups behave
I like YUI Buttons. Amongst other niceties they allow you to have reliable cross-browser, cross platform custom-rendered form widgets like checkboxes and radio buttons — while keeping all the...
View Articlehtmlspecialchars() for JavaScript
Creating markup with JavaScript for fun and profit is easy due to innerHTML. However, it would be nice to be able to escape output that is not trusted or known. Most references online point to...
View ArticleWhy I want to beat Java with a stick
int x = 100; Stuff.doStuff(x); The method doStuff(String) in the type Stuff is not applicable for the arguments (int) int x = 100; Stuff.doStuff(x.toString()); Cannot invoke toString() on the primitive...
View ArticleTabs, done right
There are a lot of JavaScript-driven tab widgets around the web. All of the major JS libraries provide a tabs widget, and this is such a common user interface pattern that the ARIA specification...
View ArticleEn and Em dashes in KDE
I’m a bit of typography geek, so hunting down in KCharSelect for en dash (–) or em dash (—) feels like a lot of trouble. No more! Alt Gr + -(hyphen) = en dash Alt Gr + Shift + -(hyphen) = em dash Not...
View ArticleVertical reordering in CSS
There are plenty of techniques for reordering content horizontally in CSS (by reordering content I mean visually laying out content in an order different than the one in the source code). Usually those...
View Article
More Pages to Explore .....