A place where the Joyent community can gather, help each other out, and stay informed.
You are not logged in.
When I make sifr text a link with a hover-over effect, it seems to work okay most of the time. However, there are a few times when it goes into some kind of disabled mode. By disabled mode, I mean the hover-over effect is lost, and the text does not appear clickable.
Here's what happens. If I load my page, and immediately move my mouse over the clickable sifr text, everything seems to work fine. However, if instead of hovering over the text, I scroll around the page with the mouse wheel, and then go back to hover over my clickable text, the mouse pointer doesn't change, and the text appears to be normal, non-clickable text.
Now, once it enters this "disabled" state as I'm calling it, if I click the text once, it's as if it reactivates it. It's almost like it has to turn the flash movie back on or something, I dunno? So if I click it once, the action doesn't follow the link, but it re-enables the hover-over effects and makes my text clickable again. Then, if I click it a second time, it will actually take me to my intended destination.
Does anyone know what's causing this? While this isn't my page, the same thing happens here if you go to this site (from another joyent user):
http://positivskateboards.com/
Try going to that page and scroll around with the mousewheel first, and then click the "Positiv" text in the top right.
Note: I'm using Firefox 2.0.
Thanks,
Dustin
Offline
As a follow-up, I tried checking some example sifr sites from a google search, and these sites have the same problem with the hover-over effect getting dropped if you scroll around the page:
http://flashability.hotmc.com/
However, another site doesn't have this problem at all:
http://www.mikeindustries.com/blog/
Interesting...
So I started playing with my sifr settings, and it ends up if I turn off wmode: transparent in my config, the links work flawlessly in firefox.
So the next obvious question, how do I get around this with transparency turned on, or is it a bug in sifr?
Thanks,
Dustin
Offline
Yea, this is a known issue with Firefox on Windows. In sIFR 3, setting fixFocus: true in sIFR.replace() activates a workaround.
Offline
Hallelujah! Thanks Mark! And ditto Davis... have been looking for a solution to this for a couple hours - works like a charm!
Offline
I wasn't able to get this to work on links that had a parent list item with 'display:inline' in the css. Luckily, I didn't need the background to be transparent in this instance, so removing "wmode: 'transparent'" did the trick.
Last edited by thejiggerypokery (2009-01-27 10:51:06)
Offline