I know about the latency issues, but I'm trying to modularize my code.
However, when I include an external js file I fail with the message
"Unsafe JavaScript attempt to access frame with URL" (full message
below).

I must be setting things up incorrectly, but I'm ignorant of the
correct way. Can anyone help?

Code is hosted on googlecode.

I am currently running in the developer sandbox of iGoogle on Chrome.

Any help much appreciated,

Lance

***********************************************************

XML source file CDATA:
  <![CDATA[
        <script type="text/javascript" src="http://www.google.com/jsapi?
key=ABQIAAAAWWBfe9unq3UCEqhss1UOrhSM3v9UhwCrJBumDggbKMBzcA64iRTf_8eiQkdyjwJ9S7WwebvD_4u2lg"></
script>
        <script type="text/javascript" src="http://
spbloggertabgadget.googlecode.com/svn/trunk/Testing.js">
        <script type="text/javascript">
    function init() {

                justATest();
                return;

    // Call init function to initialize and display tabs.
    gadgets.util.registerOnLoadHandler(init);
        </script>
   ]]>

***********************************************************

FULL CONTENTS OF TESTING.JS

   function justATest(){
        document.write("Did it work?");
   }

***********************************************************

FULL MESSAGE:
Unsafe JavaScript attempt to access frame with URL http://www.google.com/ig?t=5
from frame with URL
http://6to1hb06fbtb1b7tpn8r76iites63smo.ig.ig.gmodules.com/gadgets/ifr?view=home&url=http://spbloggertabgadget.googlecode.com/svn/trunk/SPBloggerTabGadget.xml&nocache=1&up_selectedTab=&up_blog=http://sanitypreferred.blogspot.com&up_numposts=5&up_keywords=video&up_lasttab=tl_114_0&up_generator=Blogger&lang=en&country=us&.lang=en&.country=us&synd=ig&mid=114&ifpctok=6904857185004566287&exp_split_js=1&exp_track_js=1&exp_ids=17259,300540&parent=http://www.google.com&refresh=3600&libs=core:core.io:core.iglegacy#st=c%3Dig%26e%3DAPu7icr6qW%252B7DEE4DJ/dzh3JnVU6Nl5Vg7lAdJbTzy0f/vaEwzwPGW04l%252BGmIVqgXYRoFuG982WiYCH5oeRI5qCpTbfKOi9OMCO6wke7m/SgVJLlOmVVNrH48ZpEc1dTbBcCILOF9kXf&gadgetId=110998880047042204987&gadgetOwner=105090936449430181148&gadgetViewer=105090936449430181148&extern_js=/extern_js/f/CgJlbhICdXMrMNIBOAEsKzDYATgBLCsw2gE4ACwrMNsBOAEs/fWzgRbX4nIM.js&is_signedin=1&is_social=1.
Domains, protocols and ports must match.
--~--~---------~--~----~------------~-------~--~----~
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