Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Searching status page

Posted 28 Mar 2005 10:22:19
1
has voted
28 Mar 2005 10:22:19 Simon Wantling posted:
Hi,
Is there a way that I can display a "Searching Database" page when a users has submitted a search request. I think it would be better than just a blank page during the transition. Is the a dreamweaver extension to achieved this?
Many Thanks
Simon

Replies

Replied 28 Mar 2005 22:12:24
28 Mar 2005 22:12:24 Chris Charlton replied:
I have only seen an extension that does this for image loading (by Yaromat). I would like to see something on this too.

Thought(s): CSS to hide a DIV (data), and a DIV underneath that says "Searching Database", then swaps visibility of the two DIVs.

Issue: How do I know that the data finished loading?

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 28 Mar 2005 23:45:21
28 Mar 2005 23:45:21 Lee Diggins replied:
Hi Simon

The idea that Chris came up with is probably a good solution. What server technology do you use.

Chris, you can send the contents of the buffer (response.flush()) to the client at a point in the file that you want something displayed on screen, header, menu and your div (you could also use x & y positioning), Response.Buffer needs to be set to true to use the flush method. The buffer then starts filling up with the data and when it gets to the end it will send the rest of the page, footer for example, the data and the nice little script to change your div to hide or positioning. I know how to do this in ASP/IIS.

Sharing Knowledge Saves Valuable Time!!!
~ ~ ~ ~ ~ ~
<b>Lee Diggins</b> - <i>DMXzone Manager</i>
<font size="1">[ Studio MX/MX2004 | ASP -> VBScript/PerlScript/JavaScript | SQL | CSS ]</font>
Replied 29 Mar 2005 01:08:39
29 Mar 2005 01:08:39 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>Chris, you can send the contents of the buffer (response.flush()) to the client at a point in the file that you want something displayed on screen, header, menu and your div (you could also use x & y positioning), Response.Buffer needs to be set to true to use the flush method. The buffer then starts filling up with the data and when it gets to the end it will send the rest of the page, footer for example, the data and the nice little script to change your div to hide or positioning. I know how to do this in ASP/IIS.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Oh, cool! I'm into PHP these past couple years so I'll have to read up on that later when I get a moment. As for ASP, any links/tips you can post for Simon & all wondering would be great help.

If you think it needs a 2,000+ word explaination, then talk to Frank about doing a Premium Article for it and he'll get that rolling.

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>

Reply to this topic