473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Check Layer State

I have an asp/javascript page. The page has several hidden layers.
When the user clicks a button, a layer becomes visible.

How can I check the state of a layer to see if it is hidden or not in
asp code?

tia

ck
Jul 22 '05 #1
2 1215
wrote on 01 mei 2005 in microsoft.public.inetserver.asp.general:
I have an asp/javascript page. The page has several hidden layers.
When the user clicks a button, a layer becomes visible.

How can I check the state of a layer to see if it is hidden or not in
asp code?


You cannot.

ASP is serverside and doesn't know about layers or even browsers.

Please ask a clientside code NG.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #2
Do you need the layer state on the server? If so you will have to keep track
of it using Client-Side script code and send the information in a request to
the server when needed. The state of objects in the browser is unknown to
the server.

--
--Mark Schupp
<ck****@REfuse.net> wrote in message
news:om********************************@4ax.com...
I have an asp/javascript page. The page has several hidden layers.
When the user clicks a button, a layer becomes visible.

How can I check the state of a layer to see if it is hidden or not in
asp code?

tia

ck

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Iver Erling Årva | last post by:
Hi! I wonder if anyone knows how to do this. I use layers in one of my html pages to simulate tabs like tabs in windows application. I have one layer per "page/tab" and call them...
1
by: timchalk | last post by:
I believe I've found a problem with the Safari DOM when updating the text found within a layer. Although the layer is updated correctly visually, the underlying DOM seems to grow larger with...
2
by: Locoboy | last post by:
Is it possible to hide certain DIVlayers when the user has clicked a link? using PHP? (it's possible by using javascript, but i want to avoid using JS) So it has to be something like: 1. if...
2
by: headware | last post by:
I am new to 3-tiered design and am in the process of designing an application that will work with ASP.NET as well as Windows Forms (and possibly with a PDA of some sort down the road). My question...
8
by: Jon Maz | last post by:
Hi, I'm facing a code-optimisation issue on an asp.net/vb.net/SQL Server 2000 project. A web page containing not much more than 3 DropDownLists is taking nigh on 6 seconds to load, because each...
0
by: Lance | last post by:
I am trying to add a new Data Layer Class in Visual Studio Express. Just a heads up, but I am new to this technology. In the tutorial I am using, it gives these instructions: "2. In the...
3
by: absoft | last post by:
What are the best practices for passing UserId and Password stored in the Session state on the UI layer e.g. ASP.NET Web Forms to the Business Layer or the Data Layer.
2
by: ashoknepc | last post by:
i am learning asp.net ajax, i want to show thumbnails of images on the page when i mouseover the thumbnail it should get enlarged into a layer above it. and this layer should get hide on...
5
by: JEgbert | last post by:
I am trying to hide a layer when a text box length is zero, and its just not working! It hides the content in the layer, but you still see a little 2 pixel width blip on the screen. I've spent...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.