А вот скрипт:
Код
<div id="overlay" style="display:none;"></div>
<div class="alert_big_wrap">
<div style="display:none;" class="alertBoxBlock" id="alertBoxBlock">
<div id="disclaimer-content">
<div id="disclaimer-txt">
<p><font size="4">Эта категория содержит материалы для взрослых 18+</font></p><br><br>
<p>
Категория сайта "18+", которые вы собираетесь посетить, содержат<br>
<b>видео и фото материалы, предназначенные только для взрослых</b>.<br>
Чтобы продолжить просмотр, подтвердите, что вам уже исполнилось 18 лет.
</p>
</div>
<div class="buttons">
<span onclick="buttonxyuOkClick();" id="bouton-entrer" class="button-entrer xyu_porn_close">Мне исполнилось 18 лет</span>
<span onclick="javascript: document.location.href = xyuNoUrl;event.preventDefault();" id="bouton-sortir" class="button-sortir xyu_porn_leave">Нет</span>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="http://www.pornoxyu.net/js/disclaimer.js"></script>
<style>
/* kll */
.alert_big_wrap .xyu_porn_close {
background: green;
color: white !important;
padding: 5px;
margin-right: 10px;
border-radius: 9px;
cursor: pointer;
font-size: 29px;
text-transform: uppercase;
}
.alert_big_wrap .xyu_porn_leave {
padding: 5px;
background: red;
color: white !important;
border-radius: 9px;
cursor: pointer;
font-size: 29px;
text-transform: uppercase;
}
#overlay {
background-color: #000;
display: none;
height: 100%;
left: 0;
opacity: 0.8;
position: fixed;
top: 0;
width: 100%;
z-index: 19999998;
}
.alert_big_wrap .alertBoxBlock {
border-radius: 5px;
display: none;
left: 50%;
margin-left: -354px;
opacity: 0;
position: fixed;
z-index: 19999999;
width: 708px;
text-align: center;
margin-top: -226px;
}
#disclaimer-content{ width:700px; height:445px; border:4px solid #000; background:url("http://www.pornoxyu.net/images/disclaimerxyu.jpg") 50% 50px no-repeat #fff; margin:0 auto; text-align: center;}
#disclaimer-txt{ font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#000; margin-top:220px; padding:0px 30px;}
.buttons{ text-align:center; margin-top:50px;}
.buttons a{
font-size:29px;
color:#380001;
text-decoration:none;
text-transform:uppercase;
}
.buttons a:active {
font-size:29px;
color:#380001;
text-decoration:none;
text-transform:uppercase;
}
.buttons a:visited {
font-size:29px;
color:#380001;
text-decoration:none;
text-transform:uppercase;
}
.buttons a:hover {
font-size:29px;
color:#380001;
text-decoration:none;
text-transform:uppercase;
}
.button-entrer{ margin-right:50px;}
.bck_logo{ background:url() repeat 0px 0px;}
.backMenu{ background:url() repeat-x top left; height:34px;}
.backMenuContainer{ width:1000px; margin:0 auto;}
</style>
Добавлено (20.08.2016, 13:41)
---------------------------------------------
категория:(ид15)
сайт/video/vic/vkhod_toka_s_18
Добавлено (20.08.2016, 13:45)
---------------------------------------------
С одного сайта взял, понравился прост, хотелось ее реализовать под категорию...