7 messages in com.googlegroups.google-desktop-developerRe: Simple question, but I can't figu...| Subject: | Re: Simple question, but I can't figure this out![]() |
|---|---|
| From: | Lahiru (llah...@gmail.com) |
| Date: | 02/22/2007 12:26:42 PM |
| List: | com.googlegroups.google-desktop-developer |
Hi furby,
hey.. everyone is 'new' when they are doing their first gadget.. so no worries buddy !!!
Can you load your rss feed into an array using Xmlhttp or something else.? If you can do so then try to load your links to a separate array and use it to set innerText property of your labels'.
And if you want to load a link on a browser.. you can use "shell.Application" inside the onClick() method.
var winShell = new ActiveXObject("Shell.Application"); winShell.ShellExecute(" http://www.google.com");
James has posted about this before.. http://groups.google.com/group/Google-Desktop-Developer/browse_thread/thread/bfd573565eea77b1/0c04773978fa1ba9?lnk=gst&q=open+url&rnum=1#0c04773978fa1ba9
hope this helps..
Cheers ! - Lahiru.
On Feb 23, 1:05 am, "furby" <Wook...@gmail.com> wrote:
I'd like to put each line in a separate label - that way I can set the onClick event to do what I want. But how do I do that? I'm pretty new here so assume that I am an idiot...
On Feb 22, 3:03 pm, "Lahiru" <llah...@gmail.com> wrote:
Hi,
mmm... I think you should use several labels and display your links... :) or else you can use a content area like in the 'Web Clips Gadget'.
cheers!
- Lahiru.
On Feb 23, 12:56 am, "furby" <Wook...@gmail.com> wrote:
I want to read a RSS file in from the web, split it out and display it as a series of clickable regions on my gadget. I have no trouble readin the RSS file into memory, then parsing through it. I can even turn it into a list that I display in a label. But how do I make each line a separate link? I don't see any way to slip html into the label object.... What am I missing?




