Archive for the ‘JavaScript’ Category
Complete List of Variables for Adobe Captivate 5
Posted Monday, August 23rd, 2010.
Filed under JavaScript, e-learning with the tags ActionScript, Adobe Captivate, Adobe Captivate Hacks, CaptivateController, e-learning, JavaScript
While updating my CaptivateController script I noticed there have been some changes to the Captivate variables available to Captivate developers. I figured I should document them for future reference.
Note that some variables available in CP3 and CP4 are no longer available. The following list should be exhaustive for CP5; variables for previous versions of Captivate [...]
CaptivateController Updated to Support Adobe Captivate 5
Posted Monday, August 23rd, 2010.
Filed under JavaScript, e-learning with the tags ActionScript, Adobe Captivate, Adobe Captivate Hacks, CaptivateController, e-learning, How-to, JavaScript
By popular demand, I’ve updated my CaptivateController to work with Adobe Captivate 5 (CP5). Since this is an open-source project, there’s no upgrade fee. (What? “Adobe” and “no upgrade fee” in the same paragraph?!) I kid, I kid… I’m a kidder.
Comparing and cloning objects in JavaScript
Posted Friday, July 23rd, 2010.
Filed under JavaScript, web design and development with the tags How-to, JavaScript, jQuery, MooTools, web design and development
Two simple functions for comparing and cloning JavaScript objects without requiring a framework like jQuery.
For Your Reading Pleasure: EasyCaptions
Posted Monday, June 7th, 2010.
Filed under JavaScript, web design and development with the tags accessibility, Adobe Flash, EasyCaptions, How-to, HTML 5, JavaScript, JavaScript UI Goodies, video, web design and development
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.
Demonstration
Background
I don’t produce much video these days, but as a web surfer I often encounter other people’s videos, and [...]
Rounded corners on images using CSS3
Posted Friday, April 2nd, 2010.
Filed under JavaScript, web design and development with the tags CSS, JavaScript, JavaScript UI Goodies, jQuery, MooTools, progressive enhancement, web design and development
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.
HTML5 Video, minus Ogg
Posted Friday, March 19th, 2010.
Filed under JavaScript, web design and development with the tags Adobe Flash, How-to, HTML 5, JavaScript, JavaScript UI Goodies, web browsers, web design and development
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.
A new removeClasses utility for MooTools
Posted Saturday, March 13th, 2010.
Filed under JavaScript, web design and development with the tags How-to, JavaScript, JavaScript UI Goodies, jQuery, MooTools, web design and development
MooTools’ removeClass utility will only work if the classes you want to remove are listed in the same order as the target element’s className property. Here’s a new removeClasses utility that fixes this shortcoming. A framework-neutral version is also provided.
CustomInput Class: Accessible, Custom-Styled Checkboxes and Radio Buttons
Posted Thursday, March 11th, 2010.
Filed under JavaScript, web design and development with the tags accessibility, CSS, How-to, interface design, JavaScript, JavaScript UI Goodies, jQuery, MooTools, web design and development
I’m currently working on a new quiz system at work, and decided I’d incorporate Filament’s wonderful stylized checkboxes and radio buttons into my project, which meant it was time to roll up my sleeves and code me some Moo.
Introducing LearnSWFObject.com
Posted Monday, February 15th, 2010.
Filed under General, JavaScript, web design and development with the tags Adobe Flash, JavaScript, learnswfobject.com, SWFObject, tutorials, web design and development
I’m happy to introduce you to my latest project, LearnSWFObject.com
Cheating in SCORM
Posted Sunday, March 22nd, 2009.
Filed under JavaScript, SCORM, e-learning with the tags e-learning, opinion, SCORM, SCORM 2.0, security, standards
I’m always surprised how little people talk about cheating in e-learning; maybe it’s a fear of revealing just how easy it can be. The fact is, SCORM — the most common communication standard in e-learning — is fairly easy to hack. I’ve whipped up a proof-of-concept bookmarklet that when clicked will set your SCORM course to complete with a score of 100 (works with both SCORM 1.2 and 2004).