if you can get the first bytes of the second (slow) page loaded you can 
start that page with the html for a div to appear in the centre of the 
screen in front of the "real" content.
The last thing on the page should be the html which moves this either away 
to the left (negative coordinates) of the screen or "to the back" behind 
the real content.

this e.g works in ie (but not f-fox, that is left as an exercise for the 
reader) :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.wait {
        background-color: #CCCCFF;
        position: absolute;
        visibility: visible;
        z-index: 10;
        left: 90px;
        top: 40px;
        width: 200px;
        height: 200px;
}
-->
</style>
</head>

<body onload="waitOne.style.zIndex='-10'">

<div class="wait" id="waitOne">Please Wait</div>
<div>

<img src="http://www.direct.gov.uk/assetRoot/04/01/85/19/04018519.jpg"; 
width="100" height="100" />
<img src="http://www.arroyofest.org/images/T-shirt%20back.JPG"; width="100" 
height="100" />
<img src="http://www.direct.gov.uk/assetRoot/04/01/85/19/04018519.jpg"; 
width="100" height="100" /></div>

</body>
</html>

[EMAIL PROTECTED] wrote on 07/12/2006 12:17:16:

> On 12/7/06, Fred Janon <[EMAIL PROTECTED]> wrote:
> > >>It's probably more typing than my solution because of the number of
> > onClick handlers I'll have to add
> >
> > Not sure if you can do it in your context, but instead of calling the 
JS
> > function in all buttons onClick, you could just call it in the FORM
> > onSubmit...
> >
> >
> 
> Unfortunately, my problem is that I need it on plain links as well as
> in forms.  Nothing I can't fix by just assigning a new class to any
> link that needs the handler and then adding the handler via a
> javascript method which iterates over all elements with the
> 'pleaseWait' class.
> 
> --sam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


*******************************************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) 
only. If you are not the intended recipient please delete the message from your 
computer. You may not copy or forward it or use or disclose its contents to any 
other person. As Internet communications are capable of data corruption Student 
Loans Company Limited does not accept any responsibility for changes made to 
this message after it was sent. For this reason it may be inappropriate to rely 
on advice or opinions contained in an e-mail without obtaining written 
confirmation of it. Neither Student Loans Company Limited or the sender accepts 
any liability or responsibility for viruses as it is your responsibility to 
scan attachments (if any). Opinions and views expressed in this e-mail are 
those of the sender and may not reflect the opinions and views of The Student 
Loans Company Limited.

This footnote also confirms that this email message has been swept for the 
presence of computer viruses.

********************************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to