This is a discussion on anyone have any idea as to how to display a message after a page has started loading?? within the PHP General forums, part of the PHP Programming Forums category; Perhaps you wrap a table around your image and set the background="" of the table to an image ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Perhaps you wrap a table around your image and set the background="" of
the table to an image of the same size that says "Loading Thumbnails", then when the image loads, it loads over the background. Matt On Fri, 2003-08-22 at 15:08, Jeffrey D. Means wrote: > I am looking for a way to say please wait generating thumbnails... while > actually doing so. I have tried calling the JavaScript alert() function > before starting the image processing but it waits for the page to > complete loading before displaying the alert box. anyone have any ideas > on this?? BTW: at the time I am trying to display a message I have > already started output to the browser. > > --- > Jeffrey D. Means > CIO for MeansPC > meaje@meanspc.com > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > |
|
|||
|
I am looking for a way to say please wait generating thumbnails... while
actually doing so. I have tried calling the JavaScript alert() function before starting the image processing but it waits for the page to complete loading before displaying the alert box. anyone have any ideas on this?? BTW: at the time I am trying to display a message I have already started output to the browser. --- Jeffrey D. Means CIO for MeansPC meaje@meanspc.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 |
|
|||
|
Hi,
> I am looking for a way to say please wait generating thumbnails... while > actually doing so. I have tried calling the JavaScript alert() function > before starting the image processing but it waits for the page to > complete loading before displaying the alert box. anyone have any ideas > on this?? BTW: at the time I am trying to display a message I have > already started output to the browser. Try looking up the flush() function on php.net. That _might_ do what you want. -Dan Joseph |
|
|||
|
Also make sure you don't have output buffering or compression on for the
page in question. Cheers, Rob. On Fri, 2003-08-22 at 16:42, Dan Joseph wrote: > Hi, > > > I am looking for a way to say please wait generating thumbnails... while > > actually doing so. I have tried calling the JavaScript alert() function > > before starting the image processing but it waits for the page to > > complete loading before displaying the alert box. anyone have any ideas > > on this?? BTW: at the time I am trying to display a message I have > > already started output to the browser. > > Try looking up the flush() function on php.net. That _might_ do what you > want. > > -Dan Joseph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ..---------------------------------------------. | Worlds of Carnage - http://www.wocmud.org | :---------------------------------------------: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul. | `---------------------------------------------' |