ALT-FSOnline

User info

Welcome, Guest! Please login or register.


You are here » ALT-FSOnline » Test forum » Test message


Test message

Posts 31 to 60 of 94

31

<!--- Cлучайная картинка в Шапке в HTML верх-->
<style id="RandImg"></style>
<script type="text/javascript">
(function (){var img = [
"https://i.imgur.com/Jq8o6kS.gif",
"https://i.imgur.com/iEtJi8Y.jpg",
"https://i.imgur.com/WDIxY7f.jpg" //Последний элемент без запятой;
]; var elem = $('#RandImg'), i= Math.floor(Math.random()*( img.length));
var cnt = '<style id="RandImg">#pun-title {background-image: url(XX);</style>';
elem.replaceWith(cnt.replace('XX',img[i]));
}());
</script>

0

32

<!-- Регулировка размера шрифта в постах © Alex_63 -->
<style>
.FNTslider {
  background: url(https://forumstatic.ru/files/0015/57/ba/88799.png) 0 0 no-repeat;
  position: relative;
  z-index: 1000;
  width: 140px;
  height: 20px;
  margin: 3px 5px;
  float: right;
  margin-right: 7%;
  padding: 0 20px;
}
.FNTslider .before {
  background: url(https://forumstatic.ru/files/0015/57/ba/83597.png) 0 0 no-repeat;
  height: 20px;
  position: absolute;
  padding-left: 20px;
  margin-left: -20px;
  z-index: 10;
  padding-right: 10px;
}
.FNTslider .thumb {
  width: 17px;
  height: 18px;
  border-radius: 3px;
  position: relative;
  top: 1px;
  background: url(https://forumstatic.ru/files/0015/57/ba/38927.png) -1px 0 no-repeat;
  cursor: pointer;
  z-index: 20;
}
.FNTslider .thumb:hover {
  background-position: -19px 0;
}
</style>
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/31001.js"></script>

0

33

<!--Меняем Шрифт в Топике -->
<style id=a_fnt>.post h3 img{margin:0 7px;cursor:pointer;}</style>
<script type="text/javascript">
function setcookieF(a,b,c){if(c){var d=new Date();d.setTime(d.getTime());d=new Date(d.getTime()+c)}if(a&&b)document.cookie=a+'='+b+(c?'; expires='+d.toGMTString():'');else return false}function getcookieF(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}

a='<strong class=fnt style="width:auto;margin-right:28%;"><img src="img/minus.png" alt="-" />Шрифт<img src="img/plus.png" alt="+" /></strong>';$(".post:first h3 strong,.post:last h3 strong").after(a);
b_Fnt1='<style id=b_fnt>#main-reply,.punbb .post-content{font-size:';b_Fnt2='px;}</style>'
var c_Fnt;
N=getcookieF('c_Fnt')
if(N){c_Fnt=parseFloat(N);setcookieF('c_Fnt',c_Fnt,30*24*60*60*1000)}else{var c_Fnt=Math.round(parseFloat($(".punbb .post-content").css("font-size")));}
b_Fnt=b_Fnt1+c_Fnt+b_Fnt2; $("#a_fnt").after(b_Fnt);
function setFnt_Size(){
b_Fnt=b_Fnt1+c_Fnt+b_Fnt2;
$("#b_fnt").replaceWith(b_Fnt);//alert(b_Fnt)
setcookieF('c_Fnt',c_Fnt,30*24*60*60*1000);
}
$(".post h3 img[alt='-']").click(function (){if(c_Fnt){c_Fnt--;setFnt_Size();}});
$(".post h3 img[alt='+']").click(function (){if(c_Fnt<38){c_Fnt++;setFnt_Size();}});
</script><!--End//Меняем Шрифт в Топике -->

0

34

https://i.imgur.com/vsy93cZ.jpg

0

35

https://i.imgur.com/pWPMZ8R.jpg

0

36

1280px

https://i.imgur.com/emkxGxi.jpg

0

37

https://i.imgur.com/8DJD981.jpg

0

38

https://i.imgur.com/z0BuRmJ.png

0

39

https://i.imgur.com/VO7HKWZ.png

0

40

https://i.imgur.com/C5LhGYz.png

0

41

https://i.imgur.com/JvKCYvT.png

0

42

https://i.imgur.com/Uui3iXI.gif

0

43

https://i.imgur.com/dphVD4L.png

0

44

Картинка во всю шапку, с регулирующейся шириной под разные браузеры/ расширения экрана:

Примечание:

Не работает в Firefox, Safari

<style type="text/css">
#pun-title table {background-image: none !important;}
#pun-title, #pun-title table, .title-logo-tdr {background-color: transparent;}
#pun-title table  {position: relative; top: -30px ; z-index: 100 !important; height: 0px;}
#pun-title .title-logo {display: none;}
#pun-title {height: 50px;}
</style>

0

45

current HTML-top for alt-fso:

<!--- Cлучайная картинка в Шапке в HTML верх-->
<style id="RandImg"></style>
<script type="text/javascript">
(function (){var img = [
"https://i.imgur.com/Jq8o6kS.gif", //multilang gif
"https://i.imgur.com/Uui3iXI.gif", //ice_animated
"https://i.imgur.com/z0BuRmJ.png", //AZ_Oly
"https://i.imgur.com/VO7HKWZ.png", //Mai black
"https://i.imgur.com/C5LhGYz.png", //POTO
"https://i.imgur.com/JvKCYvT.png", //Mai green1
"https://i.imgur.com/dphVD4L.png", //Mai green2
"https://i.imgur.com/R9yioMj.png", //DQ1
"https://i.imgur.com/djbC1n3.png" //DQ2
//Последний элемент без запятой;
]; var elem = $('#RandImg'), i= Math.floor(Math.random()*( img.length));
var cnt = '<style id="RandImg">#pun-title {background-image: url(XX);</style>';
elem.replaceWith(cnt.replace('XX',img[i]));
}());
</script>

<style>
#pun-title {
    position: absolute;
    top:0px;
    border: none;
    width: auto;
    height: 250px;
    background-size: auto;
}

#pun-title h1 {
  display:none;
  height: 0px;
  margin: -1px 0px 0px -1px;
  }
 
  #pun {
    margin: 150px auto;
}

#pun-navlinks {
  height: 40px;
  top: 220px;
  background: #479F9F; rgba(0,0,0,0.4);
  -webkit-box-shadow: inset rgba(0,0,0,0.6) 0px 1px 5px, rgba(255,255,255,0.08) 0px -1px 0px, rgba(0,0,0,0.3) 0px 1px 4px;
  -moz-box-shadow: inset rgba(0,0,0,0.6) 0px 1px 5px, rgba(255,255,255,0.08) 0px -1px 0px, rgba(0,0,0,0.3) 0px 1px 4px;
  -khtml-box-shadow: inset rgba(0,0,0,0.6) 0px 1px 5px, rgba(255,255,255,0.08) 0px -1px 0px, rgba(0,0,0,0.3) 0px 1px 4px;
  box-shadow: inset rgba(0,0,0,0.6) 0px 1px 5px, rgba(255,255,255,0.08) 0px -1px 0px, rgba(0,0,0,0.3) 0px 1px 4px;
  }

#pun-navlinks .container {
  background-color: transparent;
  color: #fff;
  }

</style>

<!-- round edges for quotes/spoilers -->
<style>
    .punbb .quote-box, .punbb .code-box {
    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;

    -webkit-box-shadow:0px 5px 5px #000;
    -khtml-box-shadow:0px 5px 5px #000;
    -moz-box-shadow:0px 5px 5px #000;
    box-shadow: 0px 5px 5px #000;

    }
</style>

<style type="text/css">
#pun-main .category Div.icon {float: left; display: block; border-style: none none none none; height: 40px; width: 40px; background-repeat : no-repeat; background-position: top center; background-color : transparent;}

tr#forum_f1 div.icon {background-image: url(https://i.imgur.com/U3zBDOa.jpg);  }
tr#forum_f1 div.inew {background-image: url(https://i.imgur.com/8sLQo7C.jpg);  }

tr#forum_f2 div.icon {background-image: url(https://i.imgur.com/LSL5fOg.jpg);  }
tr#forum_f2 div.inew {background-image: url(https://i.imgur.com/THiwbrQ.jpg);  }

</style>

<!-- round edges for forums - right field -->
<style>.punbb .main .tcr,  .punbb .main .tcl, .punbb .main .tc2
    {
    overflow: hidden;
    text-align: left;
    width: auto;
    background-color:none; /*Фон*/
  box-shadow:inset 0 0 1em rgba(83,129,181,.7);  /*Объёмная тень внутри*/
  border-radius:5px; /*Скругления*/
  border-width:5px 0 5px 0; /*Ширина бордеров сверху- снизу*/
  border-style:solid none solid none; /*Цвет бордеров*/
  border-color:none;
  padding:12px; /* Отступ от краёв */
}
</style>

<!-- round edges for forums - posts field -->
<style>.punbb .main .tc3 {
    overflow: hidden;
    text-align: center;
    width: 5%;
    background-color:none; /*Фон*/
  box-shadow:inset 0 0 1em rgba(83,129,181,.7);  /*Объёмная тень внутри*/
  border-radius:5px; /*Скругления*/
  border-width:5px 0 5px 0; /*Ширина бордеров сверху- снизу*/
  border-style:solid none solid none; /*Цвет бордеров*/
  border-color:none;
  padding:12px; /* Отступ от краёв */
}
</style>

0

46

https://i.imgur.com/D46t9dp.jpg

0

47

https://i.imgur.com/C4bFtbN.gif

0

48

https://i.imgur.com/0g0RXEe.gif

0

49

https://i.imgur.com/hBboWwm.png

0

50

https://i.imgur.com/fcpSXF4.png

0

51

https://i.imgur.com/UIPSGQ8.jpg
https://i.imgur.com/yjgcgCu.jpg

0

52

https://i.imgur.com/BJs2MPu.png

0

53

jazzup wrote:

spellcheck icon - https://i.imgur.com/BJs2MPu.png

<!-- Проверка орфографии в сообщении (начало) -->
<style type="text/css">
td#button-speller {background:url('https://i.imgur.com/BJs2MPu.png') no-repeat center !important;}
</style>

<script type="text/javascript">
FORUM.set('editor.speller', {name:'Проверить орфографию',onclick:function(){orfo_test()}});

function orfo_test(){
var txt=$('#main-reply').val();
if(txt=='') return false;
$.ajax({
   type: "GET",
   url: "http://speller.yandex.net/services/spellservice.json/checkText",
   dataType: "jsonp",
   data: "text="+encodeURIComponent(txt)+"&lang=ru",
   success: function(msg){
     var i=msg.length;
     while(i--)if(msg[i].s!='')txt=txt.replace(msg[i].word,msg[i].s);
     $('#main-reply').val(txt);
   }
});
}
</script>
<!-- Проверка орфографии в сообщении (конец) -->

0

54

with ABC icon

<!-- Проверка орфографии в сообщении (начало) -->
<style type="text/css">
td#button-speller {background:url('https://i.imgur.com/3wWynKL.png') no-repeat center !important;}
</style>

<script type="text/javascript">
FORUM.set('editor.speller', {name:'Проверить орфографию',onclick:function(){orfo_test()}});

function orfo_test(){
var txt=$('#main-reply').val();
if(txt=='') return false;
$.ajax({
   type: "GET",
   url: "http://speller.yandex.net/services/spellservice.json/checkText",
   dataType: "jsonp",
   data: "text="+encodeURIComponent(txt)+"&lang=ru",
   success: function(msg){
     var i=msg.length;
     while(i--)if(msg[i].s!='')txt=txt.replace(msg[i].word,msg[i].s);
     $('#main-reply').val(txt);
   }
});
}
</script>
<!-- Проверка орфографии в сообщении (конец) -->

0

55

abc

#p73,jazzup wrote:

with ABC icon

+

<!-- Проверка орфографии в сообщении (начало) -->
<style type="text/css">
td#button-speller {background:url('https://i.imgur.com/3wWynKL.png') no-repeat center !important;}
</style>

<script type="text/javascript">
FORUM.set('editor.speller', {name:'Проверить орфографию',onclick:function(){orfo_test()}});

function orfo_test(){
var txt=$('#main-reply').val();
if(txt=='') return false;
$.ajax({
   type: "GET",
   url: "http://speller.yandex.net/services/spellservice.json/checkText",
   dataType: "jsonp",
   data: "text="+encodeURIComponent(txt)+"&lang=ru",
   success: function(msg){
     var i=msg.length;
     while(i--)if(msg[i].s!='')txt=txt.replace(msg[i].word,msg[i].s);
     $('#main-reply').val(txt);
   }
});
}
</script>
<!-- Проверка орфографии в сообщении (конец) -->

0

56

https://i.imgur.com/TYHSqkV.png

0

57

https://i.imgur.com/drSTjpw.png

0

58

https://i.imgur.com/TEq6ngx.png

https://i.imgur.com/GC3ppt9.png

0

59

<!-- topic icons -->
<style type="text/css">
#pun-main .category Div.icon {float: left; display: block; border-style: none none none none; height: 40px; width: 40px; background-repeat : no-repeat; background-position: top center; background-color : transparent;}

tr#forum_f1 div.icon {background-image: url(https://i.imgur.com/U3zBDOa.jpg);  }
tr#forum_f1 div.inew {background-image: url(https://i.imgur.com/8sLQo7C.jpg);  }

tr#forum_f2 div.icon {background-image: url(https://i.imgur.com/LSL5fOg.jpg);  }
tr#forum_f2 div.inew {background-image: url(https://i.imgur.com/THiwbrQ.jpg);  }

</style>

0

60

https://i.imgur.com/kzsEhKq.jpg

0


You are here » ALT-FSOnline » Test forum » Test message