Argh, I can't see the error in this code ?
[Link]
$(".box").click(function() {
$('#circle').animate({height: '-=900px'}, 1300,'linear'); });
You were missing the curly braces and the 'px'. The '=' isn't required.
I changed the final parameter to linear, switch it back to easeOutBounce, or whatever it was before. I couldn't remeber if that was a correct animation so I went with linear while I tested it.
I changed, before replying :)
Do you have the correct plugin available? unless my knowledge is outdated the jQuery UI lib is needed to use effects byond swing and linear
jQuery Lib, 1.10.4 has always been on my page !
OK, I don't why this is the case but if you remove the top:80px from your CSS it works. With the CSS top still there you can do top, left and right just not bottom.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.