سلام
کد پنجره نمایش اطلاعیه که تو سایت ایران ستاپ هست رو واستون آوردم ،خیلی شیک و سبک هست و با کلیک بیرون باکس پنجره بسته میشه...استایل و جاوااسکریپتش هم آپلود خود ایران ستاپ گذاشتم
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<script type="text/javascript" src="http://iransetup.com/ModalWin/PACK.js"></script>
<script type="text/javascript" src="http://iransetup.com/ModalWin/ModalWin.js"></script>
<style>
#mask {
position:absolute;
left:0;
top:0;
z-index:9000;
background-color:#000;
display:none;
}
#boxes .window {
position:fixed;
width:440px;
height:200px;
display:none;
z-index:9999;
padding:20px;
}
</style>
</head>
<div id="boxes" align="center">
<div id="dialog1" class="window" style="width: 510px; height: 297px" align="center">
<div align="center">
<table border="0" width="470" cellspacing="0" cellpadding="0" style="border-width: 0px">
<tr>
<td style="border-style: none; border-width: medium; " align="center" width="470"><table border="0" width="470" cellspacing="0" cellpadding="0">
<tr>
<td width="470"><p align="center" style="margin-top: 0; margin-bottom: 0"><img border="0" src="http://iransetup.com/Images/PopUp1.png" width="470" height="52"></td>
</tr>
</table>
<table border="0" width="470" cellspacing="0" cellpadding="0" background="http://iransetup.com/Images/PopUp2.png">
<tr>
<td width="470"><div align="center">
<table border="0" width="92%" cellspacing="0" cellpadding="0">
<tr>
<td><p dir="rtl" align="justify" style="margin-top: 0; margin-bottom: 0"> </p>
<p dir="rtl" align="justify" style="line-height: 150%; margin-top: 0; margin-bottom: 0">
<font face="Tahoma" style="font-size: 9pt" color="#009900">
متن مورد نظر در این قسمت
<p dir="rtl" align="center" style="margin-top: 0; margin-bottom: 0">
<font face="Tahoma" style="font-size: 8.5pt" color="#808080">برای
بستن این پیام ، در مکانی خارج از این<span lang="en-us"> box </span>کلیک کنید.</font></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table border="0" width="470" cellspacing="0" cellpadding="0">
<tr>
<td width="470"><p align="center" style="margin-top: 0; margin-bottom: 0"><img border="0" src="http://iransetup.com/Images/PopUp3.png" width="470" height="20"></td>
</tr>
</table></td>
</tr>
</table>
</div>
</div>
<div id="mask"></div>
</body>
</html>