").text(a[a_idx]); a_idx = (a_idx + 1) % a.length; var x = e.pageX, y = e.pageY; $i.css({ "z-index": 999999999999999999999999999999999999999999999999999999999999999999999, "top": y - 30, "left": x - 10, "position": "absolute", "font-weight": "bold", "color": "#fbb331" }); $("body").append($i); $i.animate({ "top": y - 160, "opacity": 50 }, 1500, function() { $i.remove(); }); }); });