Archive for the 'JavaScript' Category

Actionscript, JavaScript, and SCORM

Friday, August 10th, 2007

For the last week, I’ve been doggedly attempting to create a hybrid of Flash-to-JavaScript communication techniques for creating cross-browser SCORM-conformant courses that work with almost any version of Flash Player. Today I threw in the towel. Here’s my story.

A cross-browser JavaScript prompt

Wednesday, August 8th, 2007

While working on a project earlier today, I discovered a nasty little problem… Internet Explorer v7 (IE7) disables prompt() by default! This means you can’t rely on prompt() being available in IE7 when building your online applications. I decided to make a workaround using Microsoft’s proprietary showModalDialog function.

New: SWFObject examples page

Saturday, July 21st, 2007

I decided to create a guide for the examples, which gives a little bit of background for each example as well as the URL for each example. http://www.pipwerks.com/lab/swfobject/

Captivate-JavaScript limitations

Tuesday, July 10th, 2007

Captivate SWFs can communicate with the host HTML file via JavaScript, but the scripting options suffer from severe limitations imposed by the Captivate authoring environment.

Email address obfuscation

Wednesday, June 13th, 2007

Everyone knows the story: an innocent email address is posted online and a big bad spambot finds it, relaying it to every spammer on the face of the earth… the email address becomes useless due to the 500 spam emails you get every day!

Vertical centering — without using tables!

Tuesday, May 8th, 2007

Every now and then, a developer will come up against something that was SOOOO easy with table-based layouts and winds up being a royal pain with CSS-based layouts. One of these “d’oh!” moments is when you try to vertically center an element on your web page. Umm… hang on, let me rephrase that: One of these “d’oh!” moments is when you try to vertically center an element on your web page when using Internet Explorer 6.

Thoughts on using JavaScript in Adobe Captivate

Friday, May 4th, 2007

I’ve been looking for ways to use JavaScript in Captivate. I’m a bit disappointed to report that JavaScript can only be used in very limited instances.

Making Actionscript calls from Adobe Captivate

Wednesday, May 2nd, 2007

Captivate 2.0 doesn’t include the ability directly manipulate Actionscript. This has been problematic for people like myself who have Flash-based ‘players’ that load and unload both Captivate SWFs and Flash SWFs; we often need the Captivate SWF to perform some kind of action when it reaches its end.

Google, show me the way!

Saturday, May 6th, 2006

Google has made their Google Maps API public. What does this mean? It means that you can put the power of Google Maps on your own site!
I decided to give it a whirl for work… my department has several locations for our training classrooms, and it seemed like a good idea to map them [...]