Mootools and Ajax Tutorial

This video is part of a tutorial series that teaches how to use mootools javascript and AJAX to increase user experience.

Duration : 0:6:15



9 Responses to “Mootools and Ajax Tutorial”

  1. SlashDXXX Says:

    Wow, thx !!

    I just …
    Wow, thx !!

    I just discovered mootools and i am learning how it works, sure this helps a lot !

    Keep Up te good work!

  2. tomocchino Says:

    seriously, this man …
    seriously, this man knows nothing about mootools…

    this is some of the worst javascript ive ever seen, and he really does not know how to use the framework to its potential. since when is ‘copy / paste’ code reuse?

  3. helimeef Says:

    The onClick …
    The onClick attribute? What are you coding in, HTML 4? Dude use XHTML and do not mix content and presentation like that.

  4. jsuria Says:

    “since when is ‘ …
    “since when is ‘copy / paste’ code reuse?”

    Lol…it’s part of the workflow. Ever heard of convenience? Makes life easy ;)

  5. SchwarzeLocke Says:

    var ajax1 = new …
    var ajax1 = new Ajax(…);
    var ajax2 = new Ajax(…);

    window.addEvent(’ondomready’, function(){
    $(’link1′).addEvent(’click’, function(e){
    if(e) e.stop();
    ajax1.request();
    });

    $(’link2′).addEvent(’click’, function(e){
    if(e) e.stop();
    ajax2.request();
    });
    });

  6. SchwarzeLocke Says:

    var ajax1 = new …
    var ajax1 = new Ajax(…);
    var ajax2 = new Ajax(…);

    window.addEvent(’ondomready’, function(){
    $(’link1′).addEvent(’click’, function(e){
    if(e) e.stop();
    ajax1.request();
    });

    $(’link2′).addEvent(’click’, function(e){
    if(e) e.stop();
    ajax2.request();
    });
    });

  7. SchwarzeLocke Says:

    I’ve not tested …
    I’ve not tested that code, just typed it down, but it should work. Of course you’ve to adjust it to your code (like the ids for the links, adding the ajax-options..), and it’s not perfect. But I don’t want you to show the perfect solution (would be with arrays/objects) now, ’cause I’ve no time now :/

  8. SchwarzeLocke Says:

    Ohh jesus!

    I saw …
    Ohh jesus!

    I saw not the whole vid, but what I saw was shocking.

    A link with onclick=”new Ajax()..” phew..

    Type the folowing js code (next comment, it was to long) in a script tag in your head.

    That’s much more effective, well arranged and: it’s the way how mootools work.

  9. mauiweddingvideo Says:

    Thanks for sharing …
    Thanks for sharing your video. I realize there are many ways to do this and I want to give yours a try.

    It is really hard to read the code your writing could you post it so I could “Copy and Paste” it. Of course ill modifie the div tag.

    Blessings,
    Frederick

Leave a Reply

Posted on April 17th, 2007 by admin

Filed under Ajax |

|