Hello all,
I'm new to this kind of scripting. I've managed to get my mouseover command working:
- $('#saves_money').mouseover(function() {
- $('.service_hide').hide();
- document.getElementById('saves_money').innerHTML = '<img src="img/saves_money_over.jpg" />'
- return false;
- });
But I want it to undo itself when the cursor leaves... I tried:
- $('#saves_money').mouseout(function() {
- $('.service_hide').hide();
- document.getElementById('saves_money').innerHTML = '<img src="img/saves_money.jpg" />'
- return false;
- });
But it didn't work. What's the syntax to make this happen?