Hi,

Normally you must place this <script src="main.js" /> in the
details.xml code.

See example of the details.xml code view:

<view height="150" width="250">
  <label enabled="true" hitTest="htclient" width="100%" x="0" y="50"
    onclick="onMainClick();" align="center" font="" size="15"
   >&CLICK_HERE;
  </label>
  <script src="main.js" />
  <script src="details.js" />
</view>

Now the detail view read inside the both script.

Kind Regards,
Stefan Van Damme (aka Stefan vd)
Gadget Developer

On 30 apr, 13:23, themaddhatter <[email protected]> wrote:
> hey,
> I've created a gadget which takes user input and up until now have
> been displaying this on a Div on the gadget. i decided to move this to
> a details view so it had more space.How do i pass values to a label
> within a details view?For example if i had a string "HelloWorld" which
> is collected in main.js.How do i pass this to a label  in the
> detailsView so it will be displayed?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" 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-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to