you can use js in canvas view and not in profile view


On Wed, Nov 18, 2009 at 5:51 PM, Nong <[email protected]> wrote:

> Hi all,
>
> I have an orkut application that is already running.
>
> In the application , I add javascript code(internal and external) but
> all the script tag is omitted in the output page.
>
> I use mozilla firebug in the application iframe, but I didnt see any
> script tag that i added.
>
> Can anyone tell me what is wrong with it. The output page does not
> have any script tag...so I am not able to put any javascript function
>
> the structure of the xml is given below:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <Module>
>  <ModulePrefs
>        title="some"
>    author="some"
>    author_email="[email protected]"
>    description="descccccccccc."
>    screenshot="http://somedomain.com/i/gadget.png";
>    thumbnail="http://somedomain.com/i/gadgetthumb.png";
>    lang="en"
>    country="in"  scaling="true"
>     >
>        <Require feature="settitle"></Require><Require feature="dynamic-
> height"></Require><Require feature="views"></Require><Require
> feature="opensocial-templates"></Require><Require
> feature="opensocial-0.8"></Require><Require feature="rpc"></
> Require><Require feature="flash"></Require><Require
> feature="minimessage"></Require><Require feature="opensocial-data"></
> Require><Require feature="tabs"></Require><Require feature="skins"></
> Require>
>     </ModulePrefs>
>
>
>  <Content view="profile" type="html">
>     <![CDATA[
>    <!-- keyyyyyyyyyyy -->
>      <script type="text/javascript">
>  function init() {
>          alert("Alert : This is testing alert. It will be removed
> very soon");
>        }
>        gadgets.util.registerOnLoadHandler(init);
> </script>
>
>    <style type="text/css">
> .lpost li a:hover{      color:red;}
>    </style>
> <script src="http://somedomain.com/j/jquery-1.3.2.min.js"; type="text/
> javascript" ></script>
> <script src="http://somedomain.com/j/home.js"; type="text/javascript"
> ></script>
>     <div >
>            <img src="imgpath" alt=""/>
>    </div>
>    ]]>
>  </Content>
>
>  <Content type="html" view="canvas">
>
>    <![CDATA[
>    <!-- keyyyyyyyyy-->
>   <style type="text/css">
>    </style>
>     <div class='articleblock'>
> some content....
>    </div>
>
>    ]]>
>  </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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<opensocial-orkut%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-orkut?hl=.
>
>
>


-- 
Regards.
Prashant aka Orkuteer
http://urltrim.co.cc/398/ | http://urltrim.co.cc/399/ |
http://urltrim.co.cc/400/


Friendship is born at that moment when one person says to another, 'What!
You too? I thought ...

--

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=.


Reply via email to