Hello! I have recently discovered the beauty of event delegation and the best option for me was Intercept plugin. It is cool to bind only once certain events and then you are care- free.
But now I have more needs. I would like to "permanently" set some other behaviours to some kind of elements: clueTip, tooltip, thickbox, tabs.... for thickbox I managed, it was rather easy since TB uses an easy function: $(document).intercept("click", "a.thickbox, area.thickbox, input.thickbox", function(){ var t = this.title || this.name || null; var a = this.href || this.alt; var g = this.rel || false; tb_show(t,a,g); this.blur(); return false; }); but how can I use intercept for others? How can I "convert" this code to intercept? $('img.tips').cluetip({ 'attribute':'title', 'dropShadowSteps':3, 'width':'350px', 'sticky':'true', 'ajaxCache': true, 'hoverIntent' : { sensitivity: 3, interval: 250, timeout: 0 }, showTitle:false, ajaxSettings: { dataType: 'html' } }); Please advice... your help would be much appresciated!