Mootools and Ajax Tutorial
9 Responses to “Mootools and Ajax Tutorial”Leave a ReplyPosted on April 17th, 2007 by admin Filed under Ajax | |
|
Mootools and Ajax Tutorial
9 Responses to “Mootools and Ajax Tutorial”Leave a ReplyPosted on April 17th, 2007 by admin Filed under Ajax | |
|
May 10th, 2007 at 9:30 am
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!
May 13th, 2007 at 5:48 pm
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?
September 4th, 2007 at 11:47 am
The onClick …
The onClick attribute? What are you coding in, HTML 4? Dude use XHTML and do not mix content and presentation like that.
November 5th, 2007 at 9:28 pm
“since when is ‘ …
“since when is ‘copy / paste’ code reuse?”
Lol…it’s part of the workflow. Ever heard of convenience? Makes life easy
December 18th, 2007 at 9:10 am
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();
});
});
December 18th, 2007 at 9:11 am
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();
});
});
December 18th, 2007 at 9:12 am
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 :/
December 18th, 2007 at 9:12 am
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.
January 27th, 2008 at 11:23 am
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