Hello,
I have this mootools code, but need it working by using jQuery...

i'm try convert this but looks that i need more than basic knowledge


Code: 
var ajaxSpiner = new Element('img', {
    src: 35.gif', width: '20px', height: '20px'
});

var func_checkEventsQuick = function() {
    try {ID = $$('div.rsbElement')[0].getProperty('stream');}
    catch(err) {ID=null}

    // AJAX
    var postURL = 'sfunc.php';
    var AjaxReq = new Request.HTML({
        url: postURL,
        data: 'stream='+ID,
        method: 'get',
        timeout: 5000,
        onRequest: function(){ 
            $('rsd_title').adopt(ajaxSpiner);
        },
        onSuccess: function(responseTree, responseElements, responseHTML) {
            $('rsd_title').getChildren('img').destroy();
            if(responseHTML != '0') {
                responseTree[0].setStyles({'opacity': 0, 'height': 120});
                $('r_side_cont').grab(responseTree[0], 'top');              

                (function(){ $$('div.rsbElement')[0].tween('height', 120); }).delay(0);
                (function(){ $$('div.rsbElement')[0].fade('in'); }).delay(200);

    Element.implement({
        fadeAndDestroy: function(duration) {
        duration = duration || 400;
        var el = this;
        this.set('tween', {
        duration: duration
            }).fade('out').get('tween').chain(function() {
        el.dispose();
    });
}});

                if($$('div.rsbElement').length >= 7) {
                    (function(){ $$('div.rsbElement')[7].fadeAndDestroy(); }).delay(0);
                }
            }
        },
        onFailure: function(){
            //alert('Request failed. Please try again');
        }
    });
    AjaxReq.send();
}

Function.attempt(function(){clearInterval(timercheckEventsQuick);});
timercheckEventsQuick = func_checkEventsQuick.periodical(10000);

Is there anyone who can help me to convert this code?
AmN Reviewed by AmN on . Need help to convert Mootools code to jQuery? Hello, I have this mootools code, but need it working by using jQuery... i'm try convert this but looks that i need more than basic knowledge :( var ajaxSpiner = new Element('img', { src: 35.gif', width: '20px', height: '20px' }); Rating: 5