That was the problem indeed!
I renamed the function and now it's ok!!! Thank you a lot for your
help!
May I ask something else? I tried using the autoheight function, but
it didn't work. Do you know how should I implement this?
On Sep 23, 10:38 pm, "abowman (Guru)" <[EMAIL PROTECTED]> wrote:
> Change the name of your sendRequest function to something else.
> Whenever the gadget is moved, it looks like the api is calling your
> sendRequest function.
>
> On Sep 23, 1:47 pm, Yannis <[EMAIL PROTECTED]> wrote:
>
> > I removed everything and left only visibility:hidden/visible. It still
> > does the same!
>
> > On Sep 23, 6:30 pm, "abowman (Guru)" <[EMAIL PROTECTED]> wrote:
>
> > > I'm not sure why you set top:-2000px for the waitbar.
>
> > > Also, make sure that you aren't using a combination of style.display
> > > and style.visibility. Use one or the other. Use visibility if you
> > > want the element to occupy the space when it isn't visible.
>
> > > On Sep 23, 10:57 am, Yannis <[EMAIL PROTECTED]> wrote:
>
> > > > still doesn't work!
>
> > > > On Sep 23, 5:33 pm, "abowman (Guru)" <[EMAIL PROTECTED]> wrote:
>
> > > > > You need to set the style sooner.
>
> > > > > <div id="waitbar" style="display: none;
> > > > > position:relative;top:-2000px;">
>
> > > > > On Sep 23, 1:57 am, Yannis <[EMAIL PROTECTED]> wrote:
>
> > > > > > thank you for your help!
>
> > > > > > This is what I use, but the problem persists. Everything is ok when
> > > > > > the gadget is at its position. The problem exists when you drag it
> > > > > > to
> > > > > > another position.
>
> > > > > > On Sep 22, 11:25 pm, "abowman (Guru)" <[EMAIL PROTECTED]> wrote:
>
> > > > > > > You could include this in the div that contains the graphic:
>
> > > > > > > style="display: none"
>
> > > > > > > and then when you want to show it, set display to "block".
>
> > > > > > > _gel("myDiv").style.display = 'block';
>
> > > > > > > On Sep 20, 12:45 pm, Yannis <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Hi!
>
> > > > > > > > I try to build a gadget where the is an invisible wait icon
> > > > > > > > that is
> > > > > > > > shown when a search is done via ajax. I have tried hidden it
> > > > > > > > through
> > > > > > > > javascript using the style.visibility, style.display css
> > > > > > > > elements.
>
> > > > > > > > The problem is that when I grab the gadget to move it to
> > > > > > > > another place
> > > > > > > > in the igoogle page, the wait icon is shown! Why does this
> > > > > > > > happen? How
> > > > > > > > can I prevent it?
>
> > > > > > > > You can see the gadget
> > > > > > > > athttp://www.netstudio.gr/downloads/domaincheckgadget.xml
>
> > > > > > > > it's only in Greek though...
>
> > > > > > > > thank you,
> > > > > > > > Yannis
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---