4

如何在 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'
});
4

1 回答 1

0

wmode 透明是越野车越野车。首先删除它,看看行为是否改变。万一您的回调有问题,请在其中放置警报或 console.log 以确保它实际上被调用。

于 2012-05-14T21:08:57.567 回答