Interesting Links


« More Offline Blogging | Main | Email Man(n) »

Feb 19, 2005

sIFR

sIFRI don't fully (read: at all) understand the underlying technology, but given my interest in good design, I can't help but feel that sIFR (Scalable Inman Flash Replacement) represents a big step forward for the online experience by offering an open source "standards-compliant way to deliver rich typographical text in a flexible manner to over 90% of web users."  (It was introduced in August 2004 and updated in December.)

Geeks will want to read everything sIFR creator Mike Davidson has to say (there are lengthy comments threads as well.)  Ambitious non-geeks like me might find this synopsis of interest:

The following explains the sIFR process:

  1. A page is requested and loaded.
  2. Javascript detects if Flash 6 or greater is installed.
  3. If no Flash is detected, the page is drawn as normal.
  4. If Flash is detected, the HTML element of the page is immediately given the class “hasFlash”. This effectively hides all text areas to be replaced but keeps their bounds intact. The text is hidden because of a style in the stylesheet which only applies to elements that are children of the html.hasFlash element.
  5. The javascript traverses through the DOM and finds all elements to be replaced. Once found, the script measures the offsetWidth and offsetHeight of the element and replaces it with a Flash movie of the same dimensions.
  6. The Flash movie, knowing its textual content, creates a dynamic text field and renders the text at a very large size (96pt).
  7. The Flash movie reduces the point size of the text until it all fits within the overall size of the movie.

The rest of you will simply be happy to know that the geeks are working hard to make the web look better.  Hat tip to Jeffrey Veen.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341e62fd53ef00d83543530269e2

Listed below are links to weblogs that reference sIFR:

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.