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 ?
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211112
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