Evolution
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!




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?
Branstrom | 5 March 2006, 04:28 | link
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.
Mark Wubben | 5 March 2006, 21:35 | link
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?
Branstrom | 7 March 2006, 02:44 | link
You can use CSS in Flash.
Mark Wubben | 7 March 2006, 10:02 | link
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.
Branstrom | 7 March 2006, 13:41 | link
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!
Mark Wubben | 7 March 2006, 16:34 | link
Do that!
Btw, could you make Alt+S a shortcut to submitting the comment?
Branstrom | 7 March 2006, 17:01 | link
No, accesskeys are considered harmful :)
Mark Wubben | 7 March 2006, 19:19 | link
Harmful?
Branstrom | 8 March 2006, 05:36 | link
Yes. They mess with browser shortcuts.
Mark Wubben | 8 March 2006, 09:57 | link
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? ;)
Branstrom | 9 March 2006, 04:36 | link
No :)
Mark Wubben | 9 March 2006, 10:03 | link
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
Roman | 11 October 2007, 15:17 | link
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
zed | 30 June 2008, 21:52 | link
Hi Zed, the example is in the sIFR demo that is included in the download.
Mark Wubben | 1 July 2008, 13:54 | link