Thanks
On Jul 29, 3:17 am, String <[email protected]> wrote:
> On Jul 28, 5:22 am, Mark <[email protected]> wrote:
>
> > I'd like to have a select box in the user preferences that draws its
> > options from a database on a remote site. Is it possible to do this
> > through an ajax call or through some other scripting language?
>
> No, the supplied settings UI is limited to the simple options
> described in the docs. If you want a more sophisiticated preferences
> UI, you need to build it yourself, usually using a little HTML form
> (capturing its onsubmit event in JS, of course).
>
> > I'd also like to know how best to test my gadget. What I'm doing
> > currently is publishing the gadget to my igoogle page through the
> > Google Gadgets Editor. However, when I make revisions on it, they
> > don't show up unless I delete the file, resave it, and reupload it.
> > This doesn't seem like it could possibly be the best way to go about
> > this.
>
> No, not at all. There's no single "best" way to test a gadget, but
> here are some better options:
>
> - Rearchitect your gadget to use external JS, hosting that locally on
> your own machine with a "file://" url. Then whenever you change the
> JS, you can just save it and reload the gadget page. Drawbacks: it
> doesn't work for HTML (without a lot more hassle), and you'll need to
> change the reference before you deploy your gadget.
>
> - Get a web server, even a really cheap host will do - it only needs
> to serve static files. Then host your gadget from there. You'll still
> need to upload new versions, but with a decent FTP client that's
> pretty easy, and some will even let you edit "in place" on the server.
>
> In either case, I also recommend testing your gadget in a browser tab
> of its own - this saves you needing to reload all of iGoogle every
> time you need to refresh. To do this, right-click in your gadget and
> open its frame in a new tab.
>
> HTH,
>
> String
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---