Nathan,

I'll give this a try just as soon as I can and report back on the results.

Mike E.




                                                                                
                                     
                    "Nathan M. Andelin"                                         
                                     
                    <nandelin@xxxxxxxxxx       To:     "Web Enabling the AS400 
/ iSeries" <web400@xxxxxxxxxxxx>      
                    -data.com>                 cc:                              
                                     
                    Sent by:                   Subject:     Re: [WEB400] 
Message while SQL is pulling records...     
                    web400-bounces@xxxxx                                        
                                     
                    nge.com                                                     
                                     
                                                                                
                                     
                                                                                
                                     
                    07/18/2003 02:26 PM                                         
                                     
                    Please respond to                                           
                                     
                    Web Enabling the                                            
                                     
                    AS400 / iSeries                                             
                                     
                                                                                
                                     
                                                                                
                                     




Nice work, Mike.  I wonder if both browsers would support the following?
If
so, it's fewer lines of code to maintain.

<div id="msg" class="msg_hidden">

<style media="screen" type="text/css">
    .msg_visible { position: absolute; z-index: 1; top: 100px; left:
 0px; visibility: visible; }
     .msg_hidden { position: absolute; z-index: 2; top: 10px; left:
 10px; visibility: hidden }
</style>

<script>
 function downLoad(){
  oMsg = document.getElementById("msg");
  oMsg.className = "msg_visible";
 }
</script>



----- Original Message -----
From: <MEovino@xxxxxxxxxxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Sent: Friday, July 18, 2003 1:22 PM
Subject: Re: [WEB400] Message while SQL is pulling records...


>
> Nathan,
>
> I think I have this working in both IE 6 and Moz.  Here's your styles:
>
>     <style media="screen" type="text/css">
>       .layer1_class { position: absolute; z-index: 1; top: 100px; left:
> 0px; visibility: visible; }
>       .layer2_class { position: absolute; z-index: 2; top: 10px; left:
> 10px; visibility: hidden }
>     </style>
>
> Here's your JS function:
>     <script>
>       function downLoad(){
>         if (document.all){
>         document.all["layer1"].style.visibility="hidden";
>         document.all["layer2"].style.visibility="visible";
>         }
>         else if (document.layers){
>         document.layers.layer1.visibility="hidden";
>         document.layers.layer2.visibility="visible";
>         }
>         else if (document.getElementById){
>         node =
document.getElementById("layer1").style.visibility='hidden';
>         node = document.getElementById("layer2").style.visibility
> ='visible';
>         }
>       }
>     </script>
>
> Refer to the div's as follows:
>     <div id="layer1" class="layer1_class">
>     ...
>     <div id="layer2" class="layer2_class">
>
> Mozilla seems to like this stuff in classes.  IE 6 does not seem to mind
> either way.  With this, I get my waiting message in either browser.
>
> Mike E.


_______________________________________________
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,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.






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 midrange.com 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.