Jump to content

Wierd issue with popup JS box & CSS


jdock1

Recommended Posts

If you go to teenftw.com/lock , it pops up a js window, and after the user clicks a link on the popup window it dissapears.

 

My problem is this;

 

The text or content thats behind the JS popup is still visible.

 

I am using css, heres the stylesheet code

@CHARSET "UTF-8";

#win1 {
display: none; 
width: 100%; 
height: 100%; 
z-index: 2; 
position: absolute;
background: #000; 
filter:alpha(opacity=50); 
-moz-opacity:0.5; 
-khtml-opacity: 0.5;
opacity: 0.5;
text-align: center;
}

#win2 {
text-align: center;
width: 500px; 
margin-left: auto;
margin-right: auto; 
background: #fff;  
border: 10px solid #707070;
font-family:trebuchet, "Trebuchet MS", sans-serif;

}

#links a {
text-align:center
font-size: 12px;
text-decoration: none;
font-family: sans-serif;
}

 

& the HTML code for the divs;

 

<div id="win1">
<div id="win2" style="height: 300px">
	<ul id="links">

	</ul>
</div>
</div>

 

Could anybody tell me how I could make the text invisible if the popup is active?

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.