Thanks Paul,
      I was able to call other functions from external java script
from my gadget.

My second question on the similar lines. Under the "ModulePrefs", we
can set many attributes as below
            author, author_email, author_aboutme
author_link="http://www.wpcStylePuzzles.com"; etc. Now values of most
of these attributes remains constant across the different gadgets.
Suppose if I have 20 gadgets contains these common information and now
I need to change any of these information e.g. author_aboutme then I
have to change it all the gadgets.
Is it possible to define all these attributes in a external file and
read it from there?

Regards,
Rajesh

On Thu, Sep 16, 2010 at 7:28 PM, Paul Kinlan <[email protected]> wrote:
> Hi,
> Yes.  See http://code.google.com/apis/gadgets/docs/fundamentals.html
> You can include remote scripts in a type="html" gadget.
> Thanks,
> Paul
>
>
> On Mon, Sep 13, 2010 at 2:39 PM, Rajesh Kumar <[email protected]> wrote:
>>
>> Hi!
>>  I have written around 20 google gadget which can be accessed as below
>> http://www.wpcstylepuzzles.com/search/label/Google%20Gadgets
>>
>> and some code among these gadgets is common. Every time I need to
>> change something in the common code, I need to make changes in all the
>> 20 gadgets. I want to put this common code as a java script  file and
>> want to put this file in google sites and want to use/include this
>> java script from my gadgets. Can you please let me know if this
>> possible? If yes, how this can be done?
>>
>> Regards,
>> Rajesh
>>
>> --
>> http://www.wpcStylePuzzles.com
>> http://www.theFunLearning.com
>>
>> --
>> 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.
>>
>
>
>
> --
> Paul Kinlan
> Developer Advocate @ Google for Chrome and HTML5
> t: +447730517944
> tw: @Paul_Kinlan
> LinkedIn: http://uk.linkedin.com/in/paulkinlan
> Blog: http://paul.kinlan.me
> Skype: paul.kinlan
>
> --
> 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.
>



-- 
http://www.wpcStylePuzzles.com

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