Layers

I have a button, I want to load a layer as big as the browser each time the user clicks on this button. In this layer I will load another HTML file. However in the layer I have another button which when clicked should close the layer.

View Replies


ADVERTISEMENT

Javascript Layers In Aspnet

I am developing a website with ASP.NET /C#. The items will render automatically based on their "catID". So that the URL will look similar to the example:

http://www.domain.com/index.aspx?catID=1
http://www.domain.com/index.aspx?catID=2
http://www.domain.com/index.aspx?catID=3

I'm using a javascript layer to display some items on this page. However, I want this layer to show only when caID=1. I'm a newbie when it comes to javascript. So, I was trying to get the url using "document.url" and use if statement to show/hide the layer. But that didn't work. Can anybody help or provide some useful hints

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved