On Javascript

One of my teammates recently had a problem with some Flash injection code. She was setting some properties and then calling a function on a JavaScript object that threw an error. We got a message that said "Object doesn't support this property or method". We isolated it down to a timing issue by dropping an alert() into the code just before we called the method. With the alert() pausing execution for a few seconds, the browser had enough time to fully instantiate our object. Without... Read More...

0 comments. View or add yours.

Filed under: JavaScript, pop art

Excellent (if basic) article on designing for print stylesheet over on Mark Boulton's blog . The coolest thing, however, is that one of the comments links to a technique from A List Apart which allows you to pull links from the page using Javascript and drop them in as footnotes on the printed page, rather than displaying them inline , as they had previous recommended. Read More...

0 comments. View or add yours.

Filed under: CSS, Design, javascript, print