Skip to content

Instantly share code, notes, and snippets.

@KirinDave
Created August 27, 2008 04:42
Show Gist options
  • Save KirinDave/7420 to your computer and use it in GitHub Desktop.
Save KirinDave/7420 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Test</title>
<style>
.popup {
border: double 3px #000000;
font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
display: none;
position: absolute;
width: 30%;
z-index: 60;
}
.popuptitle {
background-color: #CCCC99;
color: #666633;
font-weight: bold;
height: 15px;
padding: 5px;
}
.popupbody {
background-color: #999966;
padding: 5px;
text-align: center;
}
#popup { top: 200px; left: 35%; }
</style>
</head>
<body>
<a href="#" onclick="document.getElementById('popup').style['display'] = 'block'">Show</a>
<div id="popup" class="popup">
<div class="popuptitle">Replace</div>
<div class="popupbody">
<p style="text-align: center;">To vote for us,<br>
please click on Buizels <br></p>
<a href="#" onclick="this.parentNode.parentNode.style['display'] = 'none'">Hide</a>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment