So I’ve got this working so far:
<script type="text/javascript">
window.addEvent('domready', function() {
$('casestudies').addEvent('click', function( ){
$('gomobileinfo').setStyle('margin-left', '-500px');
});
});
</script>
really simple, and works fine; basically slides a div to the left. But I’m trying to make it transition smoothly instead of immediately. I know it would be really simple to use tween or morph with MooTools 1.2, but I have to use version 1.1 for this project.
You can use
Demo:
http://jsfiddle.net/A5fVx/
P.S. this MooTools version is REALLY old, you should upgrade and/or tell to the boss to upgrade.