How can I get a "Please wait..." HTML banner up while qooxdoo loads?

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Kenneth Tilton
I think I got this to work a couple of years ago, but searching thru my
index.html's from them cameup empty: how can I stick something in my
index.html that at least says "Now loading..." so they have something to
look at during initial qooxdoo loads? I tried just sticking a div in
there, nada.

Note that I am not looking for a fancy progress bar, tho that would be
nice. Just a static bit of html to distract/warn them that the delay is
normal.

--
http://www.stuckonalgebra.com
"The best Algebra tutorial program I have seen... in a class by itself."
Macworld

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Werner Thie
Hi

I usually put the following into the main page and let qooxdoo take over
the moment it's loaded (this can even go so far that one could delete
the node with id playground if it's not needed anymore

<div id="playground"
   style="width: 100%;
   height: 100%;
   min-height: 100%;
   position: absolute;
   left: 0px;
   top: 0px;
   background-color: #c2c2c2;">

   <img src="waitroller.gif"
     style="width: 32px;
     height: 32px;
     top: 50%;
     left: 50%;
     position: absolute;
     margin-left: -16px;
     margin-top: -16px;"/>
</div>

where waitroller.gif is a simple animated gif (google wait .gif)

HTH, Werner

On 07.06.2010 22:34, Kenneth Tilton wrote:

> I think I got this to work a couple of years ago, but searching thru my
> index.html's from them cameup empty: how can I stick something in my
> index.html that at least says "Now loading..." so they have something to
> look at during initial qooxdoo loads? I tried just sticking a div in
> there, nada.
>
> Note that I am not looking for a fancy progress bar, tho that would be
> nice. Just a static bit of html to distract/warn them that the delay is
> normal.
>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

werner.vcf (311 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

panyasan
In reply to this post by Kenneth Tilton
I think this request comes up every once in a while, and there are javascript frameworks which implement this, showing a splash screen during the initial loading. Given the sophisticated code generating features of qooxdoo, I don't think it would be difficult to add an optional, generic, html-based  splash screen, which is displayed until all code is loaded. This would also allow to advertise qooxdoo at application startup (this could of course be configured and turned off etc. in config.json).

What do the dev's think about it? I would certainly support an enhancement bug on this.

C.
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Jonathan Weiß
Hello panyasan,


you are correct: this is a often requested feature. You can add yourself as CC to the accordant issue: http://bugzilla.qooxdoo.org/show_bug.cgi?id=9

I can only guess why we have not fixed this issue in more than four years. Perhaps this is because it is easy to implement this feature in plain HTML...

Cheers,
Jonathan

Jonathan Weiß
Framework Engineer

Blog - LinkedIn - XING
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Kenneth Tilton


Jonathan Weiß wrote:
> Hello panyasan,
>
>
> you are correct: this is a often requested feature. You can add yourself as
> CC to the accordant issue: http://bugzilla.qooxdoo.org/show_bug.cgi?id=9
>
> I can only guess why we have not fixed this issue in more than four years.
> Perhaps this is because it is easy to implement this feature in plain
> HTML...

Ah, but qooxdoo will be breeding a whole new generation of HTML
know-nothings like me. :)

Meanwhile, Werner's patch works great except the <noscript> warning I
had in there that JS is turned off does not appear (if I turn JS off to
test). Instead I get my fancy new "Loading..." animated gif.

I tried putting the loading code inside a <script> tag but then it does
not appear under normal operation.

So I think there are two things the standard generated index.html could
do: check that JS is turned on and put up a spinner by default. Those
are both the way good UI apps should behave. And it would be relatively
easier for folks to take things out of index.html than to figure out
what to put in.

Right now I am abandoning the warning to keep the spinner working.

Thx all.

kt



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Jonathan Weiß
Hello Kenneth,


please post your thoughts as a comment on the bug entry. Perhaps this can speed up the fixing of this issue.


Cheers
Jonathan


Jonathan Weiß
Framework Engineer

Blog - LinkedIn - XING
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Ilkka Oksanen
In reply to this post by Jonathan Weiß

On Tue, Jun 8, 2010 at 11:31 AM, Jonathan Weiß <[hidden email]> wrote:
I can only guess why we have not fixed this issue in more than four years.
Perhaps this is because it is easy to implement this feature in plain
HTML...


True. Related to this, here is a  nice tool for creating progress bars for those index.html pages:


         -ilkka


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can I get a "Please wait..." HTML banner up while qooxdoo loads?

Jean-Baptiste BRIAUD -- Novlog
When I think to progress indicator, I'm not thinking about animated gif images.
In the example produced by the site you mentioned, it doesn't give end users any indication of the progression.

So, finally, I added myself to the cc of that bugzilla but I'd love to give true progress indication to the end user.


On 8 juin 2010, at 20:42, Ilkka Oksanen wrote:


On Tue, Jun 8, 2010 at 11:31 AM, Jonathan Weiß <[hidden email]> wrote:
I can only guess why we have not fixed this issue in more than four years.
Perhaps this is because it is easy to implement this feature in plain
HTML...


True. Related to this, here is a  nice tool for creating progress bars for those index.html pages:


         -ilkka

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel