southbeach
Programmer
I working on a page where upon clicking an icon I do
(a) Display hidden layer blockScreen
(b) Display hidden layer inputForm
Layer blockScreen has CSS properties:
This works well except that if the screen content goes beyond the standard screen size, user could scroll down and potentially trigger other actions off the page; this is the very thing I am trying to prevent by "blocking" the screen.
I figure I could change the blockScreen layer height property if I knew what to set it to.
So, is there a way I can obtain the height, including beyond standard screen size?
Thank you all in advance for your help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
(a) Display hidden layer blockScreen
(b) Display hidden layer inputForm
Layer blockScreen has CSS properties:
Code:
div#blockScreen {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 10;
display: none;
background-color: #CCC;
opacity:.55;
}
This works well except that if the screen content goes beyond the standard screen size, user could scroll down and potentially trigger other actions off the page; this is the very thing I am trying to prevent by "blocking" the screen.
I figure I could change the blockScreen layer height property if I knew what to set it to.
So, is there a way I can obtain the height, including beyond standard screen size?
Thank you all in advance for your help!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.