Hi

Iam writing an app wherein i drag and drop elements within 
JSVGCanvas object. While dragging the element (which is an 
image icon) I want to change the cursor shape to be that of 
the image. I did that by doing svgCanvas.setCursor
(customCursor). but when i start moving the mouse the cursor 
reverts back to default. I fixed it by setting pointer-
events attribute to "none" on the svg root element. but 
again if child elements had mouseover or any other script 
functon calls then the cursor was getting reset. 

I found in the archives that Thomas had suggested using 
CursorManager class to set the DEFAULT_CURSOR. I tried 
extending CursorManager and added get/set method but I am 
struck as to how to update the CursorManager the proper way!!
any ideas/code snippet?
or is there a way i can disable scripting on the svg 
document before doing the drap and drop and later enable 
scripting 
after the drop.

Thanks in advance for your help
Chandra

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to