Stick something like this in your <head>:

    <style media="screen" type="text/css">
      #layer1    { position: absolute; z-index: 1; top: 100px; left: 0px;
visibility: visible; }
      #layer2    { position: absolute; z-index: 2; top: 10px; left: 10px; }
      function downLoad(){
        if (document.all){
        else if (document.layers){
        else if (document.getElementById){

Then make your <body> look something like this:

<body onload="downLoad()">
    <div id="layer1">
      Message I want while Net.Data SQL is fetching records
    <div id="layer2">
      Output from SQL

The downLoad() javascript function should fire after the page is finished
loading, which hides the layer1 div and shows the layer2 div.  It works
well in IE 6, not so well in Mozilla (if someone wants to play around with
this).  Does Mozilla fire the onload event as soon as the page starts to
load?  Maybe a way around this would be to call downLoad() at the bottom of
the page instead of in the onload event?

Mike E.

                    "Peter Vidal"                                               
                    <Peter_Vidal@xxxx       To:     web400@xxxxxxxxxxxx         
                    .com>                   cc:                                 
                    Sent by:                Subject:     [WEB400] Message while 
SQL is pulling records...         
                    07/17/2003 04:55                                            
                    Please respond to                                           
                    Web Enabling the                                            
                    AS400 / iSeries                                             

Hi list:

How you handle this situation?  I want to display an image, or a text
or both (I do not know yet) while the SQL command retrieves all the records
of a

Is this possible?
Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst / 727-539-8448, x2414

"A good player makes himself look good; a great player makes the team look
Author unknown

This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.