]> Something Witty Goes Here

codedread

Archive for the ‘JavaScript’ Category

Smile Zen Garden?

Monday, May 19th, 2008

I’ve been watching David’s FakeSmile script evolve over the course of the last few months. At the same time, I have been reading up on SMIL Timesheets, a recent specification drafted by the SYMM Working Group. With recent support of timesheets in FakeSmile, I thought it would be a good chance to experiment. Click To Read More...

Fake Smile

Sunday, March 16th, 2008

David Leunen has released a new JavaScript library to fake SMIL for modern browsers that do not yet support declarative animation (Firefox 3.0- and Safari 3.0-). The nice thing about this is that it uses existing standards, so that when Mozilla and WebKit finally implement SMIL, this script will avoid executing. On that day, suddenly animations will become less processor-intensive. I’m all about progressive enhancement, but I’m also not above occasionally faking it a little to experiment with cool features. Click To Read More...

Sam Ruby: Inline SVG in IE

Friday, May 4th, 2007

Thanks, Sam for kicking this off - I knew it was just a matter of time before someone would do a proof-of-concept, but the week of MIX07 was earlier than I expected! :)

One suggestion: If you’re going to use simple IE detection, then why not use IE conditional comments rather than forcing other SVG-capable browsers to load and parse and run the JavaScript? Something like:

<!--[if IE]>
  <script type="text/javascript" src="SVG2SL.js"></script>
<![endif]-->

Knowing What The Browser Is Doing

Thursday, April 19th, 2007

Sometimes it’s not obvious how a document is being interpreted by a web browser. For instance, you might write some XHTML 1.1, but the browser actually interprets it as HTML 4. You may be expecting the browser to be using Standards Mode (recommended), but it might actually be using Quirks Mode because you missed the DOCTYPE statement. I’ll periodically update this blog entry to keep track of how to do this stuff in a variety of browsers. Click To Read More...

Guide to Deploying SVG with HTML

Friday, January 19th, 2007

Early in 2005 I started getting interested in SVG, a web standard for vector graphics on web pages. My efforts in this direction were first sparked by a friend and later by the fact that modern browsers like Firefox and Opera have introduced SVG support. This entry is to serve as a guide so people can learn from my experiences. It was originally published in Dec 2005, but I will continue to update it as more items occur to me. It was last updated in Jan 2007.

Click To Read More...

codedread codedread