10 messages in com.googlegroups.google-desktop-developerRe: show image with link
FromSent OnAttachments
i'm laughing it24 Jan 2007 02:02 
James [GD Team]26 Jan 2007 12:27 
i'm laughing it27 Jan 2007 05:47 
i'm laughing it28 Jan 2007 03:12 
ukanth29 Jan 2007 00:19 
i'm laughing it29 Jan 2007 02:44 
i'm laughing it29 Jan 2007 19:30 
i'm laughing it30 Jan 2007 01:00 
James [GD Team]30 Jan 2007 19:58 
i'm laughing it31 Jan 2007 18:55 
Subject:Re: show image with link
From:i'm laughing it (laug@gmail.com)
Date:01/30/2007 01:00:14 AM
List:com.googlegroups.google-desktop-developer

i seem like the google desktop buffer the result from XMLHttpRequest. i have to restart google desktop in order get the updated result. how can i force to get a refresh result from XMLHttpRequest? thanks

that's very helpful. i write the code to display images with setInterval to call XMLHttpRequest regularly. the first call is success. but it didn't update even the source image is changed. it keep display the first image it is get from XMLHttpRequest even the gadget is closed and open again. i tried to set everything to null before calling XMLHttpRequest everytime. but didn't help. kindly help pls.

On Jan 29, 6:44 pm, "i'm laughing it" <laug@gmail.com> wrote:

thanks i'll try.

On Jan 29, 4:19 pm, "ukanth" <cum@gmail.com> wrote:

ya , u can use setInterval(<function>,interval)

i'm laughing it wrote:

is there any sample for refresh the link regularly, say every 30 seconds. thanks.

On Jan 27, 9:48 pm, "i'm laughing it" <laug@gmail.com> wrote:

thanks a lot. i'll try.

On Jan 27, 4:27 am, "James [GD Team]" <j.@google.com> wrote:

Hello,

You cannot set the "src" of an "img" to a remote URL.

Instead, take a look at the XMLHttpRequest sample in the SDK. That code retrieves an image using XMLHttpRequest and assigns it to an "img" from within script.

Cheers! James

On Jan 24, 2:02 am, "i'm laughing it" <laug@gmail.com> wrote:

kindly help me please. i'm trying to modify the ImageFade sample in the SDK to display image with link. below is the modification. it just show puppy image and couldn't show the image with link. thanks

<view height="200" width="200" onopen="View_onOpen()"> <img height="200" name="kitty" width="200" src="http://kitconet.com/images/quote_m_spot.gif" /> <img height="200" name="puppy" width="200" src="puppy.jpg" /> <script src="main.js" /> </view>