I have the following:
setTimeout(function()
$('.golden').animate({
opacity: "1",
top: "84px"
}, 'slow');
}, 1000 );
It returns Unexpected identifier.
But if I just do this:
$('.golden').animate({
opacity: "1",
top: "84px"
}, 'slow');
it works.
What could be the problem?
You don’t have the correct syntax. Use this :