this is what I do.  I have a layer that says "Stuff is loading!", and i set
it to invisible.
when u click the submit button, call a javascript that makes that layer
visible!  that's it!
u can make that layer overlap over whatever is on your page.  it can be a
flash animation!





-----Original Message-----
From: John Wilker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 3:38 PM
To: CF-Talk
Subject: RE: Displaying message during loading..?


There's a custom tag called cf_loading I think. pretty slick, it pops up a
little window that says loading or whatever you want it to say, it's just
JavaScript inside, but it sure beats re-inventing the wheel..

It's at the devEx on Allaire's site, a search for "loading" should return
it.

Hope that helps

J.

John Wilker
Web Applications Consultant
Allaire Certified ColdFusion Developer

Office: 909-943-8428
www.billtracker.org <http://www.billtracker.org>


-----Original Message-----
From: Terry Bader [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 12:03 PM
To: CF-Talk
Subject: RE: Displaying message during loading..?


I would use JavaScript for this...
basically popup a small window with the message you want and then continue
to the page that does the processing, then in the new page's BODY ONLOAD
handling, call a function to close that window....



here's what I'm thinking
----------------------------------------------------
<SCRIPT>
function callLoadMsg() {

indow.open('loadMsg.cfm','loadMsgWindow','width=400,height=200,toolbar=0,loc
ation=0,directories=0,status=0,scrollbars=0,resizable=0,menubar=0');
        location = 'dowhatever.cfm';
}
</SCRIPT>

<A HREF="javascript:callLoadMsg();">THIS WILL TAKE SOME TIME, MAYBE</A>
----------------------------------------------------
then the page that takes awhile to load:
----------------------------------------------------
<BODY ONLOAD="javascript:loadMsgWindow.close()">
----------------------------------------------------

I did this on-the-fly without testing, but the idea and the logic is
there....



or wait for CF5....

        Terry Bader
        IT/Web Specialist
        EDO Corp - Combat Systems
        (757) 424-1004 ext 361 - Work
        [EMAIL PROTECTED]


        (757)581-5981 - Mobile
        [EMAIL PROTECTED]
        icq: 5202487   aim: lv2bounce
        http://www.cs.odu.edu/~bader






> -----Original Message-----
> From: Patric Stumpe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 12, 2001 2:42 PM
> To: CF-Talk
> Subject: Displaying message during loading..?
>
>
> Hi there,
>
> i'm wondering how i can create a message on a page that's displayed
> during the page is loaded. So when a query returns many results the
> users gets this message saying the data is on it's way and hiding this
> message when the query results have been loaded and displayed.
>
> Hope someone can point me to the right direction...
>
> Patric
>
>
>
> --
> Patric Stumpe
> Knust & Stumpe Datentechnik
> Abt. Webdesign
>
> mail: [EMAIL PROTECTED]
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to