I have implemented pointer-events: none
on a Raphael element using jQuery like this:
var raphaelElement = Raphael.ellipse(x,y,w,h);
$(raphaelElement.node).css({'pointer-events': 'none'});
This works fine but of course in IE8, Raphael uses VML instead of SVG and this solution fails.
Does anyone have another solution to essentially make a Raphael element ignore events.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…