sifr

sIFR and javascript events

Hello, I'm having a bit of trouble with sIFR and javascript: http://veda.onenw.org:8081/yes/yes/ (local instance) If you look in the top blue feature box where it cycles between the two images, you'll see that the word "featured" picks up sIFR styling, then loses it when the javascript event is triggered. Is there a way to make sIFR ...

Font licensing on the web?

I'd like to do nice typography on the web-- that is, fonts other than the limited set of "web safe" fonts. Reasonable choices (considering accessibility and SEO) seem to be Cufón or sIFR or maybe @font-face. Which approach has some blessing from font foundries? Are some foundries more web-friendly? I know there are free font houses, ...

Sifr and Javascript changing stylesheets (without a page refresh)

Hi there, I'm currently playing around with Sifr on my site. Basically I have some coloured blocks at the top of my page, which will change the stylesheets through javascript, depending on the colours you chose. I would like to know how I can get the Sifr h1/h2 tags to reload dynamically (no page refresh) onclick - if that's possible? ...

Sifr does not display custom/dynamic text

I am using the sifr plugin from here:http://jquery.thewikies.com/sifr/ and I have generated a swf using http://www.sifrgenerator.com/ I have build set to 436 and version set to 3. My page only shows the default text that was set inside the swf by the generator. When I try to set the content property to let's say 'hello', it still disp...

sifr3 - prefetch not working?

Hi there, I am having a problem with the loading times/size of an sifr 3 enabled site, and found out the the font swf is requested several times in my application. This can be seen in the network tab of firebug, as well as in the apache logs. On http://novemberborn.net/flash/prefetching-movies there are some instructions for prefetchin...

sIFR3 script error on closing IE8

I'm using sIFR3 r436, which works fine on IE8. There is only a small problem when you close the browser, it reports a script error and asks if the script's execution should be continued. The error is supposed to be in sifr.js, line: 17, character: 12171, error: object doesn't support property or method, code: 0. I hope this will help t...

"Rendered with sIFR 3, revision 436" appearing inline

I'm in the process of upgrading a client site to rev. 436 from an older version of sIFR 3, and can't for the life of me get the export to work correctly. I'm getting the following message when I view the .swf in the page or locally (via file://): Rendered with sIFR 3, revision 436 However, if I view the file directly (e.g., http://...

sIFR r436 - Warning: indexOf is not a function

note: cross-posted from joyent forums (http://discuss.joyent.com/viewtopic.php?id=25229) I might be crazy, but I keep seeing these messages in my flash debug log: Warning: indexOf is not a function I don't see these messages on the sIFR demo page, so it makes me think it is something I am doing on my end, regardless I was able to fina...

sIFR and changing the background..

Hey all, I'm using this code to change my sIFR (version 3) H1 and H2 tags dynamically (thanks to Mark Wubben for the code), but I need to change my H2 background color in the same function.. Can anyone help me get the code working? Apparently sIFR and changeCSS doesn't work for background colors.. function changeColor(hexValue) { var c...

IE won't display flash-content in a smarty-template (FF works fine)

Hello, since a few days I'm trying to figure out if we can use sIFR (2.0.7) for our shop. After the first testpages were running fine, I tried to implement it to our menu-template-file of the xcart-shop-system. I've written the needed blocks in {literal} parts for smarty and the new menu is looking fine in FireFox 3. Unfortunately our t...

determine when sifr is done?

How can I determine that sifr is finished running? I need to know the height of an element where there is sifr text on page load, but when I check the height, sifr has not yet completed and I get an incorrect value (the height of the element before sifr has been applied). And I definitely want to avoid having to place an arbitrary delay ...

Sifr causes bacground image to flicker on page load

Basically every time you refresh the page the browser clears the screen so it's completely white them paints everything real fast. this causes a noticeable jump when switching pages. Or refreshing a page. It is most noticeable in FF and least noticeable in safari with IE being in the middle. Is this fixable or just a con to using Sif...

Making animation on sIFR3

Hello all, Now I'm using sIFR3. It works very nicely. Additionally, I would like to put an effect on sIFR. My idea is that when the page loaded, sIFR(ed) texts change its color. For example, sIFR in list item change color one by one. The purpose is to emphasize the sIFR(ed) texts. Reading the document, I thought Flash filters are not for...

how to display custom quotation marks with sifr?

I have some text and quotation marks around it, but I want each of them to be a different font to be replaced by sifr. The problem is that the quotes need to go exactly around the text, but the text once turned into an tag becomes a block and the text isn't shaped necessarily like a rectangle. I thought about having the quotes be backgr...

Change font size of sifr text

Is there any way to alter the font size of sIFR text after it has been rendered? I am creating a virtual poster mock-up, and I want to be able to have the user alter the size of the text on the fly (and without a refresh). I've tried altering the font-size of the base text and changeCSS of the .sifr-root and .sifr-active, but can't see...

can text loaded with spry from an XML file be replaced by sIFR text?

I'm a relative newb when it comes to sIFR but I have managed to get it up an running before. I've never heard of this problem though. I have data loading via Adobe Spry into my page and then i'm trying to apply the sIFR replacement to that text once it's loaded. I can either get sIFR to replace the place holder text but then not load the...

text-align syntax for sifr?

I'm having trouble finding usage/syntax for the text-align feature of sifr. This feature goes inside the flashvars parameter correct? So would it be something like: sIFR.replace(fontname, { selector: 'h1', wmode: 'transparent', flashvars: 'textalign=center' }); I tried the above with no luck using r436 build. ...

SIFR 3 text resizing to fit width

Hi all, I'm using sifr 3 and trying to fit h1's on a single line but within a set width of 400px. By default, if there's too much text, it drops onto the next line. I've used forceSingleLine: true but then the text just stretches across the 400px width. Is there a method which will resize the text to fit in the width AND stay on a si...

How to get the click event on sIFR embedded tag in IE?

I have implemented Scalable Inman Flash Replacement (sIFR) to convert text. The issue is, I'm unable to do onClick event over the iSFR embed tags. $(function() { $("embed").click(function(){ alert('clicked over embed'); }); }); This works in Firefox but not in Internet Explorer. Can anybody help me? ...

sIFR and document.write within a javascript function

Hello, I am trying to style some html through a javascript loop which outputs the html through the document.write(); function. My CSS styles seem to come through correctly, however my sifr classes are not calling my flash file for some reason. I was thinking it might have something to do with the javascript document.write function I am u...