Hi!
Sorry for my bad english.
Darkening page in ie doesn't work well. On the left side there is part of the site that isn't covered with dark! In firefox this is well, whole page is covered, but in ie not.
Thanks.
(There is an attachment).
ivan3510 8 Junior Poster
Recommended Answers
Jump to PostWhen you want to darken a page, you place the following HTML right after the <body> tag:
<div id='darkscreen' style='position:fixed; top:0px; left:0px; color:black; opacity:0.5; filter:alpha(opacity=50); width:100%; height:100%;'></div>
If you want to toggle its display, you can use:
document.getElementById('darkscreen').style.display = 'inline'; // Show document.getElementById('darkscreen').style.display = …
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.