I create a div with position absolute and visibility visible and put a gif
in the div
Then I have the onload event  change the visibility. By making the position
absolute it doesnt affect placement of rest of the page. I also have the
submit buttons show the div to indidicate to users the program is acting.
You can see an example at www.secureyourposition.com  (choose Reports or Gap
Notification) site is still preliminary so all tabs are not operable.

If you don't have CF5 (hence cfflush) your best bet will be to show the give
from the onunload event of calling page.

<style>
splash{
position:absolute;
left:200px;
top:200px;
background-color:white;
visibilty:visible;
}
</style>
<cfflush interval="300">
<div class='splash' id='splash'><img src="/images/waiting.gif"
border=0></div>
.
.
  <body onload="hideElement('splashwait');" >

----- Original Message -----
From: "Kinley Pon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 12:14 AM
Subject: RE: Please Wait... ' or 'Loading...' message


> Unfortunately, I can only use 4.5.
>
> Any ideas? - Kinley
>
>
> >From: "Kola Oyedeji" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: RE: Please Wait... ' or 'Loading...' message
> >Date: Sun, 11 Nov 2001 09:55:28 -0000
> >
> >If you do move to cf5
> >
> >there is an article by Ray Camden on how to do something along thses
lines:
> >
> >http://www.coldfusion.com/handlers/index.cfm?id=21216&method=full
> >
> >
> >HTH
> >
> >Kola
> >
> >-----Original Message-----
> >From: Stuart Duncan [mailto:[EMAIL PROTECTED]]
> >Sent: Sunday, November 11, 2001 6:39 AM
> >To: CF-Talk
> >Subject: Re: Please Wait... ' or 'Loading...' message
> >
> >
> >I don't how familiar you are with DHTML, but you could (hypothetically)
put
> >all your content into one DIV or SPAN tag... making it a layer, and make
it
> >invisible.
> >And then put a "Loading" messing into another DIV or SPAN tag, and make
it
> >visible.
> >
> >And then put an "OnLoad" handler in the Body tag, that would call
> >javascript to reverse the two. That would hide the "Loading" layer and
show
> >the content layer.
> >
> >That would be my suggestion. Course, that's only if you've got a handle
on
> >DHTML basics.
> >
> >Stuart Duncan.
> >
> >
> >At 06:32 PM 10/11/2001 -0800, you wrote:
> > >Hello everyone,
> > >
> > >Does anyone have an example of a 'Please Wait... ' or 'Loading...'
> >message
> > >that would prevent a user from clicking anywhere else?
> > >
> > >A message that would stay on the screen until the main page is
complete;
> > >until the rest of the content is ready.
> > >
> > >Any ideas? - Kinley
> > >
> > >
> > >
> > >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to