摘要:
以前一直都在用jquery,突然转到mootools,很多语法结构不太适应,不过没关系,我们可以给Mt加扩展让他的语法结构像jquery那样这一点在Mt上实现起来并不难,可是如果要让jquery模仿Mt是没办法的. Element.implement({ //EVENTS bind:function(type,fn){//$('simple').bind('click mousewheel contextmenu',function(){alert('sh')}).alert('link'); type.split(' & 阅读全文