NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: dmoyer on August 09, 2010, 12:09:59 PM

Title: Busy gif does not go away on static pages
Post by: dmoyer on August 09, 2010, 12:09:59 PM
The busy.gif is displayed in the upper left of the page on static pages and never disappears.  Easily reproducible with the "Pages" example program.  Using PR28

-Dave Moyer
Title: Re: Busy gif does not go away on static pages
Post by: Rene Simons on August 09, 2010, 01:32:18 PM
Dave,

With every update you MUST copy the content of the web folder in the 3rdParty-libsrc to the web folder in your web-app folder.

Rene
Title: Re: Busy gif does not go away on static pages
Post by: Bruce on August 09, 2010, 10:11:03 PM
Hi Dave,

Yes Rene is right - you need to update your web folder.
The default class for the busy graphic changed from bdiv to nt-busy in PR28, so if you forget to update your web folder you'll definitely get this effect.

cheers
Bruce
Title: Re: Busy gif does not go away on static pages
Post by: dmoyer on August 10, 2010, 05:00:44 AM
Umm...I did that.  Wouldn't the example "Pages" already have the new web folder anyway?

-Dave Moyer
Title: Re: Busy gif does not go away on static pages
Post by: Bruce on August 10, 2010, 06:52:16 AM
try pressing Ctrl-F5 in your browser.
This will clear the files from the cache.

cheers
Bruce
Title: Re: Busy gif does not go away on static pages
Post by: dmoyer on August 10, 2010, 08:04:44 AM
try pressing Ctrl-F5 in your browser.
This will clear the files from the cache.

cheers
Bruce

Hi Bruce,
I have cache disabled in FF for my testing.   This is with a nettalk browse embedded in a static page.  Attached is the "Pages" example in both FF and IE.

-Dave Moyer

[attachment deleted by admin]
Title: Re: Busy gif does not go away on static pages
Post by: Bruce on August 11, 2010, 06:45:28 PM
It's 4:30 in the morning here, but the answer came to me in my sleep <g>...

Which just shows how dense I've been the last couple days.

In PR28 I allowed the busy class to be set as a template setting, and changed the default class for the graphic from bdiv to nt-busy. I removed the bdiv class from the shipping styles.

Of course for static pages, hard-coded with the graphic and style, this matters. In the pages example, index.htm for example, there's a line
<div id="_busy" class="bdiv"><img src="images/_busy.gif"></img></div>
and this either needs to become
<div id="_busy" class="nt-busy"><img src="images/_busy.gif"></img></div>
or the bdiv class needs to be added back to the styles.

I've already uploaded PR29, but I'll put the style back for PR30.

Sorry it took so long to notice the key part of your question "static pages".

Cheers
Bruce