Код: Выделить всё
pulsem(elementid){
var element = document.getElementById(elementid)
jquery(element).pulse({opacity: [0,1]},
{ duration: 100, // duration of EACH individual animation
times: 3, // Will go three times through the pulse array [0,1]
easing: 'linear', // easing function for each individual animation
complete: function() { alert("I'm done pulsing!"); }
})
[url=city.htm]
[img]waterloo.png[/img]
[/url]
Подробнее здесь: https://stackoverflow.com/questions/300 ... ith-jquery
Мобильная версия