May 18

sIFR v2I did not invent anything.
Mike Davidson and his gang did. I even borrowed this logo from his blog.

I just found -on the web, where else?- a fairly easy method to create sIFR Flash Files without the need for Adobe Flash Studio itself. Thus, here it is: a free, dead-simple tool to help you convert as many font files as you need painlessly.
Simple? Very. Select a TrueType Font File, select which glyphs you wish to convert or [x] All if you want a big fat .swf file, click on ‘Convert’, pick a destination directory and you’re set.

If you need more information on sIFR and why it’s the greatest thing in web design since sliced images, take a look at Mike’s blurb.
Then come back and download OpensIFRr, because you will want to play with this nice concept.

Let me show you an example of a short sIFR-enabled page:
Continue reading »

Sphere: Related Content

May 16

Dusting Diaz blogs about consuming events in Mozilla.
I’ve always enjoyed his postings but I have to disagree about having to wait for a ‘better’ IE: the same tricks can already be performed in current version of IE.

Simply react to a click event with this code (pasted from nextBBS’ common.php):

JAVASCRIPT
  1. // A very experimental private function: consume the original event, if possiblefunction _killEvent(e)
  2. {
  3.     if(e.preventDefault)
  4.     {
  5.         e.preventDefault()
  6.         e.stopPropagation();
  7.     }
  8.     else
  9.     {
  10.         e.cancelBubble = true;
  11.         e.returnValue = false;
  12.     }
  13. }
Sphere: Related Content