change cursor for Internet Explorer
Submitted by iswariak on Mon, 2008-10-20 03:47
Hi all,
I would like to change the cursor for an svg element. I have added cursor = "pointer". It worked in Firefox but no changes in internet explorer. How to implement the same in IE.
Example:
<path id="Bark_color" fill="#CC6633" stroke="#7F7F7F" stroke-width="0.0762" d="M53.2445 65.3587c-1.2046,33.7008 -2.2673,94.6301 -2.3701,108.647 -4.4777,0.0497 -33.5805,-0.0814 -36.5016,-0.0292 12.3707,-25.0294 22.6661,-65.0785 32.6678,-108.029 2.9474,-7.9144 5.2534,-2.9172 6.2039,-0.5894z" onclick="parent.showquest('Bark_color')" cursor="pointer">
Thanks
Iswaria
------
To provide pointer cursor, I have added tag before the path tag and it is working fine in IE.
Iswaria
Comments
Adobe SVG viewer 3.03,
Adobe SVG viewer 3.03, normally used in IE to display SVG, does not support cursor attribute. There is a beta-version of Adobe SVG viewer 6 that supports cursor, if I recall correctly. I don't recommend using Adobe SVG 6 unless it solves a specific problem and you have a small audience.
I used tag to provide
I used tag to provide pointer symbol and works fine in IE.
Post new comment