嗨我正在使用拉斐尔的路径,我想知道如何使这条路径可点击并点击后让fancybox启动
我的路径:
paper.path("M172.25,647 L381.75,640.75 L422,641.75 L422,665 L415.75,679.5 L402.75,679.5 L401.25,667 L393.751,665 L363.625,665 L352.005,671.673 L346,673 L338.625,677 L172.25,672.5 Z").attr({"fill":"white", "stroke-width": 0, "fill-opacity": .4}).mouseover(
function () {
this.animate({"fill-opacity": .8}, 600);
}).mouseout(function () {
this.animate({"fill-opacity": .4}, 600);
});