[Javascript] controlling layer visibility from another page
Andrew Gibson
andyg at ihug.co.nz
Mon Oct 22 14:47:43 CDT 2001
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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
More information about the Javascript
mailing list