Brothercake - brothercake.com - brothercake's feed
General Information:
Latest News:
Best Practice for Code Examples [SitePoint Blogs] 19 Aug 2013 | 05:00 am
The majority of articles about web development include code examples, and across the web we see great variation in how they're formatted and presented. But a lot of them are not very good — because t...
When Do Elements Take the Focus? [SitePoint Blogs] 30 Jul 2013 | 05:00 am
Do elements take the focus when you click them with the mouse? Do they show focus indication, like a dotted-border or focus-ring? The answer always used to be "yes" — and in my view, it certainly sho...
Essential Audio and Video Events for HTML5 [SitePoint Blogs] 16 Jul 2013 | 05:00 am
The VIDEO and AUDIO elements provide a comprehensive range of events. While some are quite straightforward, like the self-explanatory "play" event, others can be rather more tricky to understand, espe...
Improving Usability With Extra Navigation Keys [SitePoint Blogs] 26 Jun 2013 | 05:00 am
When handling keyboard events in JavaScript, most scripts and applications tend to stick to the basic range of keys that provide core accessibility. This is all good, but there are some other common k...
Is Generated Content Actually Content? [SitePoint Blogs] 29 May 2013 | 05:00 am
The CSS2.1 specification summarizes generated content as "[rendered] content that does not come from the document tree" — in other words, text and images defined in CSS, rather than in markup. But ev...
Accessible Audio Descriptions for HTML5 Video [SitePoint Blogs] 29 Apr 2013 | 05:00 am
Traditionally, audio-described videos have to be made specially, with the audio encoded in a separate track of the single video file. It takes pretty specialised video-editing equipment to encode thes...
3 Neat Tricks with Regular Expressions [SitePoint Blogs] 17 Apr 2013 | 05:00 am
I'd like to show you three cunning things you can do with regular expressions, that provide neat solutions to some very sticky problems: Removing Comments, Using Replacement Callbacks, and Working Wit...
Children of the DOM [SitePoint Blogs] 4 Apr 2013 | 05:00 am
Close node relationships in the DOM have always been problematic, because most interpretations of the DOM include whitespace text-nodes, which scripts don't usually care about. It's right that they s...
Evolving a New Mutation [SitePoint Blogs] 25 Mar 2013 | 04:00 am
I used to be a big fan of DOM Mutation Events. They provided a simple way for scripts to monitor changes in the DOM, irrespective of the event or action that caused them. However, that simplicity mas...