sifr

Can I have a horizontal multiple colour gradient on text using CSS3 / HTML 5?

∥☆過路亽.° 提交于 2019-12-18 05:13:08
问题 I'm trying to replace a sIFR based flash effect currently used on a website with CSS 3 styling. I have the text gradient effect working well using CSS 3 but the original sIFR implementation had multiple colours rather than just a simple gradient of one colour to the next. Can someone provide me an example of styling a text element such as an H2 using multiple colours along the horizontal axis? Thanks, Brian. 回答1: Here is sample SVG code - tested with FF4, Safari 5, and Chrome. Note that you

SIFR 3 text resizing to fit width

拜拜、爱过 提交于 2019-12-14 03:05:28
问题 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 single line? Thanks 回答1: This was the behavior of sIFR 2, which resulted in inconsistent font sizes. This has been fixed in sIFR 3, so what you're trying to achieve is only

sifr3 - prefetch not working?

て烟熏妆下的殇ゞ 提交于 2019-12-13 16:18:15
问题 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 prefetching. However that does not work, the prefetch Method is not available (still in the docu!). I understand that prefetching is done automatically, however that does not seem

sIFR 3 r4.36 has problem with Flash 8

你说的曾经没有我的故事 提交于 2019-12-13 01:33:35
问题 I cannot export any font with Flash 8 using sIFR 3 r4.36. Flash 8 always shows the following error message. Any idea why? ** Error ** Scene=Scene 1, layer=code, frame=1:Line 19: The class or interface 'sIFR' could not be loaded. import Options Total ActionScript Errors: 1 Reported Errors: 1 回答1: Make sure the sifr.fla file and the ActionScript files are in the same directory. 来源: https://stackoverflow.com/questions/1006620/sifr-3-r4-36-has-problem-with-flash-8

Why do designers use sIFR if they can use @font-face?

拈花ヽ惹草 提交于 2019-12-12 19:24:59
问题 Why do designers use sIFR if they can use @font-face ? What is wrong with @font-face ? @font-face { font-family: "Hacen Tehran_eot"; src: url('Hacen Tehran.eot'); } @font-face { font-family: "Hacen Tehran_ttf"; src: url('Hacen Tehran.ttf'); } p { font-family:"Hacen Tehran_eot", "Hacen Tehran_ttf", sans-serif; font-size:40px; } 回答1: What is wrong with @font-face ? It's new, or at least compatible browser support for it is new. Until very recently, the only browser to support it was IE, and

Font wont export out

坚强是说给别人听的谎言 提交于 2019-12-11 15:04:31
问题 I can get sIFR to work but it will only display the bold version of the font I have exported. I checked the report and it seems to be stripping out any font weight that is not bolded in flash. I exported two different files to test, the first with regular and bold and the second with medium and semibold in both cases only the bolded weights were exported. Any ideas on how to fix this? 回答1: When exporting the Flash movie, make sure at least one character in the text field has the styles

sifr jquery slide conflict show

本秂侑毒 提交于 2019-12-11 14:44:57
问题 I'm using jquery cycle plugin by malsup for a slide show that includes text. I want sifr to replace the text. It does so on the first slide, but not the subsequent ones. Any idea what might be done so that sifr is applied to the text on each slide as it is displayed? Here's my sample page (I've made the sfir text blue and green so I know immediately it it works--it does work in FF 3.6, but not Safari 5.0.3 or Chrome 8 on my Mac... http://ianmartinphotography.com/test-site/testimonials/index

Does sifr 3 works in all desktop's A-Grade browsers?

扶醉桌前 提交于 2019-12-11 12:10:20
问题 Does sifr 3 works in all A-Grade browser if css, javascript is enabled and flash player is installed. A-Grade browser http://easycaptures.com/fs/uploaded/448/6837085829.png and which Flash player version is needed to see sifr 3 text in all browsers. 回答1: In short, yes. See below links for verification. From their documentation: Supported Browsers How to Use (States to use Flash 8 in the build settings, which means 8 is the min version. Flash penetration stats here) 来源: https://stackoverflow

sIFR jQuery toggle, not working in FF3

陌路散爱 提交于 2019-12-11 08:48:32
问题 I have a sIFR replaced H2 link that simply toggles (w/ jQuery) another div on and off. 'Seems' to work in all browsers but Firefox 3. Any thoughts ? <ul id="titlenav"> <li><h2><a href="javascript:void()">Title</a></h2> <ul id="titlemenu"> <li>1</li> <li>2</li> <li>3</li> </ul> </li> </ul> $('#titlenav h2').click(function() { $('#titlemenu').Toggle(); }); My siFr replace config and css is ultra simple and sIFr links generally work, just not jquery functions. Im using ; - jquery-1.3.1 - sIFR 3

sIFR load before rest of page?

浪子不回头ぞ 提交于 2019-12-08 05:40:27
Is it possible to have sIFR "preload" or load before the rest of the page content? At present it is the last thing to load (due to the text position) and as it's quite an obvious part of the page I get a huge mash-up of text replacement all in a quick flurry which is not very appealing. It looks like the site is having an epileptic fit. Once loaded, all is fine though :) Any work-arounds to the load-fitting? Cheers Hugh There are a two separate issues here: Replacing the elements as soon as possible Making the replacement as painless as possible For #1, sIFR by default replaces the elements on