Hi,
Firstly you should use absolute url paths in the script src. 
"<canvas>" is not a valid w3c html tag.
Thanks,Aakash Bapnahttp://aakash.me> Date: Tue, 11 Nov 2008 06:16:37 -0800> 
Subject: [orkut-developer] excanvas with orkut> From: [EMAIL PROTECTED]> To: 
[email protected]> > > 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>> > 
_________________________________________________________________
Color coding for safety: Windows Live Hotmail alerts you to suspicious email.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
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