![]() Preserved Topic: Show one layer and hide others simultaneously. (Page 1 of 1)  | 
  |
|---|---|
| 
       Paranoid (IV) Mad Scientist From: 8675309  | 
    
       
  posted 02-19-2002 22:04
      
      I searched the archives (and my brain) and I haven't been able to find any info on turning off other layers while turning on one...I did find a nice script for layer visibility at dhtml shock, but I can't seem to tweak it to work for me...Just in case I wasn't clear...I want "div a" to turn on and all other overlapping layers to turn off. When I turn on "div b", I then want that to turn on and "div a" and all others to go off...Anyone have a clue?  | 
  
| 
       Paranoid (IV) Mad Scientist From: Somewhere over the rainbow  | 
    
       
  posted 02-19-2002 22:15
      
      The poster has demanded we remove all his contributions, less he takes legal action.  | 
  
| 
       Paranoid (IV) Mad Scientist From: 8675309  | 
    
       
  posted 02-19-2002 22:27
      
      THAT was exactly it.   | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 02-19-2002 23:06
      
      
     | 
  
| 
       Paranoid (IV) Inmate From: 127.0.0.1  | 
    
       
  posted 02-20-2002 01:02
      
      Here is a variation of Max's original code. It adds a pulldown option, some opacity stuff, and XHTML code: http://development.runningwolf.com/code/hide_divs2.htm   | 
  
| 
       Maniac (V) Inmate From: under the bed  | 
    
       
  posted 02-20-2002 04:46
      
      Funny - I just did a search through the archives thismorning for this very subject, and found that very example and pulled it out to use it on a page on the intranet where I work (and yes, the credit is intact    | 
  
| 
       Paranoid (IV) Mad Scientist From: Somewhere over the rainbow  | 
    
       
  posted 02-20-2002 09:13
      
      The poster has demanded we remove all his contributions, less he takes legal action.  | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 02-20-2002 12:58
      
      
     | 
  
| 
       Paranoid (IV) Mad Scientist From: 8675309  | 
    
       
  posted 02-20-2002 14:04
      
      Thank you Max!  | 
  
| 
       Paranoid (IV) Mad Scientist From: Somewhere over the rainbow  | 
    
       
  posted 02-20-2002 14:35
      
      The poster has demanded we remove all his contributions, less he takes legal action.  |