БЕГУЩАЯ СТРОКА С ОСТАНОВКОЙ ПРИ НАВЕДЕНИИ
куда требуется
код
Код:<marquee scrollamount="5" onmouseover="this.stop()" onmouseout="this.start()"> .Тут текст. </marquee>
УБИРАЕТ «ОТРЕДАКТИРОВАНО»
html-вверх
код
Код:<!-- не видно отредактировано --> <style>.lastedit{display:none;}</style> <style> .category h2 span{ visibility:hidden; } </style>
ЗАПЯТАЯ ПОСЛЕ НИКА
html-низ
код
Код:<!--ЗАПЯТАЯ ПОСЛЕ НИКА--> <script type="text/javascript"> function to(username) {insert('[b]' + username + '[/b]' + ', ');} </script> <!--КОНЕЦ-->
ОБТЕКАНИЕ ИЗОБРАЖЕНИЯ
html-низ
код
Код:<!--обтекание изображения 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>
ВЫДЕЛИТЬ КОД
html-низ
код
Код:<!--ВЫДЕЛИТЬ КОД --> <script type="text/javascript"> function select_text(elem) { if(window.getSelection) { var s=window.getSelection(); if(s.setBaseAndExtent){ s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1); } else { var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } } else if(document.getSelection){ var s=document.getSelection(); var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } else if(document.selection){ var r=document.body.createTextRange(); r.moveToElementText(elem); r.select(); } } </script> <script type="text/javascript"> var div = document.getElementById('pun-main').getElementsByTagName('div'); for(x in div){ if(div[x].className=='code-box'){ div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">забрать себе</a>'; } } </script> <!--ВЫДЕЛИТЬ КОД -->
ПИАР-ВХОД
html-низ
код
Код:<!---ПИАР-ВХОД---!> <style>.Myimge {position:absolute;margin-left:10px;margin-top:0px;cursor:pointer;}</style> <script type="text/javascript"> PiarNik="ЛОГИН"; PiarPas="ПАРОЛЬ"; var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\ <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\ <fieldset>\ <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\ <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\ <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\ <input type=\"submit\" class=\"button\" name=\"login\"/>\ </fieldset>\ </form>\ </div>\ <span id=spMyimg><img class=\"Myimge\" title=\"Быстрый вход для 'Пиарщиков'\" onclick=\"PiarIn()\" src=\"http://funkyimg.com/i/2bAvo.png\" onmouseover=\"this.src='http://funkyimg.com/i/2bAvo.png' \" onmouseout=\"this.src='http://funkyimg.com/i/2bAvo.png'\" /></span>"; if($("#navlogin").html()!=null){ $("#navlogin").append(L) //navlogin $("#PR_loginDiv #fld1").val(PiarNik) $("#PR_loginDiv #fld2").val(PiarPas) function PiarIn () {$("#PR_loginDiv input[type='submit']").click();} } </script> <!-- КОНЕЦ" -->
СОКРЫТИЕ НАЗВАНИЙ ПОЛЕЙ ПРОФИЛЯ
html-низ
код
Код:<!--УБИРАЕТ НАЗВАНИЯ ПОЛЕЙ--> <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> <script type="text/javascript"> var fld = document.getElementsByClassName("pa-fld2") for(i=0;i<fld.length;i++){ fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1) } </script> <!--УБИРАЕТ НАЗВАНИЯ ПОЛЕЙ-->
СЧЁТЧИК СИМВОЛОВ
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> <!--СЧЕТЧИК СИМВОЛОВ -->
ВСТАВИТЬ КАРТИНКУ В ПОСТ
html-низ
код
Код:<!-- Вставить картинку в пост --> <script> var oldIMG="<td id=\"button-image\" title=\"Вставить картинку\"><img onclick=\"bbcode('[img]','[/img]')\" src=\"/i/blank.gif\"/><b><p style=\"z-index:20;position:absolute;height14px;margin:-15px 0 0 22px;\">2</p></b></td>" $("#button-image").after(oldIMG); </script>
ВЫРАВНИВАНИЕ ТЕКСТА ПО ШИРИНЕ
html-низ
код
Код:<!--ФОРМА ОТВЕТА ВЫРАВНИВАНИЕ ТЕКСТА ПО ШИРИНЕ--> <style> #button-mybb {background-image:url('http://icons.iconarchive.com/icons/famfamfam/silk/16/text-align-justify-icon.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%} </style> <script type="text/javascript"> if(form=document.getElementById("form-buttons")) form.getElementsByTagName("tr")[0].insertCell(8).innerHTML="<img src='/i/blank.gif' id='button-mybb' onclick=\"bbcode('[align=justify]', '[/align]');\"/>" </script> <!--ФОРМА ОТВЕТА ВЫРАВНИВАНИЕ ТЕКСТА ПО ШИРИНЕ-->
НОВЫЕ СООБЩЕНИЯ
html-низ
код
Код:<!--НОВЫЕ СООБЩЕНИЯ--> <script type="text/javascript"> function show_new() { if(GroupID == 3) return; $('#pun-ulinks ul').prepend('<li class="item1"><a href="/search.php?action=show_new">Новые сообщения</a></li>');} show_new(); </script> <!--НОВЫЕ СООБЩЕНИЯ-->
ШРИФТ В ТОПИКЕ
html-низ
код
Код:<!--МЕНЯЕМ ШРИФТ В ТОПИКЕ --> <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><!--МЕНЯЕМ ШРИФТ В ТОПИКЕ -->
КОНВЕРТИК ЛС
html-низ
код
Код:<!--КОНВЕРТИК ЛС--> <script type="text/javascript"> var nrisunok="https://forumupload.ru/uploads/0000/0a/f2/68797-1.gif"; if( (document.getElementById("navpm").innerHTML.indexOf("(") != -1)) { document.getElementById("navpm").innerHTML="<img src='"+nrisunok+"'> "+document.getElementById("navpm").innerHTML; }; </script> <!--КОНЕЦ-->
ПЛЕЕР В ПОСТЫ
html-низ
код
Код:<!-- ПЛЕЕР В ПОСТЫ --> <!--audio плеер (special edition)v.2.01 обновленный--> <script language="javascript"> $(function(){ $('td#button-video').before('<td id="floatbut" style=\'background-image:url("http://www.eurohitmusic.free.fr/photos/autres/winamp_icon.gif")\' onclick="tag_play()"></td>'); $("div.post-content, li.pa-title").map(function () { text = $(this).html(); if(text.indexOf("[/playf]") != -1) { changer = /\[playf\](\d+)\[\/playf\]/g $(this).html(text.replace(changer, " ")); } if(text.indexOf("pleer.com") != -1) { player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi $(this).html(text.replace(player, "<br /><embed src='http://embed.pleer.com/track?id=$2' type='application/x-shockwave-flash' wmode='transparent' width='480' height='42'></embed>")); } if(text.indexOf("zippyshare.com") != -1) { player = /\[audio\]http:\/\/www(\d+)\.zippyshare\.com\/v\/(\d+)\/file\.html\[\/audio\]/gi $(this).html(text.replace(player, "<br /><embed type='application/x-shockwave-flash' src='http://api.zippyshare.com/api/mediaplayer/mediaplayer.swf' flashvars='height=20&width=400&file=http://www$1.zippyshare.com/downloadMusic%3Fkey%3D$2%26&volume=80&autostart=false&frontcolor=0x000000&backcolor=0xffffff&lightcolor=0x000000&type=flv' quality='high' menu='false' wmode='transparent' allowscriptaccess='always' height='20' width='400' name='mp3player' border='0' style='margin-bottom: 6px;'/>"));} if(text.indexOf("http://rghost.ru") != -1) { player = /\[audio\](.*?)\/(\d+)\[\/audio\]/g $(this).html(text.replace(player, "<br /><object height='15' width='455' type='application/x-shockwave-flash' data='http://rghost.ru/flash/mediaplayer.swf' id='preview_mp3' style='visibility: visible;'><param name='flashvars' value='file=http://rghost.ru/download/action/$2/mp3&streamer=http://rghost.ru/download/action/$2/mp3'></object>")); } if(text.indexOf(".mp3") != -1) { player = /\[audio\](.*?)\[\/audio\]/g $(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&st=http://www.demo-music.ru/pleer/style_pleer.txt&file=$1' width='425' height='30'>")); } }); }); var popup, popupp, pop, popzz, poprg, popam, popfl; function tag_play() {var FoundErrors = ''; var pop = window.open("","popDialog","height=270,width=800,Scrollbars=1") pop.document.open(); // генерировать новый документ pop.document.write("<html><head><title>Player"); pop.document.write("</title></head><body bgcolor=#00FF00>"); pop.document.write("<font face=Arial><center><font size=+4>"); pop.document.write("<strong>"); pop.document.write("Выберите аудиохостинг:"); pop.document.write("</strong>"); pop.document.write("</br>"); pop.document.write("</font></center>"); pop.document.write("<center><font size=+3>"); pop.document.write("<strong>"); pop.document.write("<a href='http://www.zippyshare.com/?locale=ru'>"); pop.document.write("zippyshare.com"); pop.document.write("</a>"); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write("<a href='http://rghost.ru'>"); pop.document.write("rghost.ru"); pop.document.write("</a>"); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write(" "); pop.document.write("<a href='http://pleer.com'>"); pop.document.write("prostopleer.com"); pop.document.write("</a>"); pop.document.write("</br>"); pop.document.write("</br>"); pop.document.write("</strong>"); pop.document.write("</font></center>"); pop.document.write("<center><font size=+2><font color=#FF0000>"); pop.document.write("<strong>"); pop.document.write("<i>"); pop.document.write("Полученную ссылку на аудиофайл вставьте вместо:"); pop.document.write("</br>"); pop.document.write("[object Window]"); pop.document.write("</i>"); pop.document.write("</strong>"); pop.document.write("</font></font></center></font>"); pop.document.write("</body></html>"); pop.document.close(); if (!document.all) {pop.moveTo(100,100);} if (FoundErrors) {alert("Ошибка!" + FoundErrors); return ;} insert(" ");} </script> <!-- КОНЕЦ -->