Click here to Skip to main content
15,888,908 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHome page not Shown Pin
mikobi10-Dec-09 20:18
mikobi10-Dec-09 20:18 
AnswerRe: Home page not Shown Pin
Ashfield11-Dec-09 1:16
Ashfield11-Dec-09 1:16 
AnswerRe: Home page not Shown [modified] Pin
plecco22-Dec-09 9:17
plecco22-Dec-09 9:17 
NewsFree Support for Getting Started with Windows Azure Pin
brucedkyle10-Dec-09 8:11
brucedkyle10-Dec-09 8:11 
GeneralRe: Free Support for Getting Started with Windows Azure via Microsoft's Front Runner Program is excellent, the dev tools are free too! Pin
GoAzure12-Apr-10 17:21
GoAzure12-Apr-10 17:21 
GeneralAndroid & Javascript Pin
Bassam Abdul-Baki5-Dec-09 12:15
professionalBassam Abdul-Baki5-Dec-09 12:15 
QuestionPage Fade Out To Focus On Popup Pin
Abydosgater5-Dec-09 7:38
Abydosgater5-Dec-09 7:38 
AnswerRe: Page Fade Out To Focus On Popup Pin
enhzflep5-Dec-09 12:26
enhzflep5-Dec-09 12:26 
A couple of things that come to mind.

Are you declaring the div tag at the start of the page html? (i.e before the content it has to obscure)
Are you remembering to make the div's position absolute, and it's z-index a higher number than the content to be obscured?


Here's my css and body

#overlay 
{
	background: #000;
	opacity: 0.5;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 100;
	cursor: pointer;
	cursor: hand;
	display: none;
}

#box
{
	background: yellow;
	position: absolute;
	width: 33%;
	height: 33%;
	left: 1px;
	top: 1px; 
	z-index: 101;
	cursor: crosshair;
	display: none;
}


<body>
<div id="overlay">Overlay</div>
<div id="box" onclick="onBoxClick();" onmouseover="styleElem(this, 'red');" onmouseout="styleElem(this, 'yellow');">Box</div>
<div> 
	<h1>This is some content</h1><br>
    <input type=button id="myBtn" onclick="onBtnClick();" value="Show"/>
</div>
</body>


If this doesn't help, I can post the full source (~300 lines)
GeneralRe: Page Fade Out To Focus On Popup Pin
Abydosgater5-Dec-09 14:10
Abydosgater5-Dec-09 14:10 
AnswerRe: Page Fade Out To Focus On Popup [modified] Pin
plecco22-Dec-09 9:21
plecco22-Dec-09 9:21 
QuestionWebservices for inserting values from one server to another server using C#.NET Pin
cbe_pav4-Dec-09 17:54
cbe_pav4-Dec-09 17:54 
AnswerRe: Webservices for inserting values from one server to another server using C#.NET Pin
The Man from U.N.C.L.E.5-Dec-09 4:59
The Man from U.N.C.L.E.5-Dec-09 4:59 
AnswerRe: Webservices for inserting values from one server to another server using C#.NET [modified] Pin
plecco22-Dec-09 9:24
plecco22-Dec-09 9:24 
QuestionVirtual keyboard using JSP Pin
omi1407883-Dec-09 6:23
omi1407883-Dec-09 6:23 
AnswerRe: Virtual keyboard using JSP Pin
The Man from U.N.C.L.E.5-Dec-09 5:03
The Man from U.N.C.L.E.5-Dec-09 5:03 
GeneralRe: Virtual keyboard using JSP Pin
Amanda Grey8-Dec-09 21:37
Amanda Grey8-Dec-09 21:37 
Question[Message Deleted] Pin
emurf2-Dec-09 10:29
emurf2-Dec-09 10:29 
AnswerRe: Web Service Call Errors Before It Finishes Pin
David Skelly2-Dec-09 22:22
David Skelly2-Dec-09 22:22 
RantRe: Web Service Call Errors Before It Finishes Pin
emurf3-Dec-09 3:26
emurf3-Dec-09 3:26 
GeneralRe: Web Service Call Errors Before It Finishes Pin
David Skelly3-Dec-09 3:39
David Skelly3-Dec-09 3:39 
GeneralRe: Web Service Call Errors Before It Finishes Pin
Ashfield3-Dec-09 4:04
Ashfield3-Dec-09 4:04 
GeneralRe: Web Service Call Errors Before It Finishes Pin
emurf3-Dec-09 4:13
emurf3-Dec-09 4:13 
GeneralRe: Web Service Call Errors Before It Finishes PinPopular
Ashfield3-Dec-09 4:23
Ashfield3-Dec-09 4:23 
GeneralRe: Web Service Call Errors Before It Finishes Pin
The Man from U.N.C.L.E.5-Dec-09 5:10
The Man from U.N.C.L.E.5-Dec-09 5:10 
GeneralRe: Web Service Call Errors Before It Finishes Pin
Paul Conrad8-Dec-09 5:39
professionalPaul Conrad8-Dec-09 5:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.