私は、コードを次が、そのは私が望むように動作していないしようとした私のページのrightsideコーナー2分ごとにdivコンテンツを表示する方法は?
#notification
= link_to "Tomorrow there are <span>#{@current_user.reminders.size}</span> events".html_safe,events_path
上のすべての2分後に次のコードを表示したい...
function notification()
{
$("#notification").show("slow").delay(800).fadeout(400);
}
どうすればいいですか?
最初のスニペットはかなり奇妙に見えること。 – Jivings