Suppose yeah..and with CF7 you could even use Asynchronous CFML.


-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED] 
Sent: 05 July 2005 09:25
To: CF-Talk
Subject: RE: CFFLUSH

If you look at sites such as Expedia etc when searching for flights it
brings up an interim screen when its searching.

Could this be done with CFFlush and CFLocation 

i.e.

    <h1>Search Results.</h1>
    <br>
        Please wait Searching ............ 

<CFFLUSH>

<CFSEARCH 
name = "GetResults"
status="info"
collection = "#SearchCollection#"
criteria = "#LCase(Form.Criteria)#"
contextpassages="2"
maxRows = "#Evaluate(Form.MaxRows + Form.StartRow)#"
startRow = "#Form.StartRow#"
>

<CFLOCATION ETC...



-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 05 July 2005 09:02
To: CF-Talk
Subject: RE: CFFLUSH

Well you could do this ( or use a div )

<img src="loading.gif" alt="loading.gif" border="0" name="loading">

<cfflush>

<script>
        document.images.loading.src = '1x1trans.gif'; </script>


That will show a loading image and swap it with a hidden image when it
is complete.

N




-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: 05 July 2005 09:07
To: CF-Talk
Subject: RE: CFFLUSH

I don't need it to be triggered, I just would like the 

'Please wait' text to disappear on screen when the CFFLUSH has finished
and the results from Verity have been returned.



-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: 04 July 2005 15:03
To: CF-Talk
Subject: RE: CFFLUSH

Well it could be if you mean writing it out but it cannot be triggered
or set via CFIF - it could only be triggered via an Event Driven
language such as JS.



-----Original Message-----
From: Ian Vaughan [mailto:[EMAIL PROTECTED]
Sent: 04 July 2005 15:06
To: CF-Talk
Subject: RE: CFFLUSH

Could it be done using CFIF tags in coldfusion ? 

-----Original Message-----
From: Adam Haskell [mailto:[EMAIL PROTECTED]
Sent: 04 July 2005 14:51
To: CF-Talk
Subject: Re: CFFLUSH

use a little javascript..and a div tag...

wrap your please wait stuff in in div tag. The once your page starts
loading use javascript to hide your div tag.
Your code would look something like:

<div id="pleaseWait">
Please Wait .....
</div>
<code stuf here>
<!--- note this is inline javascript ---> <script>
getElementById("pleaseWait").style.display = 'none'; </script>

Hope that gets you started down the right path. 

Adam H

On 7/4/05, Ian Vaughan <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I am using CFFLUSH before the search results come back from Verity to 
> display a Please Wait message.
> 
> So my code is like..
> 
>     <h1>Intranet Search Results.</h1>
>     <br>
>         Please wait............
> 
> <cfflush>
> 
>         <CFSEARCH
>         name = "GetResults"   etc......................
> 
> 
> How can I remove the 'Please wait............' text from the end users

> screen after Verity has returned the search results ?
> 
> 













~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211115
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to