Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] controlling layer visibility from another page


  • From: javascript@xxxxxxxxxx (Andrew Gibson)
  • Subject: [Javascript] controlling layer visibility from another page
  • Date: Tue, 23 Oct 2001 08:47:43 +1300

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Subject: [Javascript] controlling layer visibility from another page
hi there,
i am trying to control layer visibility when clicking a link from another
page.

i have a series of text based menu items which i would like to access from
external links. i created the layers in dreamweaver and need a script that
will force hidden layers to show when accessed from another page.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Can't you put the layers you want to show in a querystring?

<a href="mypage.asp?show=1,2,3">Go</a>

Then grab the id's and script accordingly. Alternatively, can you use the
document.referrer property to get the referring page and script the layers
based on that?

Andrew Gibson