Evolution

posted February 20th, 2006, 15 comments, tagged

sIFR now does multiple colors, configured by CSS, and with better links. And it’s still missing a lot of features, and is probably incredibly buggy, but hey.

http://dev.novemberborn.net/sifr3/svn/test/demo.html

Next step: making it *scalable*.

February 21st (in the wee hours): Now with a hand-tailored word wrap algorithm!

15 responses

  1. Branstrom says:

    Fantastic progress. I wanna help, but all I can do is run testcases, as you work all alone on this and want it that way…

    I don’t really see the multiple colors though, is that page supposed to be sIFRed?

  2. Mark Wubben says:

    Please forgive me mumbling about late at night. It does do multiple colors, but it still needs work. You can see how the link is colored differently, though.

  3. Branstrom says:

    Hmm, the demo isn’t being sIFRed in Firefox 1.5 over here. It is in Opera and IE though.

    In IE, while viewing with the highest font setting, the boxes become too short (height) and the text is cropped off.

    Just wondering, how does it recognize multiple colors? Will it work with any CSS that gives the element a different color? Spans with style property for when you’re mocking up a page design, classes, ids, attribute selectors for inline tags, anything?

  4. Mark Wubben says:

    You can use CSS in Flash.

  5. Branstrom says:

    So… you specify it inline with span style=”stuff”? Or… what? It senses all the styles imposed on the element being sIFRed? If that’s the case, then… wow.

  6. Mark Wubben says:

    I’m teasing too much… Flash has support for CSS (or rather, a subset of) on the HTML it renders. So you specify CSS rules in sIFR and they’ll be applied. And yes, the classes you use in the HTML will work in sIFR as well.

    I need to write a proper article out of this!

  7. Branstrom says:

    Do that!

    Btw, could you make Alt+S a shortcut to submitting the comment?

  8. Mark Wubben says:

    No, accesskeys are considered harmful :)

  9. Mark Wubben says:

    Yes. They mess with browser shortcuts.

  10. Branstrom says:

    I just googled it. But Alt+S is so universally bound to and keyboard-layoutically appropriate (especially with Dvorak) for any submit function in my mind… it isn’t responsible for any important browser functions as far as I know. Maybe just that one? No? ;)

  11. Roman says:

    Hi all,

    I’ve ran into a problem. If I make the links on my page Sifred I can’t detect the click event on those links with javascript. So I can’t use Jquery for doing hide and show using clicks on those links. Any idea how to fix this?

    -Roman

  12. zed says:

    the link to your multi-color example is broken. Could you please fix this as I can’t seemt to get it working for me.

    thanks

  13. Mark Wubben says:

    Hi Zed, the example is in the sIFR demo that is included in the download.