I noticed that it would be better to stay with older version as then I
have to do lesser amount of changes.

Can you please tell me what is the OLDER version of this code-block -
(this code runs perfectly under new version of mootools)

[code=text]
window.addEvent('domready', function() {

    var el = $$('div.tab-page').addClass('tab-content');

    $$('h2.tab').addEvent('click', function(e) {
        e.stop();
        el.fade('hide');
        el.set('tween', {duration: 'long'});
        el.tween('opacity', [0, 1]);
    });
});
 [/code]

Reply via email to