ВСЕ СКРИПТЫ
Скрипты
Сообщений 1 страница 6 из 6
Поделиться12015-01-05 19:04:04
Поделиться22015-01-05 19:05:36
эффект растворения | полупрозрачность

в хтмл-низ
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.Hoverbuttons').each(function () {
var $span = $(this).css('opacity', 0.3);
$(this).hover(function () {
$span.stop().fadeTo(600, 1);
}, function () {
$span.stop().fadeTo(600, 0.3);
});
});
});
</script>Изображению, которому вы хотите добавить этот эффект, нужно добавить класс Hoverbuttons:
<img src="URL" class="Hoverbuttons">
Код:<head> <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.Hoverbuttons').each(function () { var $span = $(this).css('opacity', 0.3); $(this).hover(function () { $span.stop().fadeTo(700, 100); }, function () { $span.stop().fadeTo(600, 0.3); }); }); }); </script> <head>
Поделиться32015-01-05 19:08:13
хтмл коды в посты
самый верх хтмл-верх
<script>
var allowed= new Array("admin");
var post, htmltext, htmltag, allow;
function replacehtml(str, tag1, htmltext, tag2) {
return htmltext.replace(/(<)(.*?)(>)/g,'<$2>')
.replace(/"/g,'"');
}
if(document.URL.indexOf("viewtopic.php")!=-1){
$('.post').each(function(){
allow=0;
post = $(this).find('.post-body');
htmltag = /(\[html\])(.*?)(\[\/html\])/g;
if ($.inArray($(this).find('.pa-author a').text(), allowed)!=-1) allow = 1;
if (allow && $(post).html().match(htmltag)!=null) {
$(post).html($(post).html().replace(htmltag, replacehtml));
}});}
</script>сам код взять в тег [code ]
Поделиться42015-01-05 19:11:13
скрипт меню

в начало
Цвета style_cs.css
a.sbla:link, a.sbla:visited {
display: block;
margin-bottom: 1px;
text-transform: lowercase;
font-style: italic;
font-family: georgia;
font-size: 10px;
letter-spacing: 1px;
border-radius: 10px;
background: #2c2118;
color: #c3b69d;
padding: 2px 2px 2px 10px;}
a.sbla:hover, a.sbla:active {
-moz-transition: 0.2s ease;
-webkit-transition: 0.8s ease;
display: block;
text-transform: lowercase;
font-family: georgia;
font-size: 10px;
letter-spacing: 5px;
background: #170a00;
text-decoration: none;
color: #c3b69d;
text-align: center;
padding: 2px 2px 2px 20px;
border-radius: 10px;}туда где будут стоять ссылки
<div style="padding: 3px; background: #; opacity: 0.8; -moz-border-radius: 0px 0px 0em 0em;width: 300px; margin: -1px 0px 0px 1px; border-radius: 10px;text-align: center;"> <a href="ссылка" class="sbla"><font color="#c3b69d">имя</font></a> <a href="ссылка" class="sbla"><font color="#c3b69d">имя</font></a> <a href="ссылка" class="sbla"><font color="#c3b69d">имя</font></a> <a href="ссылка" class="sbla"><font color="#c3b69d">имя</font></a> <a href="ссылка" class="sbla"><font color="#c3b69d">имя</font></a> </div>
Поделиться52015-01-05 19:12:07
скрипт позволяющий убрать модераторов
#pun-index .modlist {display: none; }или
html-верх
<style type="text/css">
#pun td .modlist {display: none;}
</style>Поделиться62015-01-05 19:13:32
нестандартные шрифты
HTML-верх
<link href='http://fonts.googleapis.com/css?family=Playfair+Display+SC&subset=latin,cyrillic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Bad+Script&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
список всех шрифтов в https://www.google.com/fonts#

















657053908
black.nat









