Closed Thread Icon

Preserved Topic: Hyperlinking and changing layer visibility on load (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=15218" title="Pages that link to Preserved Topic: Hyperlinking and changing layer visibility on load (Page 1 of 1)" rel="nofollow" >Preserved Topic: Hyperlinking and changing layer visibility on load <span class="small">(Page 1 of 1)</span>\

 
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 03-22-2000 22:26

Is it possible to hyperlink to a web page in a way that would make a layer on that page visible and hide other layers when by default other layers are hidden/showing?<P>This may be confusing to read, sorry.<P>------------------

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 03-22-2000 23:25

Hey! That was confusing to read, sorry! <P>Hmm, you'd want to call the page, and send a variable along with it to tell it to hide one layer and show another, right? Seems to me you could send along the data as an escaped value, like...<P>index.html?value<P>It'd go to that page, index.html, and then in a javascript you could check for the value, like...<P>value = unescape(location.search);
value = value(1, value);<P>Now you'd have a variable named "value" that had the text after the question mark in it. This could be a number, perhaps the number of the div that it was supposed to show? If the value="", then it's a default entry, if not, then it's one of yours. That'd do it!<P>Your pal, -doc-<P>
<P>------------------
----- Doctor Thaddeus Ozone --------- "Specialization is for insects"---
  --- OZONE pages .................................. http://www.ozones.com/
    - Hands-On Tutorials ............ http://www.ozones.com/handson/

« BackwardsOnwards »

Show Forum Drop Down Menu