I've tried it under different themes, I've tried it with different swf font compiles, including the distro ones, but I just can't get the click to work.

The mouseover effect happens just fine, but clicking in FF2 does nothing.
I can't see any action from popup-blockers.
Tracing in firebug shows me nothing.
It actually works in IE. (!)

:(

With my selectors as [.node h2] or [.node h2 a] I get the scary code below according to firebug... but no action. The second one isn't actually much good, but it was worth a try.

<h2 class="sIFR-replaced">
<embed class="sIFR-flash" width="707" height="25" src="/sites/thevintageaviator.monster/files/render/vandenkeere.swf" quality="best" flashvars="txt=<a href=%22asfunction:_root.launchURL,0%22>RAF SE5a Production Line</a>&textalign=left&textcolor=#000000&hovercolor=#666666&linkcolor=#000000&w=707&h=25&sifr_url_0=/story/2008-02-21/raf-se5a-production-line" wmode="" bgcolor="#FFFFFF" sifr="true" type="application/x-shockwave-flash" style="width: 707px; height: 25px;"/>
<span class="sIFR-alternate">
</span>
</h2>
<h2>
<a class="sIFR-replaced" title="RAF SE5a Production Line" href="/story/2008-02-21/raf-se5a-production-line">
<embed class="sIFR-flash" width="228" height="22" src="/sites/thevintageaviator.monster/files/render/vandenkeere.swf" quality="best" flashvars="txt=RAF SE5a Production Line&textalign=left&textcolor=#000000&hovercolor=#666666&linkcolor=#000000&w=228&h=22" wmode="" bgcolor="#FFFFFF" sifr="true" type="application/x-shockwave-flash" style="width: 228px; height: 22px;"/>
<span class="sIFR-alternate">RAF SE5a Production Line</span>
</a>
</h2>
CommentFileSizeAuthor
#17 render-DRUPAL-5.hovercolor.patch2.12 KBsun

Comments

TC44’s picture

Same issue here as dman, but I also cannot click siFR text links at all in Safari or Firefox on Mac OSX. Underline and hover works though.

dman’s picture

seeing as it's not just me, this looked worth looking into.
Unfortunately, even links on the official sifr demo are not clickable! (The headline should go to the homepage)

So there's a problem with the library!

dman’s picture

Here it is!!!
http://novemberborn.net/sifr/2.0.5
it was a Flash upgrade that broke sifr. Going to see if it can be fixed now ...

sun’s picture

Status: Active » Needs review

I've updated download and troubleshooting links in the readme. Please report back if upgrading to the latest version of sIFR fixes this bug.

TC44’s picture

The update seems to work great for me now, thanks very much!

Tested on Firefox and Safari on OSX.

dman’s picture

..No joy for me yet. Firefox WinXP.

I've tried sifr.module (both DRUPAL-5 and HEAD) against novemberborn SIFR 2.0.5 and the default mikeindustries SIFR 2.0.2

... do you mean go for sift3 ?

dman’s picture

update - on a different machine it's good.
May have just been browser cache ... or something with my exact flash version. Wasn't sure how to check that.
So better... still need to check again at home...

TC44’s picture

seems to have stopped working again for me. I'm going to try and reinstall..

dman’s picture

Seems to be requiring a double-click for me now. Mouseover doesn't work until I've clicked it once :-/
I guess it's to do with the flash-activation-patent requirement bug.

samhassell’s picture

Same issue here. Cant click the links, also cant select each character separately. Double click doesnt work for me either.

afox’s picture

I had problems also. Upgraded sIFR to 2.0.5 and still no good. The problem was resolved by removing the a -tags css selectors!!! For example, I needed to assign the sIFR to selector ul#topMenu li instead of ul#topMenu li a Also remove the ul#topMenu li a -selectors from CSS.

streetdaddy’s picture

+1. I've also tried upgrading sIFR 2.0.5 and no joy... In my case I'm using a fresh install of Drupal 5.7 with Garland theme, and the CSS selector in question is simply #center h2. Hover works fine, but linky is broke in FF2.

mortendk’s picture

a way to fix this is to remove the hovercolor from the rules
that seems to cause the probmlems with the flash 9 release (which also screws up safari 3)

to fix this problem just comment out the hovercolor from sift.inc
it might be a good idea to remove the hovercolor as an option in the module?


function sifr_render_rules($rule) {
$fontstyle = array();
$fontstyle['font'] = substr($rule['font'], strrpos($rule['font'], '/') + 1);
$fontstyle['colors'] = array(
'color' => $rule['color'],
'linkcolor' => $rule['linkcolor'],
// 'hovercolor' => $rule['hovercolor'],
'bgcolor' => $rule['bgcolor'],
);

return $fontstyle;
}

cheers
/mdk

sun’s picture

Can someone else confirm that morten's solution works?

streetdaddy’s picture

I applied morten's solution but the hover color still seemed to be applied after numerous clear cache and browser refresh.

However,

In addition to morten's solution, I commented out line 273 in plugins/sifr.inc:

//$properties['sHoverColor'] = $rule['hovercolor'];

I can confirm that sIFR links now work in IE7 and FF.

Can anyone confirm this for other browser/OS combinations?

Mlinka’s picture

jup. removing hover worked for me too. FF/2.0.0.14 & Opera 9.26

sun’s picture

Version: 5.x-1.x-dev » 5.x-1.1
Assigned: Unassigned » sun
StatusFileSize
new2.12 KB

Please test attached patch. It would be great if you could revert to 5.x-1.1 first, apply the patch, and invoke update.php. All sIFR rules should not contain a hovercolor afterwards.

brst t’s picture

subscribing

sun’s picture

Status: Needs review » Fixed
marcel tuchek’s picture

how do i have to use this patch?

streetdaddy’s picture

his_dudeness: instructions for applying patches can be found here: http://drupal.org/patch/apply

skassam’s picture

I had the same issue of updating to Sifr 2.0.5...Links still did not work with hovercolor. But as soon as I recreated my font swf file using 2.0.5 everything worked fine.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.