Posts tagged ‘JavaScript’
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.
SCORM Tip: Use an onunload handler
Posted Friday, August 6th, 2010.
Filed under SCORM, e-learning with the tags e-learning, How-to, JavaScript, SCORM, SCORM actionscript class, SCORM wrapper
What happens if the browser window containing your course is closed by the learner before the course finishes sending data to the LMS? If you’re not careful about how you’ve coded your course, you can lose some of the data.
SCORM Tip: Don’t forget to commit!
Posted Tuesday, July 27th, 2010.
Filed under SCORM, e-learning with the tags e-learning, How-to, JavaScript, SCORM, SCORM actionscript class, SCORM wrapper
A number of people have recently asked me about the scorm.save() function in the pipwerks SCORM wrappers. What is it, and when should it be used?
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 [...]
TextAreaExpander Class for MooTools
Posted Friday, May 7th, 2010.
Filed under General with the tags How-to, HTML, JavaScript, JavaScript UI Goodies, MooTools, web design and development
It does exactly what is says: expand textareas. No more, no less.
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.