Hi
I was just wondering if there was any way of doing the same as this but using Mootools.js instead of fleegix. (it seems daft to load another js library when mootools.js is already there)
Also, I don’t need the ’alert msg’ appear once the link has been clicked.
I’ve been looking into it but can’t get my head around how to do it. The mootools docs only seem to have a brief example and my understanding of js is rather poor at the moment.
I though about trying some thing with this
$(’myElement’).addEvent(’click’, function(){alert(’clicked!’)});
but then
new Ajax(url, {method: ’get’}).request();
seems closer to what i’m already using.
Any advice is much appreciated