Closed Thread Icon

Preserved Topic: Show one layer and hide others simultaneously. (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18316" title="Pages that link to Preserved Topic: Show one layer and hide others simultaneously. (Page 1 of 1)" rel="nofollow" >Preserved Topic: Show one layer and hide others simultaneously. <span class="small">(Page 1 of 1)</span>\

 
Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted 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?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-19-2002 22:15

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 02-19-2002 22:27

THAT was exactly it.
Thank you sooooo much InI....Curious if you know if that script is free to use?

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-19-2002 23:06

Yes, you can use that script, as long as you leave credit line intact.

BTW Jeni, in case you didn't notice, I wrote that script, heh...


Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted 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

As always, thanks to Max.

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted 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 ).

Very nice script Max - about half the length of many of the others I've come across. Gotta love efficiency.



InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-20-2002 09:13

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-20-2002 12:58

I'm glad that I could help!

Oh, and InI, my BTW line was directed to Jeni, I noticed your "thank you" line...


Jeni
Paranoid (IV) Mad Scientist

From: 8675309
Insane since: Jul 2000

posted posted 02-20-2002 14:04

Thank you Max!

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 02-20-2002 14:35

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu