sIFR jQuery切换,在FF3中不起作用 [英] sIFR jQuery toggle, not working in FF3
问题描述
我有一个sIFR替换的H2链接,可以简单地打开和关闭另一个div(带有jQuery). 似乎"可以在除Firefox 3之外的所有浏览器中使用.有什么想法吗?
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();
});
我的siFr替换config和css非常简单,并且sIFr链接通常可以正常工作,只是不能使用jquery函数.我正在使用 ; -jquery-1.3.1 -sIFR 3 R 427
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 R 427
欢迎任何建议.我对这一切都很陌生.
Any advice welcomed. I'm pretty new to all this.
推荐答案
问题是Flash上的click事件不会传播到h2
元素.查看 onRelease
回调,您可以将其指定为
The problem is that the click event on the Flash doesn't propagate to the h2
element. Check out the onRelease
callback, which you can specify as an argument to sIFR.replace
. It's fired whenever you click on a replaced Flash movie.
这篇关于sIFR jQuery切换,在FF3中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!