sIFR text not clickable in FF

dman - February 21, 2008 - 05:30
Project:Dynamic Rendering
Version:5.x-1.1
Component:sIFR plugin
Category:bug report
Priority:normal
Assigned:sun
Status:closed
Description

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>

#1

TC44 - February 23, 2008 - 19:21

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.

#2

dman - February 23, 2008 - 22:38

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!

#3

dman - February 23, 2008 - 22:44

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 ...

#4

sun - February 24, 2008 - 00:45
Status:active» patch (code 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.

#5

TC44 - February 25, 2008 - 20:58

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

Tested on Firefox and Safari on OSX.

#6

dman - February 25, 2008 - 21:51

..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 ?

#7

dman - February 25, 2008 - 22:32

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...

#8

TC44 - February 26, 2008 - 21:44

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

#9

dman - February 26, 2008 - 23:00

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.

#10

samhassell - February 27, 2008 - 07:06

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

#11

schoenae - March 11, 2008 - 12:33

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.

#12

streetdaddy - March 24, 2008 - 12:43

+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.

#13

mortendk - May 4, 2008 - 14:08

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

#14

sun - May 13, 2008 - 23:23

Can someone else confirm that morten's solution works?

#15

streetdaddy - May 25, 2008 - 06:21

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?

#16

Mlinka - June 1, 2008 - 16:36

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

#17

sun - June 1, 2008 - 17:33
Version:5.x-1.x-dev» 5.x-1.1
Assigned to:Anonymous» sun

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.

AttachmentSize
render-DRUPAL-5.hovercolor.patch2.12 KB

#18

trish t - June 3, 2008 - 15:46

subscribing

#19

sun - June 4, 2008 - 02:17
Status:patch (code needs review)» fixed

#20

his_dudeness - June 4, 2008 - 15:41

how do i have to use this patch?

#21

streetdaddy - June 10, 2008 - 06:34

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

#22

skassam - June 24, 2008 - 03:17

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.

#23

Anonymous (not verified) - July 8, 2008 - 03:24
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.