land of gods

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » land of gods » дизайн и все к нему » скрипты


скрипты

Сообщений 1 страница 30 из 31

1

.hide-autorорлрдолдолджлдж

2

скрипт сворачивания категорий. хтмл-низ
Код:
        <script type="text/javascript"><!--Cворачивание категорией Ч1-->
            //cookies
            function setcookie(a,b,c) {if(c){var d = new Date();d.setTime(d.getTime()+c);}if(a && b) document.cookie = a+'='+b+(c ? '; expires='+d.toUTCString() : '');else return false;}
            function getcookie(a) {var b = new RegExp(a+'=([^;]){1,}');var c = b.exec(document.cookie);if(c) c = c[0].split('=');else return false;return c[1] ? c[1] : false;}
            var aimg = {
             close: 'https://forumstatic.ru/files/000b/09/4f/13037.png',
             open: 'https://forumstatic.ru/files/000b/09/4f/17602.png'
            }
            </script>

        <script type="text/javascript"><!--Cворачивание категорией Ч2-->
            $('#pun-main div.category > h2 div.catleft').after('<span class="offctgr" style="float: right;"><img src="'+aimg.open+'" title="показать/cкрыть" /></span>');
            $('#pun-main div.category').each(function (i) {
                var ctgId=$(this).attr('id');
                     if(getcookie(ctgId)=='close'){
               $('#'+ctgId+' > div.container').css({display: 'none'});
               $('#'+ctgId+' > h2 > .offctgr img').attr("src",aimg.close)}
            });

            $('span.offctgr').click(function(){
            var cat=$(this).parents('div.category').attr('id');
            $(this).parents('div.category').children('div.container').toggle('slow');
            var s = $(this).find("img").attr("src") == aimg.open ? aimg.close : aimg.open;
            $(this).find("img").attr("src",s)
            var catc = getcookie(cat);
            catc = catc == 'close' ? 'open' : 'close';
            setcookie(cat,catc,3600*24*30*1000);
                  return false; });
            </script>

3

длинное тире
Код:
<!-- ДЛИННОЕ ТИРЕ -->
<script>
    $('.post-content p').html(function(){return this.innerHTML.replace(/(\s|&nbsp;)?-(\s|&nbsp;)/g,'$1&mdash;$2')});
    $('.post-content p').html(function(){return this.innerHTML.replace(/(\s|&nbsp;)?–(\s|&nbsp;)/g,'$1&mdash;$2')});
</script>

4

в латиницы на кириллицу
Код:
<!--Переключение раскладки выделенного текста -->
<style>#button-transL{background-image:url(http://uploads.ru/i/X/j/Z/XjZW7.png)}</style>
<script type="text/javascript">S='<img src="http://forum.mybb.ru/i/blank.gif" title="Lat- Русс" onclick="bbcode(\'[Lat-Rus]\',\'[/Rus-Lat]\');LatRus();"/>';
$("#button-font").after('<td id=button-transL>'+S+'</td>');var TxtTrans1='lat';
function LatRus(){if(TxtTrans1=='lat'){TxtTrans1='rus'}else{TxtTrans1='lat'};
lat0='qwertyuiopasdfghjkl;\'zxcvbnm\,QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>`~[].'.split('');
lat='qwertyuiopasdfghjkl;\'zxcvbnm\,QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>`~'.split('');
lat.push('\\[');lat.push('\\]');lat.push('\\.');
rus=('йцукенгшщзфывапролджэячсмитьбЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮёЁхъю').split('');
function transF(p){ar1=lat;ar2=rus;if(TxtTrans1=='lat'){ar2=lat0;ar1=rus}for(var i=0; i<ar1.length; i++){trans='/'+ar1[i]+'/g';p=p.replace(eval(trans), ar2[i])}return p;}L=$('#main-reply').val();L=L.replace(/\[Lat-Rus\]([\s\S]*)\[\/Rus-Lat\]/mg,function(a,b,c){return transF(b);});$('#main-reply').val(L);}
</script>
<!-- Конец -->

5

разделение ников запятой
Код:
<!-------------------------- Разделение Ников запятой в теме -------------------------->
<script type="text/javascript"> $('#topic-users-in a').prev('a').after(','); </script> 

6

хтмл низ, для скрытия надпись отредактировано
Код:
<style>
.lastedit {display: none;}
</style>

7

отключить кнопку пожаловаться
Код:
/*** чтобы не жаловались ***/
li.pl-reports {
display: none !important;
}

8

вниз, быстрое редактирование
Код:
<!-- Быстрое редактирование постов © Alex_63 // V.3 -->
<script src="https://forumstatic.ru/files/0015/c4/3f/97896.js" type="text/javascript"></script>

9

ОТКЛЮЧИТЬ "Сервис рекомендаций", Отключение кнопки "Жалоба в сообщениях", Отключить функцию "Теги" вверх
Код:
<!--ОТКЛЮЧИТЬ "Сервис рекомендаций", Отключение кнопки "Жалоба в сообщениях", Отключить функцию "Теги"--><script type="text/javascript">
rusffLive.enable = false;
RusffCore.sets.show_reportBtn = 0;
RusffCore.sets.tags = false;</script>

10

убирает двоеточие после слова репутация, вниз
Код:
<!------------------------ убираем двоеточие после слова репутация ------------------------>
<script>
$(".topic .pa-respect, .topic .pa-posts").html(function() {
let str = this.innerHTML;
let withoutDots = /\:/g;
return str.replace(withoutDots, '');
});
</script>

11

Регулировка размера шрифта в постах, вниз
Код:
<!-- Регулировка размера шрифта в постах © Alex_63 -->
<script type="text/javascript" src="https://forumstatic.ru/files/0018/fc/79/52419.js"></script>

12

спрятать мои загрузки в навигации, вниз
Код:
<!--СПРЯТАТЬ мои загрузки В НАВИГАЦИИ-->
<style type="text/css">
#pun-ulinks li.item5 {display: none;}
</style>

13

разделение ников пользователей в теме запятой, вниз
Код:
<!-- Разделение ников пользователей в теме запятой -->
<script>$('#topic-users-in a').prev('a').after(',');</script>

14

Замена двойных кавычек на парные угловые скобки («») в постах, вниз
Код:
<script type="text/javascript">
(function(){function rep(str, p1,offset, s){
  return '>'+p1.replace(/"([^ "][^"]+?)"/gm,'«$1»')+'<';}
$('.post-content p').each(function(){
  $(this).html(('</>'+$(this).html()+'</>').replace(/>([^<>]+)</gm, rep));
});}());
</script>

15

запрет рекламе менять аватар подпись и статус, вниз
Код:
<!--запрет рекламе менять аватар подпись и статус -->
<script type="text/javascript">
var a =document.URL
var b=document.getElementById('pun-status').innerHTML
if (b.indexOf("bad pr")!=-1)
{
if ((a.indexOf("signature")!=-1)||(a.indexOf("section=avatar")!=-1))
{document.getElementsByName('update')[0].onclick=noChange}
else if (a.indexOf("upload-avatar")!=-1)
{document.getElementsByName('urload')[0].onclick=noChange}}
function noChange()
{alert ("ты что творишь?")
return false}
</script>
<style>
#pun-main #profile1[action$="id=6"]{
display:none;
}
</style>
<!--КОНЕЦ-->

Текст {alert ("ты что творишь?") можно заменить на свой
Находим [action$="id=6"] - id=6 - пишем свой id профиля рекламы.

16

Выстраиваем в одну строку числа сообщений и репутации
Код:
/*Выравниваем в одну строку число постов и Уважение*/
.pa-posts,.pa-respect {
text-align:center;
border: 3px double #0F0107; /*Вид бордеров*/
display:inline-block;
padding:0 2px!important;
width:76px;
margin-left: 0;
}

СТАВИМ В В Цвета style_cs.css:

17

скрипт смайла
Код:
<script src="https://forumstatic.ru/files/0017/95/29/40399.js"></script>
<script>
$(document).ready(function() {
  hvStickerPack.init("ссылка на форумный файл в формате блокнота");
});
</script>

18

быстрый плюс и коммент
Код:
<style>.NoComments{
  float:right;
  margin-top:33px;
  cursor:pointer;
  position:relative;
  z-index:100;
  width:30px;height:30px;
  background:url(https://forumstatic.ru/files/0014/cc/0a/74970.png);
  background-size:cover;
}
</style>
<!-- Быстрые Плюсы без комментариев ©Deff-->
<script type="text/javascript" >
if($('#pun-viewtopic').length)$(function(){
   $('<div class="NoComments" title="+ Без комментариев!"></div>').insertAfter($('.post .post-vote'));
   $('.post .NoComments').click(function(){
       $('#pun-reputation').hide();
       $(this).prev('.post-vote').find('a.positive').click();
       $('#pun-reputation .inner.post_reputation h1>span').text('Поднять  репутацию');
       $('#pun-reputation').find('input#reputationButtonSend').click();
       setTimeout(function(){$('#pun-reputation .bg.post_reputation, #pun-reputation .inner.post_reputation').hide();$('#pun-reputation').show()},130);
   });
});
</script>

19

заблюреный текст вместо зачеркнутого, ставится во второе окошко стиля
Код:
del {
    text-decoration: none!important;
    opacity:.4;
    text-shadow: 0 0 5px, 0 0 5px, 0 0 5px, 0 0 5px, 0 0 5px;
     transition-duration: 0.6s;
}
del:hover {
     text-shadow: none!important;
     opacity:1!important;
     transition-duration: 0.6s;
}

20

быстрый плюс со своей картинкой
Код:
<style>.NoComments{
  float:right;
  margin-top:13px;
  cursor:pointer;
  position:right;
  z-index:100;
  width:20px;height:20px;
  background:url(https://i.imgur.com/ufNV6y0.png);
  background-size:cover;
}
</style>
<!-- Быстрые Плюсы без комментариев ©Deff-->
<script type="text/javascript" >
if($('#pun-viewtopic').length)$(function(){
   $('<div class="NoComments" title="плюс без комметария"></div>').insertAfter($('.post .post-vote'));
   $('.post .NoComments').click(function(){
       $('#pun-reputation').hide();
       $(this).prev('.post-vote').find('a.positive').click();
       $('#pun-reputation .inner.post_reputation h1>span').text('Поднять  репутацию');
       $('#pun-reputation').find('input#reputationButtonSend').click();
       setTimeout(function(){$('#pun-reputation .bg.post_reputation, #pun-reputation .inner.post_reputation').hide();$('#pun-reputation').show()},130);
   });
});
</script>

21

блюр на текст вместо зачеркнутого

22

<!-- Быстрые Плюсы без комментариев ©Deff-->
<script type="text/javascript" >
if($('#pun-viewtopic').length)$(function(){
   $('<div class="NoComments" title="плюс без комметария"></div>').insertAfter($('.post .post-vote'));
   $('.post .NoComments').click(function(){
       $('#pun-reputation').hide();
       $(this).prev('.post-vote').find('a.positive').click();
       $('#pun-reputation .inner.post_reputation h1>span').text('Поднять  репутацию');
       $('#pun-reputation').find('input#reputationButtonSend').click();
       setTimeout(function(){$('#pun-reputation .bg.post_reputation, #pun-reputation .inner.post_reputation').hide();$('#pun-reputation').show()},130);
   });
});
</script>

23

<!--Отключение функций "Жалоба, Это интересно, Поделиться, Граффити"-->
<script type="text/javascript">
RusffCore.sets.show_reportBtn = 0;
rusffLive.enable = false;
RusffCore.sets.share = false;
RusffCore.sets.graffiti = false;
</script>

24

<!--обтекание изображения 2.4.4-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="floatbut" style=\'background-image:url("http://s002.radikal.ru/i198/1009/43/f183caeae434.gif")\'></td>');
$('#floatbut, .vibor').click(function(){
$('div#float').toggle();});
  });
elm=document.getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content")
{
post = elm[x].innerHTML;
if(post.indexOf("[/float]") != -1) {
floats = /\[float=(.*?)\]([^\[]{1,11000})\[\/float\]/gi
elm[x].innerHTML = elm[x].innerHTML.replace(floats, "<span style='float: $1; margin: 15px; text-align: $1;'>$2</span>")
}}
</script>
<div id="float" style="display:none;background:#FFFFCC;border:1px solid black; width:auto; padding:8px; position:absolute; margin-top:-32%; margin-left:35%; z-index:20">
<div><strong>Направление обтекания</strong></div><br>
<div align="center">
<img class="vibor" src="http://s001.radikal.ru/i193/1009/96/695abc799ddb.png" title="left" onclick="bbcode('[float=left]', '[/float]')" />
<img class="vibor" src="http://s002.radikal.ru/i199/1009/ac/95c10fcc7d82.png" title="right" onclick="bbcode('[float=right]', '[/float]')" />
</div></div>

25

<!--ПРОФИЛАКТИКА-->
<div id="resplash" style="display: none;">
<div class='formal' style='height:200px; width:200px; margin:auto; margin-top:200px; font-family:tahoma; font-size:10px;'> <form id='login' class='container' method='post' action='login.php?action=in' onsubmit='return my_form(this)'><fieldset><span>Форум на профилактике</span><div class='fs-box inline'> <input type='hidden' name='form_sent' value='1' /><input type='hidden' name='redirect_url' value='index.php' /><p class='inputfield required'> <label for='fld1'>Имя <em>(Обязательно)</em></label><br /> <span class='input'> <input type='text' id='fld1' name='req_username' size='25' maxlength='25'/></span></p> <p class='inputfield required'> <label for='fld2'>Пароль <em>(Обязательно)</em></label><br /> <span class='input'> <input type='password'  id='fld2'  name='req_password'  size='25'  maxlength='25' /></span></p></div></fieldset> <center><p class='formsubmit'> <input type='submit' class='button' id='customebutton' name='login' value='Войти как Администратор' /></p></center></form></div></div>
<script type="text/javascript">
var active = 1;
if(GroupID != 1 && active == 1){
e10 = document.createElement('div')
e10.innerHTML = document.getElementById("resplash").innerHTML;
document.getElementsByTagName('body')[0].insertBefore(e10,document.getElementById('pun_wrap'))
document.write("<style type=\"text/css\">html, body {background: #fff;} #customebutton {margin: auto;} #pun {display: none;}</style>");
document.title= 'Форум на профилактике — '+document.title;
}
</script>
<!--ПРОФИЛАКТИКА КОНЕЦ-->

26

[{n:"трек 1",u:"https://forumstatic.ru/files/0019/c6/a1/41461.mp3",c:""}]

27

Код:
<!--HTML-->
<div class="spiritbox">
  <div class="spirit_pic"><img src="https://i.imgur.com/U18dHyc.gif" original-title style="border-radius: 30px 0px!important;"></div>
  <div class="spirit_title">добро пожаловать
<div class="spirit_subtitle">в сан диего</div></div>
  <div class="spirit_txt"><div>
<center><b>Добро пожаловать, кьючивчик!</b></center><br>
Став официальным жителем нашего города, тебе следует пройти <a href="https://cuteone.rusff.me/viewtopic.php?id=41#p74"><b>паспортный контроль</b></a>
 и заполнить все коды. Не забудь забежать в <a href="https://cuteone.rusff.me/viewtopic.php?id=9#p9"><b>банк</b></a>, чтобы  пополнить финансы, наверняка они тебе понадобятся. По пути можешь заскочить в <a href="https://cuteone.rusff.me/viewtopic.php?id=11#p11"><b>зал ожидания</b></a>, наверняка тебе захочется выяснить отношения со всеми знакомцами и незнакомцами! Всего хорошего и интересных тебе приключений!
</div> 
</div>
 </div>

<style>
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700|Play:400,700&subset=cyrillic');

.spiritbox {width: 450px;
height: 150px;
border-radius: 30px 0px !Important;
overflow: hidden;
position: relative;
display: block;
margin: auto}

.spirit_pic {width: 450px;
height: 150px;
border-radius: 30px 0px!Important;
transition: all 0.7s ease-in-out 0s}

.spirit_pic img {
max-height: 150px;}

.spirit_title {width: 400px;
    position: absolute;
    text-align: center;
    margin-top: -103px;
    font-family: catallina;
    font-size: 20px;
    font-weight: 500;
    margin-left: 25px;
    color: #a7b8a7;
    text-shadow: 1px 1px 0px #17181759;
    text-transform: uppercase;
    transition: all 0.7s ease-in-out 0s;}

.spirit_subtitle {box-shadow: 0px -1px 0px 0 #dddcd954;
    width: 162px;
    text-align: center;
    font-family: montserrat;
    font-size: 10px;
    font-weight: 600;
    color: #bea591;
    text-shadow: 1px 1px 1px #11121280;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out 0s;
    padding-top: 4px;
    margin-top: 4px;
    margin-left: 118px;}

.spirit_txt {width: 420px;
    height: 120px;
    text-align: justify;
    font-family: 'Montserrat';
    color: #e1e1e1;
    border-radius: 20px 0px;
    font-size: 11px;
    margin-top: 25px;
    position: absolute;
    background: linear-gradient(45deg, #9db09cad, #bea590bd);
    line-height: 12px;
    margin-left: 15px;
    opacity: 0;
    transition: all 0.7s ease-in-out 0s;}

.spirit_txt div {
overflow-y: auto;
padding-right: 6px;
padding-left: 3px;
  margin: 11px 7px;
  height: 110px
}

.spirit_txt div::-webkit-scrollbar {
width: 6px;
height:6px;
background-color: transparent;}

.spirit_txt div::-webkit-scrollbar-thumb {
  background-color: #9db09c;
  width:6px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255,0.1) inset;
}

.spiritbox:hover .spirit_pic {filter: grayscale(100%) blur(2px);
transform: scale(1.2)}

.spiritbox:hover .spirit_title {margin-top: -210px}
.spiritbox:hover .spirit_txt {margin-top: -135px;
opacity: 1}</style>

28

/* XI. ПРОСМОТР ПРОФИЛЯ BY BLANCHE. МОЖНО БРАТЬ ПОЛНОСТЬЮ ИЛИ ЧАСТЯМИ, НО ОСТАВЛЯЕМ КОПИ
-------------------------------------------------------------*/
#viewprofile li strong, #viewprofile li div, #setmods dd, #profile-left #pa-edit strong a {  display: block;  font-weight: normal !important;}
#pun-profile #viewprofile-next {    background-color: #e0e0e0;
    box-shadow: 0 0 0 1px #ffffff6b inset, 0 0 10px #cfcfcf, 0 0 10px inset #ffffff40;
    margin: 0px 10px -5px 10px;
    border-radius: 2px;}
/* слева */
#profile-left #profile-name {
position: absolute;
    top: 156px;
    right: 0px;
    overflow: hidden;
    display: block;
    text-transform: uppercase;
    font-size: 40px;
    font-family: 'Yeseva One';
    color: var(--baselink);
}

#profile-left #pa-avatar div img {border-radius: 2px;max-width: 140px;max-height: 140px; object-fit: cover;}
#profile-left #pa-avatar div {    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 5px 0 0 !important;
    border: 1px solid #949494;}

#profile-right li, #profile-right li a, #pun-profile #pa-edit a {color: var(--baselink) !important;}
/* справа */
#profile-right li:not(#pa-last-visit) { width: inherit; text-align: center;  height: 54px;}
#profile-right li#pa-email a, #profile-left #pa-edit a, #profile-left #pa-avatar div, #profile-right li#pa-posts strong a, #profile-left li#pa-online {border-radius: 5px; border: 1px solid #b1b1bd;}

#profile-right li#pa-last-visit {position: absolute;
    width: 194px;
    left: 54px;
    top: 405px;
    padding: 9px 7px !important;
    border-radius: 5px; }
#profile-right li#pa-last-visit {letter-spacing: 0.5px !important; text-align: center;}
#profile-right #pa-last-visit span, #profile-right #pa-last-visit strong {display: inline-block !important; padding: 0px !important;    background: none !important;}\

/* показать все соо и темы, онлайн, посл. визит */
#profile-right li#pa-posts strong a, #profile-left li#pa-online {  189px;padding: 9px 7px !important;}
#profile-left li#pa-online {left: 45px; letter-spacing: 0.5px !important;  text-align: center;}

/* настройка блоков справа */
#viewprofile #profile-right li span {align-items: center; justify-content: center;}
#viewprofile #profile-right li span, #profile-right li#pa-email strong a, #profile-left #pa-edit a, #profile-right li#pa-posts strong a, #profile-left li#pa-online, #profile-right li#pa-last-visit {padding: 7px;text-transform: uppercase;font-size: 8px; background: #b1b2bd87;}
#profile-right li#pa-email strong a:hover, #profile-left #pa-edit a:hover, #profile-right li#pa-posts strong a:hover, #profile-left li#pa-online {    background: #556572; }

#profile-left li#pa-online { width: 190px;}
#profile-left li#pa-online strong {color: #e0e0e0!important;}

#profile-left li#pa-edit { width: 226px;
    text-transform: uppercase;
    text-align: center;
    top: 200px;
    position: absolute;
    left: 45px;}

#profile-right li#pa-fld2 strong {
    margin: 10px;
    height: 26px;
    overflow: auto;
    text-align: justify;
}

#profile-right li#pa-fld1 strong {
margin: 10px;
    height: 26px;
    display: flex;
}

li.pl-share, li.pl-reports, li.pa-online, #profile-right li#pa-invites, .pa-last-visit, #profile-title, #profile-right #pa-last-visit span  {display: none !important;}

29

NAME SURNAME //
раса // род деятельности, если есть //  возраст, дата рождения
https://via.placeholder.com/250x150 https://via.placeholder.com/250x150
навыки и способности: постарайтесь уделить этому пункту достаточно внимания, не забудьте о слабостях и ограничениях способностей вашего персонажа, а не только о возможностях. также достаточно важный пункт для охотников, расскажите нам, что помогает вам выживать и бороться с монстрами, как вы научились обращаться с тем или иным оружием. простые смертные - это ваш шанс выдохнуть и расслабиться, просто постарайтесь выжить в хеллдейле.

информация о персонажей в любой, удобной для вас форме (и размере). главное - полная картинка о вашем персонаже, а сделаете вы это за 50к символов или за 10 фактов - дело десятое. для охотников не забудьте как вы пришли в это нелегкое дело.

пример вашей игры //

30

снег
Код:
 <script type="text/javascript" src="http://www.skincorner.com/snow.js"></script> 

Вы здесь » land of gods » дизайн и все к нему » скрипты


Рейтинг форумов | Создать форум бесплатно