You have no content between the Div tags. It's basically <div Id="hello"> 
Nothing here... </div>

Try this: 

> <?xml version="1.0" encoding="UTF-8"?>
>       <Module>
>         <ModulePrefs title="hello world example" />
>         <Content type="html"><![CDATA[
>           <div id="hello">
>           <script type="text/javascript">
>             _gel("hello").innerHTML="Hello, world!";
>           </script>
                 </div>
>         ]]></Content>
>       </Module>


Good luck!

Sent from my iPhone

On Jun 7, 2012, at 11:52 AM, wagtail <[email protected]> wrote:

> In any browser except Opera, GGE Preview seems to fail to generate anything.  
> For example, consider this code:
> 
>      <?xml version="1.0" encoding="UTF-8"?>
>       <Module>
>         <ModulePrefs title="hello world example" />
>         <Content type="html"><![CDATA[
>           <div id="hello"></div> 
>           <script type="text/javascript">
>             _gel("hello").innerHTML="Hello, world!";
>           </script>
>         ]]></Content>
>       </Module>
> 
> Paste it in Opera, and then in Chrome (which I prefer to develop in) or any 
> other browser.  The code will work in Opera preview but does not seem to work 
> in any other common browser.  Maybe I'm missing something really basic?  What 
> is the issue?
> 
> Thanks!
> -- 
> You received this message because you are subscribed to the Google Groups 
> "iGoogle Developer Forum" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/Google-Gadgets-API/-/iirlqfspz1wJ.
> 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/Google-Gadgets-API?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle 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/Google-Gadgets-API?hl=en.

Reply via email to