I just started using jQuery and I love it. Don't know how I lived without it.
I started off small by doing some basic showing and hiding, and fading in, then fading back out. It works great.
My problem occurs when I decided to use the "&" symbol for my jQuery variables instead of the normal "$" (isn't that right?). I don't really like the look of the $ sign as it reminds my of my mortgage payment thats 3 months overdue. But I had to have this new MacBook Pro retina display...anyway I diverge.
So I'm trying to do basic stuff using the &, like so:
&('body').show('superfast');
But it's not working. I also tried to make all of the blink tags on my page blink twice as fast like this:
&('blink').animate({
'speed': 'faster'
})
Lastly when the user puts their mouse over any of the images on my web page I want to play a cat sound...my website sells massage therapy sessions for dogs and the cat sound will probably make them happy right? I tried this:
&('image').mouseover(function(){
var audio = new Audio("noise.mp3");
audio.play();
});
Can somebody help me please? I really don't want to use the $ because it makes me realize all of the money I'm losing from my webpage until this code runs. Help?