views:

271

answers:

0

How do I catch onclick events in sIFR? I know I'm meant to use onRelease, but can't figure out how. I've been looking high and low for a solution to use it in combination with jQuery ui tabs, which is triggered with this function:

$(function() {
  $("#tabs").tabs();
});

I've tried simply inserting it like this, obviously without any luck:

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'
});