Hi

I'm looking to create a gadget, and I wondered what the best way to
structure the code is. For instance, would you advise building up the
HTML in a variable and then using
 _gel('content_div').innerHTML =
etc to output it all in one go...

Or, would you advise putting all the HTML skeleton in the content_div
first and then using .innerHTML to insert data?

The disadvantage I see with the second is that your skeleton will
flash before the real data is loaded in, and you can't have a
"Loading" message which you could in the first (and the _gel comment
overwrites it).

In addition to this, how would _IG_GetImage() work with outputting the
HTML from a variable? You won't be able to append the images as the
code won't exist yet within the DOM! Or am I missing something....?

So I'd be interested to hear your thoughts about this.
Thanks.

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