Wednesday, January 3rd, 2007
ExpressionEngine Ajax Resources
<p>Jamie Pittock has launched a new ExpressionEngine site and has a couple of articles covering the building of Ajax applications using the PHP framework.In ExpressionEngine and Ajax Jamie covers adding some simple features to an ExpressionEngine application using the Prototype framework and Behaviour.
-
-
var myrules = {
-
'ul#thumbs li a' : function(el){
-
el.onclick = function(){
-
var title = this.id
-
new Ajax.Updater('featured', '/gallery/_gallery-ajax/'+title, {
-
asynchronous:true,
-
evalScripts:true,
-
onComplete:function(request, json){
-
Element.hide('indicator')
-
},
-
onLoading:function(request, json){
-
Element.show('indicator')
-
}
-
});
-
return false;
-
}
-
}
-
};
-
Behaviour.register(myrules);
-
Jamie also put together a proof of concept for the good ole To Do List application, all within the time it took his girlfriend to get ready for a night on the town.
Related Content:











It’s very beautifully.