Ok, you need to pass the handler function to the unmouseover request:
// Creates canvas 320 Γ 200 at 10, 50 var paper = Raphael(10, 50, 320, 200); // Creates circle at x = 50, y = 40, with radius 10 var circle = paper.circle(50, 40, 10); // Sets the fill attribute of the circle to red (
http://jsfiddle.net/GexHj/1/
This is what f about. You can also use unhover() :
circle.click(function (event) { this.attr({fill: "blue"}); this.unhover(mouseover, mouseout); });
http://jsfiddle.net/GexHj/2/
source share