intoxicated_curveball
asked on
Zepto not working
Hi I'm trying out the zepto.js library because it's so small...
I wrote the simplest line:
$('#content').animate({opa city: 0.25}, 0.5);
But it doesn't work, nothing happens?
I wrote the simplest line:
$('#content').animate({opa
But it doesn't work, nothing happens?
ASKER
Still doesn't work. I think it's the library failing, I might try another library, I don't think this one is very good?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the duration should be in milliseconds. You probably meant 0.5 secs. If that is the case try:
$('#content').animate({opa
Also, make sure you call it once #content is ready/available:
Open in new window