RSS Forums RSS
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

How do I open a web page with several layers to a spacific layer?

Join Date: Dec 2004
Posts: 1,592
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 35
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How do I open a web page with several layers to a spacific layer?

  #9  
Jun 15th, 2005
My point was simply, if you're posting a technical question in a web development forum, you have to use terminology that web developers use. The term "layer" means lots of things in lots of contexts. In the context of HTML development, "layer" was a proprietary element Netscape introduced, which was deprecated several years ago (considerably more than 5 minutes).

If you want to programmaticaly set the visibility of div elements, then it would make the most sense to ask "how do I set the visibility of a div element". People wanting to ask a similar question would be more likely to find this thread in the future, a key benefit to using a forum site.

Your originating link would contain a querystring:

<a href="myDestination.html?activeDiv=myDiv2">link</a>

The myDestination page would have an onload script which parsed the querystring, using location.search, to set the myDiv2 style visibility to "visible".

document.getElementById("myDiv2").style.visibility = visible;
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:44 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC