ÒÀÐÒÀÐÀÐÛ

Èíôîðìàöèÿ î ïîëüçîâàòåëå

Ïðèâåò, Ãîñòü! Âîéäèòå èëè çàðåãèñòðèðóéòåñü.


Âû çäåñü » ÒÀÐÒÀÐÀÐÛ » ÏÐÎØËÎÅ » Êîäû


Êîäû

Ñîîáùåíèé 1 ñòðàíèöà 8 èç 8

1

***

0

2

ÓÁÈÐÀÅÒ ÍÀÇÂÀÍÈÅ ÄÎÏÎËÍÈÒÅËÜÍÎÃÎ ÏÎËß ÈÇ ÏÐÎÔÈËß

Êîä:
<script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld1")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>

pa-fld1 - ìåíÿòü
 HTML-íèç

0

3

ÓÁÈÐÀÅÒ "ÎÒÐÅÄÀÊÒÈÐÎÂÀÍÎ"

Êîä:
<style>
.lastedit {display:none;}
</style>

 HTML-âåðõ

0

4

ÓÁÈÐÀÅÒ ÍÀÄÏÈÑÜ "ÎÁÚßÂËÅÍÈß"

Êîä:
<style type="text/css">
#pun-announcement h2 {display: none}
#pun-announcement .container {padding-top: 1em}
</style>

 HTML-âåðõ

0

5

ÓÁÐÀÒÜ "ÍÀÃÐÀÄÛ" ÈÇ ÍÀÂÈÃÀÖÈÈ

Êîä:
<style type="text/css">
li#navawards {display: none;}
</style>

ÑÀÌÛÉ ÂÅÐÕ HTML-âåðõà

0

6

ÑÊÐÈÏÒ ÏÅÐÅÊËÞ×ÅÍÈß ÌÅÍÞ ÏÎÄ ÏÐÎÔÈËÅÌ

â html íèç

Êîä:
<script>
function HideInfo(id,but){
if(but.value=="1"){
var fil=document.getElementById(id).getElementsByTagName("li")
var fi=0
for (fi=0; fi<=(fil.length-1); fi++)
{if ((fil[fi].className=="pa-fld1") || (fil[fi].className=="pa-fld2") || (fil[fi].className=="pa-fld3"))
{fil[fi].style.display = "none";}
if ((fil[fi].className!="pa-fld1") && (fil[fi].className!="pa-fld2") && (fil[fi].className!="pa-fld3"))
{fil[fi].style.display = "block";}
}
}
if(but.value=="2"){
var fil=document.getElementById(id).getElementsByTagName("li")
var fi=0
for (fi=0; fi<=(fil.length-1); fi++)
{if (fil[fi].className!="pa-fld1") 
{fil[fi].style.display = "none";}
if (fil[fi].className=="pa-fld1")
{fil[fi].style.display = "block";}
}
}
if(but.value=="3"){
var fil=document.getElementById(id).getElementsByTagName("li")
var fi=0
for (fi=0; fi<=(fil.length-1); fi++)
{if (fil[fi].className!="pa-fld2")
{fil[fi].style.display = "none";}
if (fil[fi].className=="pa-fld2") 
{fil[fi].style.display = "block";}
}
}
if(but.value=="4"){
var fil=document.getElementById(id).getElementsByTagName("li")
var fi=0
for (fi=0; fi<=(fil.length-1); fi++)
{if (fil[fi].className!="pa-fld3")
{fil[fi].style.display = "none";}
if (fil[fi].className=="pa-fld3") 
{fil[fi].style.display = "block";}
}
}
  return false}
d = document.getElementsByTagName("div")
for (i=0;d[i]; i++){
if (d[i].className.indexOf("post-author")!=-1){t = d[i].innerHTML
   if((j = t.toLowerCase().indexOf("<li class=pa-from>"))!=-1 || (j = t.toLowerCase().indexOf("<li class=\"pa-from\">"))!=-1 || (j = t.toLowerCase().indexOf("<li class=pa-reg>"))!=-1 || (j = t.toLowerCase().indexOf("<li class=\"pa-reg\">"))!=-1)
    d[i].innerHTML = t.substring(0,j)+"<center><input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='1' id='bu1' title='Îá èãðîêå'>&nbsp;<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='2' id='bu2' title='Îá èãðîêå'>&nbsp;<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='3' id='bu3' title='Äîï. ïîëå'>&nbsp;<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='4' id='bu4' title='Äîï. ïîëå'>&nbsp;</center><div id='info"+i+"'>"+t.substring(j,t.length)+"</div>"}}
</script>
<script type="text/javascript">
  $(document).ready(function(){
    $('.splLink').click(function(){
      $(this).parent().children('div.splCont').toggle('normal');
      return false;
    });
  });
</script>
<script type="text/javascript">

$(document).ready(function() {

$(".tab_content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab_content:first").show();

$("ul.tabs li").click(function() {
    $("ul.tabs li").removeClass("active");
    $(this).addClass("active");
    $(".tab_content").hide();
    var activeTab = $(this).find("a").attr("href");
    $(activeTab).fadeIn();
    return false;
});

});
</script>

Âî âòîðîå îêíî ñòèëÿ

Êîä:
#bu1 {background-image: url(ÑÑÛËÊÀ ÍÀ ÊÀÐÒÈÍÊÓ); height: 30px; width: 30px; background-color: transparent; border: none; color: transparent}
#bu2 {background-image: url(ÑÑÛËÊÀ ÍÀ ÊÀÐÒÈÍÊÓ); height: 30px; width: 30px; background-color: transparent; border: none; color: transparent}
#bu3 {background-image: url(ÑÑÛËÊÀ ÍÀ ÊÀÐÒÈÍÊÓ); height: 30px; width: 30px; background-color: transparent; border: none; color: transparent}
#bu4 {background-image: url(ÑÑÛËÊÀ ÍÀ ÊÀÐÒÈÍÊÓ); height: 30px; width: 30px; background-color: transparent; border: none; color: transparent}

ÂÍÈÌÀÍÈÅ! ÏÎËß ÄÎËÆÍÛ ÁÛÒÜ ÂÈÄÍÛ ÂÑÅÌ! È ÄÎËÆÍÛ ÑÒÎßÒÜ Â ÑÀÌÎÌ ÍÈÇÓ ÏÎËÅÉ!
×ÒÎÁÛ ÑÄÅËÀÒÜ ÈÕ ÏÎÑËÅ ÀÂÀÒÀÐÀ, ÑÒÀÂÈÌ Â ÑÀÌÛÉ ÍÈÇ HTML ÍÈÇ:

Êîä:
<script type="text/javascript">
$(".post .post-author ul").each(function(){
 $(this).find("center:first").insertBefore($(this).find("li.pa-avatar"))

});
</script>

0

7

Ñ×ÅÒ×ÈÊ ÑÈÌÂÎËÎÂ

â html-íèç

Êîä:
<script>var a,L,epl=$("#main-reply"),str='<small id="plng" style="border:1px solid;padding:2px 3px;margin:0 20px 0 10px;">Íàïèñàíî ñèìâîëîâ: <b>00</b> </small>';epl.parents("fieldset").find("legend").prepend(str);function epl3(){a=epl.val().length;if(a>9){L=''}else{L='0'};$("#plng b").text(L+a)};epl3();$(".pl-quote").click(function (){setTimeout('epl3()',100)});epl.bind('mouseout mousemove keydown keypress keyup',function(e){epl3()});</script>

0

8

ÊÍÎÏÊÈ ÂÂÅÐÕ-ÂÍÈÇ

Âñòàâëÿòü â âåðõ

Êîä:
<!--Êíîïêè ââåðõ âíèç-->
<div style="position:fixed; right
:0.5%; bottom: 45%;">
<a href=#top onClick="scrollTo(0,0); return false;" title="Ââåðõ ñòðàíèöû">
<img src="àäðåñ êàðòèíêè ââåðõ" alt="Ââåðõ ñòðàíèöû" ></a>
<br/>
<a href=#top onClick="scrollTo(0, document.body.scrollHeight); return false;" title="Âíèç ñòðàíèöû">
<img src="àäðåñ êàðòèíêè âíèç" alt="Âíèç ñòðàíèöû" ></a> 
</div>

0


Âû çäåñü » ÒÀÐÒÀÐÀÐÛ » ÏÐÎØËÎÅ » Êîäû


Ðåéòèíã ôîðóìîâ | Ñîçäàòü ôîðóì áåñïëàòíî