sIFR 链接在 Firefox 3.6 中滚动后失去焦点
我在以前版本的 Firefox 中注意到了这个问题,滚动后 sIFR 链接变为非活动状态,需要单击才能再次成为链接。解决这个问题的方法相当简单,只需要您在 sIFR 配置中添加“fixFocus: true”即可。
不幸的是,当我升级到 Firefox 3.6 后,此修复程序不再起作用。我只是想知道是否有其他人遇到过这个问题并知道是否有解决方法。我们在许多网站中使用 sIFR 链接,因此这是一个非常严重的错误!
如果有人可以帮助*更新,请提前致谢
- 似乎是添加了使用 wmode:“透明” - 如果我将其取出,修复焦点将再次起作用。但这仍然是一个问题,因为我们的大多数链接都需要透明
I've noticed this issue in previous versions of Firefox whereby after scrolling sIFR links become inactive and need to be clicked in order to become links again. The fix for this was fairly straightforward and just required you to add 'fixFocus: true' in the sIFR config.
Unfortunately when I upgraded to Firefox 3.6 this fix no longer works. I'm just wondering if anyone else has come across this and know if there's a workaround. We use sIFR links in loads of our sites so this is a pretty bad bug!
Thanks in advance if anyone can help
*update - it seems like it's the addition of using the wmode: 'transparent' - if i take this out the fix focus works again. Still a problem though as most of our links need to be transparent
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,这是一个浏览器问题,而且现在已经是一个相当老的问题了。 sIFR 中没有更好的解决方法。
Yea, it's a browser issue, and a rather old one by now. There's no better workaround available in sIFR.
当 wmode 设置为透明时,使 sIFR 链接在 firefox 中正常工作的一个技巧是将该 CSS 代码添加到要替换的类中:
在此示例中,fontname 是确定替换哪些标签的 CSS 类。
A trick to make the sIFR links work fine in firefox when having the wmode set to transparent, is to add that CSS code to the class that is being replaced :
In this example, fontname is the CSS class that determines which tags are replaced.