Canvas related issue with IE

4 views
Skip to first unread message

Sriram Krishnan

unread,
Sep 5, 2009, 2:37:55 PM9/5/09
to wir...@googlegroups.com
Experts,
              I am trying to connect 2 jsbox in a portal environment(Liferay Portal) .
This works fine on  FF..But having a tough time with IE8.. The boxes render fine but I don;t see the connecting wires..I am using  WireIt-0.5..
The Debugger says   "Object doesn't support this property or method "  at line "el.getContext("2d").clearRect(0,0,width,height); " in CanvasElement.js

Also "if(typeof (G_vmlCanvasManager)!="undefined")" returns false..

Any pointers to this would be of great help..I am not sure if I've given sufficient data about the issue..Pls let me know if I need to provide more info..

Thanks
Sriram

Eric Abouaf

unread,
Sep 14, 2009, 6:36:14 AM9/14/09
to wir...@googlegroups.com
Hi,

Did you include the excanvas library ?
<!-- Excanvas -->
<!--[if IE]><script type="text/javascript" src="path/to/lib/excanvas.js"></script><![endif]-->
Can you reproduce the bug outside the Liferay portal environment ?

Eric



--
Eric Abouaf
eric....@gmail.com
Tél: 06 29 86 37 89

Sriram Krishnan

unread,
Sep 15, 2009, 3:12:21 AM9/15/09
to wir...@googlegroups.com
After adding  excanvas  library to the head section the issue is resolved..Thanks you so much.

Sriram
Reply all
Reply to author
Forward
0 new messages