Comparing and cloning objects in JavaScript
Two simple functions for comparing and cloning JavaScript objects without requiring a framework like jQuery.
Two simple functions for comparing and cloning JavaScript objects without requiring a framework like jQuery.
Introducing EasyCaptions: A simple system for adding captions and an interactive transcript to online videos. EasyCaptions uses progressive enhancement to provide the best possible experience for all visitors, regardless of their browser’s JavaScript, HTML5 or Flash support.
Someone recently asked me if it was possible to customize Captivate’s SCORM template to reduce the need for manual editing after publishing. In her case, the manifest needed to be edited to include SumTotal TotalLMS’s custom SCORM extensions. The answer is yes. Here’s how.
I thought I’d type up a quickie list of things I believe in, as it relates to my profession or my kids’ schooling; I’ll leave out politics, religion, the sad state of the music industry, Apple versus Adobe, and alien conspiracies.
It does exactly what is says: expand textareas. No more, no less.
Neither of you are choir boys, and I’m fed up with your bickering.
If you change the default controls to match the look and feel of something your visitor has never seen before, you run the risk of creating confusion, distrust, or alienation. Even worse, if the controls are poorly made or conceived — and many are — you might make your site less usable. A cardinal sin.
The more I think about it, the real beneficiaries of a uniform UI across browsers aren’t the site visitors, but rather the designers who demand artistic control and the clients who insist the product looks the same everywhere, without understanding that it’s okay (even expected) to have some differences.
Most browsers do not allow images to be cropped using CSS3’s border-radius
. Tim Van Damme recently posted a workaround for this issue. Here’s a MooTools script that automates Tim’s workaround yet degrades gracefully when JavaScript is disabled.
Mozilla, the makers of Firefox, refuse to support the MP4/H.264 standard because it isn’t open-source and free from licensing constraints. Without Ogg, Firefox’s HTML5 video is rendered useless and requires a Flash-based fallback system. However, Firefox’s handling of the video element breaks the fallback mechanism. A scripted solution is required.
Here’s a simple script that will detect whether HTML 5 video is supported in the browser, and if it is, will check to see if this is Firefox. If yes, it deletes the specified video element but leaves the Flash fallback in its place.
Rule of Thirds is quick and fun tutorial explaining the concept of the rule of thirds as used in visual design.