如何在 sIFR 中捕获 onclick 事件?我知道我打算使用 onRelease
,但不知道如何使用。我一直在寻找将其与 jQuery ui 选项卡结合使用的解决方案,该选项卡由以下功能触发:
$(function() {
$("#tabs").tabs();
});
我试过像这样简单地插入它,显然没有任何运气:
sIFR.replace(AkzidGroLight, {
selector: '#tabsNav h4.Berthold-light',
onRelease: function(fi) { $('#tabs').tabs(); },
css: [
'a {text-align: center; display: block; text-decoration: none; letter-spacing: -0.5;}',
'a:link { color: #333333; }' ,
'a:hover { color: #999999; }'
],
offsetTop: 5,
tuneHeight: 5,
wmode: 'transparent'
});