I've tried to use the excanvas script for my orkut app, but when i run
the app the message "Object does not support this method"..
I'm using a XML that look like this:

<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Teste script externo">
<Require feature="opensocial-0.8"/>
<Require feature="views"/>
</ModulePrefs>
<Content type="html">
<![CDATA[
<script src="./excanvas.js></script>
<script>
var canvas, ctx;

function init() {
canvas=document.getElementById('cv');
ctx=canvas.getContext('2d');
}
</script>
<script>gadgets.util.registerOnLoadHandler(init);</script>
<canvas id='cv' style='display: none' width='500' height='400'></
canvas>
]]>
</Content>
</Module>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to