Единый форум поддержки

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

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


Вы здесь » Единый форум поддержки » Корзина » Подфорумы у форумов


Подфорумы у форумов

Сообщений 21 страница 28 из 28

21

Vojd (забывший пароль) написал(а):

выходит что поднять нужно на 20 px и влево 2 px

.No-vstavka {
  display:inline-block;
  float:left;
  font-weight:700;
  margin-top:-88px;
  padding:4px;
  font-size:90%;
  margin-left: 10px;

}

очевидно -108
и 12

Отредактировано Deff (Сб, 2 Мар 2013 18:35:54)

0

22

Deff, благодарю!

0

23

Deff, образовалась проблема, после того, как поставил в описании No vstavka и прилепил изображения к форумам -
http://s3.uploads.ru/t/8iAMg.png

Как видите: главный форум наехал на подфорумы, а подфорумы и вовсе - не отображают свои изображения. Сие у всех форумов, где есть подфорумы. Пожалуйста, помогите исправить)

0

24

Vojd
Замените HTML низ

Код:
<script type="text/javascript"><!--Своя картинка в каждую категорию -->
 $(document).ready(function(){

myarray=new Array(
"Огнём и мечом 2 - На Карибы!", "https://forumstatic.ru/files/0010/38/ce/25210.png",
    "Огнём и мечом - Великие битвы", "https://forumstatic.ru/files/0010/38/ce/38635.png",
     "Потоп", "https://forumstatic.ru/files/0010/38/ce/89845.png",
"Игровые сервера - Великие битвы", "https://forumstatic.ru/files/0010/38/ce/23265.png",
"Разное", "https://forumstatic.ru/files/0010/38/ce/14593.png",
"Статистика форума", "https://forumstatic.ru/files/0010/38/ce/51821.png"
    //Последний элемент без запятой!  
)

        $("#pun-index div.category h2,#pun-index #pun-stats h2").each(function (i) {
 for(q=0;q<myarray.length;q++){

var cssObj = {
   "height":"36px",
   "background-color": "transparent",
   "background-image":"url("+myarray[q+1]+")",
   "background-position":"50% 50%",
   "background-repeat":"no-repeat"       //Последний элемент без запятой!
}

        if($(this).children("span").text()==myarray[q])$(this).css(cssObj);
        q++}
    });
 });
</script>



<!-- Скрипт для замены чекбоксов и пр. -->
<script src="https://forumstatic.ru/files/0010/b1/9a/84948.js" type="text/javascript"></script>

<script type="text/javascript">

 $('input:checkbox').uniform(); 

</script>


<!-- //=Универсальная Кнопка Ч2-HTML низ//Скрытие Категорий и т.д.-->
<div id="CNtButton" style="display:none;">
            <span class="Show-Hide" alt="###">
              <span class="b-Hide">
                <img src="http://i52.fastpic.ru/big/2013/0117/8f/d408fe8d49d7aa93f0d89c45a7ebd48f.png" title="Скрыть">
              </span>
              <span class="b-Show" style="display:none">
                <img src="http://i52.fastpic.ru/big/2013/0117/2b/2677a490258b029709442c706e6cc82b.png" title="Показать">
              </span>
            </span>
</div>
<script type="text/javascript">var DD=$("#CNtButton").html().split('###');
$("#pun-announcement  .container, #pun-status .container, .category .container, #pun-stats .statscon").each(function(){var L=DD[0]+"#"+$(this).parent().attr("id")+" ."+$(this).attr("class")+DD[1];$(this).before(L);})
</script><!-- //End-/Универсальная Кнопка//Скрытие Категорий и т.д.-->

<!-- Стиль Профиля в Топике-->
<style>
.punbb .post-author ul li {
//font-weight:bold;
font-size:13px!important;
color:#000000;
font-style:italic;
font-weight:bold;
text-shadow:#C0BCA8 1px 1px 0px;
padding:3px;
margin:2px;
border:ridge 3px #AAA58B!important;
    border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    -moz-border-radius:5px;
    -o-border-radius:5px;
 }
.punbb .post-author ul .pa-avatar{
/**/border:none transparent 0!important;
}
</style>


<script type="text/javascript">
function changeLink()
{var arr=document.links
for (j in arr)
{
if (arr[j].innerHTML=="Уважение")
{arr[j].innerHTML="Честь"}

}}
changeLink()
</script>


<script>
<!--
userof="Пользователи" 
str = document.getElementById("navuserlist").innerHTML
if( (pos=str.indexOf("Участники")) != -1 )
document.getElementById("navuserlist").innerHTML=str.substring(0,pos)+userof+str.substring(pos+9,str.length-1)
-->
</script>

<script>
<!--
pismaof="ЛС" 
str = document.getElementById("navpm").innerHTML
pos = str.indexOf("Сообщения")
document.getElementById("navpm").innerHTML=str.substring(0,pos)+pismaof+str.substring(pos+9,str.length-1)
-->
</script>

<script><!--Своя картинка или Слово в Пользовательские Ссылки -->
var Img_Word=0;   //0-Картинка;1-Cлово /Ставим картинку или Слово ?
 ulinks=new Array(
  ".item3","Неактивные темы", // Темы без ответов
  ".item5","Подписи", // Подписка
  ".item6","Отметить все темы прочитанными" // Все прочитано - !ПОСЛЕДНИЙ элемент без запятой
)
var s,i;for (i=0; i < ulinks.length; i++){s=ulinks[i+1];
   if(!Img_Word){s='<img class="ulinks" src="'+s+'" border="0" />'}
   $("#pun-ulinks "+ulinks[i]+" a").html("<span>"+s+"</span>");i++;}
</script>


<style type="text/css">
#pun-status {
 padding-bottom:27px;
}
#pun-status .item2 {
 position:absolute;
 margin:32px 0 0 50px;
}
</style>
<script><!--Универсальный скрипт замены. -->
var Nbsp='&'+'nbsp;'
function UniverСhange(selektor,changed,substitute){
$(selektor).each(function(){if ($(this).parent().html()!=null){if($(this).parent().html().indexOf(changed)!=-1){
 $(this).parent().html($(this).parent().html().replace(changed,substitute));};};});}

UniverСhange("#pun-status .item1","Привет,","<img src='https://forumstatic.ru/files/0010/38/ce/41229.png' alt='gif' style='margin:0 -167px -81px 0'/>");
UniverСhange("#pun-status .item1","Ваш последний визит:","");
UniverСhange(".forum .tcl","Перемещена:","[Перенесено]");
UniverСhange(".forum .tcl .stickytext","Важно:","[Выделено]");
UniverСhange(".forum .tcl .newtext a","Новые"+Nbsp+"сообщения","New posts");
</script>

<div id=Nullopr><div id="OprosResult" style="width:100%!important;display:none;text-align:center;">
<div class="container" style="width:94%;color:#F7F7F7;height:67px;margin-bottom:-67px;background-color:#4D4C52;position:relative;z-index:9999999;font-size:11px;border:none transparent 0!important;"><br><span style="font-size:32px;">РЕЗУЛЬТАТЫ ОПРОСА</span><br>(*крутим скроллинг)</div>
<iframe marginheight=200 width="99%" height="300" src="SsylkaNaOpros"></iframe></div></div>
<script type="text/javascript">
var NumClick=0,lnkGoogle="http://translate.google.com/translate?hl=ru&sl=en&u=";
var Lopr=$("#Nullopr").html();$("#Nullopr").replaceWith("");
if($("#vote").html()!=null){
function framePreview(){
if(NumClick==0){
Lopr=Lopr.replace(/SsylkaNaOpros/img,lnkGoogle+document.URL)
$("#vote table").before(Lopr);
$("#OprosResult").show('slow')
NumClick++;
}else $("#OprosResult").toggle('slow')
}
$("#vote input[name='null']").replaceWith('<input  type="button" onclick="framePreview()" name="null" value="Результаты опроса"/>')
}

<script><!--Своё Слово вместо:Новая тема;Новый опрос;Ответить;Профиль;ЛС;и т.д. -->
   pstlnk=new Array(".pl-email","ЛС","Отправить ЛС", ".pl-email","E-mail",""// !ПОСЛЕДНИЙ элемент без запятой
 )
function find_and_replace(value){for (var i=0; i < pstlnk.length; i=i+3){
  var str=$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html();
  if (str!=null) {str=str.replace(pstlnk[i+1],pstlnk[i+2]);
$(value).find(pstlnk[i]+":contains('"+pstlnk[i+1]+"')").html(str);};};}
$("#pun-viewforum .linkst,#pun-viewforum .linksb,#pun-viewtopic .linkst,#pun-viewtopic .linksb,#pun-viewtopic .post .post-links").each(function(){find_and_replace(this);;});
</script>


<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>


<!--Бегущая строка v.3 © Romych-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="marqueebut" style=\'background-image:url("http://img17.imageshack.us/img17/55/marquees.png")\'><img src="/i/blank.gif" title="Бегущая строка"></td>');
$('.marqur').css('cursor', 'pointer');
$('#marqueebut, .marqur').click(function(){
$('div#marqu').toggle();});
$("div.post-content").map(function () {
text = $(this).html();
if(text.indexOf("[/marqu]") != -1) {
marquees = /\[marqu=(.*?)\]([^`]*?)\[\/marqu\]/gi
$(this).html(text.replace(marquees, "<marquee direction='$1' scrollamount='2' onMouseOver='this.stop()' onMouseOut='this.start()'>$2</marquee>")); }
}); });
</script>
<div id="marqu" class="container"  style="display:none;width:auto;padding:8px;position:absolute;margin-top:-35%;margin-left:35%;">
<div><strong>Выберите направление</strong></div><hr><br>
<div align="center" onclick="bbcode('[marqu=up]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/up_arrow.png" title="up"></div>
<span onclick="bbcode('[marqu=left]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/left_arrow.png" title="left"></span><span style="float:right;" onclick="bbcode('[marqu=right]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/right_arrow.png" title="right"></span>
<div align="center" onclick="bbcode('[marqu=down]', '[/marqu]')"><img class="marqur" src="http://www.iconsearch.ru/uploads/icons/iconza/24x24/down_arrow.png" title="down"></div>
</div>

	<!-- палитра в форму ответа --><script src="http://hostjs-mybb2011.narod.ru/js/Deff_BigPalette.js"></script>
<!-- конец скрипта-->
<!-- Добавляем своё Описание темы в форуме -->
<style type="text/css">
    .yaxiko {
    color: #FF0000;   /* Цвет текста */
    margin-top: 2px;    /* Частично отступ сверху */
    margin-left: 68px; /* Отступ слева */
    width:134px;	/*Ширина поля для Описания */
    font-size: 87%;    /* Размер Шрифта (можно в пикселах */
    display:block;
    }
    #pun-crumbs1 .yaxiko,
    #pun-crumbs2 .yaxiko,
    #pun-index .yaxiko,
     div.post-links .yaxiko,
    #pun-main h1 .yaxiko{
    display:none;
    }
    </style>
<script type="text/javascript">
var opisymb='‡';
$("#pun a:contains('‡')").each(function (){
var ss = $(this).html();
ss=ss.replace('‡','<p class="yaxiko">')+'</p>';$(this).html(ss);
if ((document.URL.indexOf("viewtopic.php") == -1) && (document.URL.indexOf("post.php") == -1) && (document.URL.indexOf("edit.php") == -1)){$(this).find(".yaxiko").appendTo($(this).parents("td:first"))};});

$("#pun-viewtopic #pun-crumbs1 .crumbs:contains('‡'),#pun-main h1 span:contains('‡'),#pun-viewtopic #pun-crumbs2 .crumbs:contains('‡')").each(function (){
var ss = $(this).html();var n=ss.indexOf('‡');ss=ss.substring(0,n);$(this).html(ss);});


if (((document.URL.indexOf("edit.php?id")!=-1)||(document.URL.indexOf("post.php?fid")!=-1) || (document.URL.indexOf("post.php?action=post")!=-1))&&($("input[name='req_subject']").html()!==null)&&($("#fld4").html()==null)) {
var str2="";

$("span.input:first").after('<br/><span>Описание<br/><input id="fld4" type="text" name="tryam" value="'+str2+'" size="80" maxlength="70" /></span>');
$("input[name='submit']").css({'display':'none'});
$("input[name='preview']").css({'display':'none'});

var str=$("input[name='req_subject']").val(),Dleng=str.length;
var L=str.indexOf('‡');

if(L!=-1){
 str0=str.substring(0,L-1);
 var str2=str.substring(L+1,Dleng);
 $("input[name='req_subject']").val(str0);
 $("input[name='req_subject']").remove().appendTo(".input:first");
 $("#fld4").val(str2);
}

if ($("#pustoj").html()==null){$("input[value='Отправить']").after('<input type="button"  id="pustoj" class="button" name="pustoj" value="Отправить" />');}

if ($("#pustoj2").html()==null){$("input[value='Посмотреть']").after('<input type="button"  id="pustoj2" name="pustoj2" value="Предварительный просмотр"/>');}

$("input[name='pustoj2']").click(function (){
 if($("#main-reply").val()==''){alert('"Сообщение" это поле обязательно для заполнения в этой форме.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='preview']").click();});

$("input[name='pustoj']").click(function (){
 if($("#main-reply").val()==''){alert('Сообщение обязательно для заполнения.');return};
    $("input[name='req_subject']").css({'color':''+$("input[name='req_subject']").css("background-color")+''})
var str=$("input[name='req_subject']").val(),str1;  str1=$("#fld4").val(); if (str!=""&&str1!=""){
  str+=" "+opisymb+str1;$("input[name='req_subject']").val(str);$("#fld4").remove();};
$("input[name='submit']").click();});
}
</script><!-- Конец/Описание темы в форуме  -->


<script type="text/javascript"> var L0='<img class="imgON_Off" src="';
var L1='" style="cursor:pointer;cursor:hand;width:50;margin-top:3px;" />'; //50 - размер картинки по горизонтали

var ImgON="http://i54.fastpic.ru/big/2013/0202/13/cf76b290612593e92b8b5ce2dbfaec13.png";  // Картинка Online;
var ImgOff="http://i54.fastpic.ru/big/2013/0202/81/675aec5eeb7880700a1803ce8fba4781.png";  // Картинка OffLine;

$("#pun-viewtopic .post .post-author ul").each(function ()   {
$(this).html('<div class=UL>'+$(this).html()+'</div>');
if ($(this).find(".pa-online").html()!=null){$(this).append(L0+ImgON+L1)
    }else $(this).append(L0+ImgOff+L1);
$(this).find(".pa-author,.pa-title,.pa-avatar").insertBefore($(this).find("div.UL"));});

$("ul .imgON_Off").click(function () {
$(this).parent("ul").find(".UL").toggle('slow');});
</script>


<script type="text/javascript">
var arr=document.links
for (j in arr)
{
  if (arr[j].href.indexOf("online.php") != -1)
  {
     arr[j].innerHTML="Онлайн"
  }
}
</script>


<script>
$('#post input[name="preview"]').val('Предварительный просмотр')
</script>


<script language="JavaScript">
document.getElementById("pun-navlinks").style.position = "relative"

function showDiv()
{
if(  document.getElementById("searchDiv").style.display == 'none' )
     document.getElementById("searchDiv").style.display = ''
else document.getElementById("searchDiv").style.display = 'none'

return false;
}

str  = "<a href=\"search.php\" onclick=\"return showDiv()\"><span>Поиск</span></a>"
str += "<div id=searchDiv style=\"display: none; \">"

str += " <form method=\"get\" action=\"search.php\">"
str += "    <input type=\"hidden\" name=\"action\" value=\"search\">"
str += "    <p class=\"inputfield\">"
str += "    <label for=\"fld1\">Ключевые слова</label><br />"
str += "    <span class=\"input\"><input type=\"text\" name=\"keywords\" size=\"25\" maxlength=\"100\" /></span>"
str += "    </p>"
str += "    <p class=\"inputfield\">"
str += "    <label for=\"fld2\">Поиск автора</label><br />"
str += "    <span class=\"input\"><input type=\"text\" name=\"author\" size=\"25\" maxlength=\"25\" /></span>"
str += "    </p> <br>"

str += "    <input type=\"hidden\" name=\"forum\" value=\"-1\">"
str += "    <input type=\"hidden\" name=\"search_in\" value=\"all\">"
str += "    <input type=\"hidden\" name=\"sort_by\" value=\"0\">"
str += "    <input type=\"hidden\" name=\"sort_dir\" value=\"DESC\">"
str += "    <input type=\"hidden\" name=\"show_as\" value=\"topics\">"

str += "    <p><input type=\"submit\" class=\"button\" name=\"search\" value=\"Отправить\" accesskey=\"s\" title=\"Accesskey:s\" /></p>"
str += " </form>"

str += "    <a href=\"search.php\">Расширенный поиск</a> "
str += "</div>"

document.getElementById('navsearch').innerHTML = str
</script>
<style>
#searchDiv{
position:absolute; 
background-color : [b]Gray[/b]; 
border : solid;
padding-bottom : 5px;
padding-left : 5px;
padding-right : 5px;
padding-top : 5px;
z-index:2;
}
</style>

<!-- Скрипт модераторских тегов-->

<script>
function addMod(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("[mod]",from))==-1) return str;
if((pos2=str.indexOf("[/mod]"),pos+5)==-1) return str;
newpos=str.indexOf("[mod]",pos+5)
if(newpos<pos2 && newpos!=-1) str=addMod(str,pos+5,true)
if((pos2=str.indexOf("[/mod]",pos+5))==-1) return str;
str=str.substring(0,pos)+makeMod(str.substring(pos+5,pos2))+str.substring(pos2+6,str.length)
if( str.indexOf("[mod]")!=-1 && internal==false) str=addMod(str,0,false)
return str}


function makeMod(txt){
txt = "<div id='mod'><p id='mod_title'><img src='https://forumstatic.ru/files/0010/38/ce/32195.png' style='position: center' /></p><div id='mod_text'>" + txt + "</div></div>";
return txt}


if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addMod(post.innerHTML,0,false)}}
</script>



<style>
#button-mod {background-image:url('https://forumstatic.ru/files/0010/38/ce/67352.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:14px; width:50%}
</style>
<script type="text/javascript">
if((document.getElementById("navadmin")) && (form=document.getElementById("form-buttons")))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Теги администрации - обязательно к использованию, для выдачи предов, каких либо поправок сообщений пользователей и т.п.' id='button-mod'  onclick=\"bbcode('[mod]', '[/mod]');\"/>"
</script>

<script type="text/javascript">
if (document.title.indexOf(" - Форум")!=-1)
{
makeSubforum('forum_f25', 'forum_46')
}

function makeSubforum(ff, sf)
{
{document.getElementById(ff).getElementsByTagName("td")[1].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[1].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[1].innerHTML*1)
document.getElementById(ff).getElementsByTagName("td")[2].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[2].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[2].innerHTML*1)
if ((document.getElementById(ff).className.indexOf("inew")==-1)&&(document.getElementById(sf).className.indexOf("inew")!=-1))
{document.getElementById(ff).className=document.getElementById(ff).className+" inew"}
var date1=document.getElementById(ff).innerHTML.substr(document.getElementById(ff).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
var date2=document.getElementById(sf).innerHTML.substr(document.getElementById(sf).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
if (transtoDate(date2)>transtoDate(date1))
{document.getElementById(ff).getElementsByTagName("td")[3].innerHTML=document.getElementById(sf).getElementsByTagName("td")[3].innerHTML}}
}

function transtoDate(oi)
{var d1=new Date()
d1.setHours(oi.substr(oi.indexOf(" ")+1, 2), oi.substr(oi.indexOf(":")+1, 2), oi.substr (oi.lastIndexOf(":")+1, 2))
if (oi.substr(0, 5)=="Сегод")
{var resd=d1.getTime()}
else if (oi.substr(0, 5)=="Вчера")
{var resd=(d1.getTime()-(1000*60*60*24))}
else 
{d1.setFullYear(oi.substr(0, 4), (oi.substr(oi.indexOf("-")+1, 2))-1, oi.substr(oi.indexOf("-")+3, 2))
var resd=d1.getTime()}
return resd}

</script>


<script>

$('.tc3:contains(Уважение)').html('Честь');
 
$('.tcl:contains("Форум пуст.")').html('Раздел пуст.'); 

$(".pmtc24 input").removeAttr("title");

$('#pun-crumbs1 .crumbs:contains("Cообщения: Новое сообщение")').append('<br><img src="http://i52.fastpic.ru/big/2013/0122/9c/c65e601215cfc016c3c1d1f01408f79c.gif" style="margin-left: 20px; padding-top: 10px">');

$('#pun-crumbs1 .crumbs:contains("Cообщения: Входящие")').append('<br><img src="http://i53.fastpic.ru/big/2013/0122/b0/6c8d3cd010da3d1587457b8f0fcfc1b0.png" style="float: right; margin-right: 100px" width=42% height=42%>');


if (window.location == 'http://forumoim.0bb.ru/messages.php')
$("#html-header").prepend('<style>\
#pun-messages form#post {position: absolute;margin-top: -150px;width: 570px;}\
#pun-messages #messages .fs-box {margin-top: -70px;}\
#pun-messages #profilenav {\
margin-top: -260px;\
}</style>');
</script>



<script type="text/javascript">
var DefAvtr="https://forumstatic.ru/files/0010/38/ce/35033.png";

var s='<li class="pa-avatar item2"><img class="defavtr" src="'+DefAvtr+'" alt="Аватар"/></li>';$("li.pa-title").each(function(){if (($(this).parent("ul").find("li.pa-avatar").html())==null){$(this).after(s);};});
</script>



<!-- Скрытие Описаний форумов с показом при наведении  -->
<style>
.Toggl {
  padding:18px;
  width:250px;
  margin-bottom: -18px;
  margin-left: 40px;
  z-index:12;
  display:none;
  position:absolute;
  background-image:url(https://forumstatic.ru/files/0010/38/ce/28032.png);

    border-radius:15px;
    -webkit-border-radius:15px;
    -khtml-border-radius:15px;
    -moz-border-radius:15px;
    -o-border-radius:15px;

    box-shadow: 0px 5px 18px #000;
    -webkit-box-shadow:0px 5px 18px #000;
    -khtml-box-shadow:0px 5px 18px #000;
    -moz-box-shadow:0px 5px 18px #000;
filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#7C7C7C, strength=10);
}
.category .tclcon h3:hover .Toggl{
  display:block;
}
.No-vstavka {
  display:inline-block;
  float:left;
  font-weight:700;
  margin-top:-53px;
  padding:-10px;
  font-size:90%;
  margin-left: 0px;

}
</style>
<script type="text/javascript">
$(".category td.tcl .tclcon").each(function (){
 var L1=$(this).find('h3:first').html();$(this).find('h3').replaceWith("");
 var L2=$(this).find('.No-vstavka').remove();
 var L3='';
 if($(this).html().length>7){L3="<br /><span class=Toggl>"+$(this).html()+"</span>";}
 $(this).html('<h3>'+L1+''+L3+'</h3>');
 if(L2.length)L2.appendTo($(this));
});
</script>

<!-- Замена на картинку названий форумов c анимацией при наведении -->
<script type="text/javascript">
var Flist=$("#pun-index .category tr[id^='forum_f']").find(".tclcon h3");
var ForImgArr=[

// Ccылка на форум,     //Ссылка на картинку Плюс [+] возможная ссылка на картинку при наведении (может и отсутствовать вместе с плюсом в квадратных скобках!.

'http://forumoim.0bb.ru/viewforum.php?id=41',   'https://forumstatic.ru/files/0010/38/ce/59801.png[+]https://forumstatic.ru/files/0010/38/ce/59801.png',
'http://forumoim.0bb.ru/viewforum.php?id=61',   'https://forumstatic.ru/files/0010/38/ce/75541.png[+]https://forumstatic.ru/files/0010/38/ce/41852.png',
'http://forumoim.0bb.ru/viewforum.php?id=64',   'https://forumstatic.ru/files/0010/38/ce/73029.png[+]https://forumstatic.ru/files/0010/38/ce/94176.png',
'http://forumoim.0bb.ru/viewforum.php?id=63',   'https://forumstatic.ru/files/0010/38/ce/60416.png[+]https://forumstatic.ru/files/0010/38/ce/60416.png',
'http://forumoim.0bb.ru/viewforum.php?id=23','https://forumstatic.ru/files/0010/38/ce/59801.png[+]https://forumstatic.ru/files/0010/38/ce/59801.png',
'http://forumoim.0bb.ru/viewforum.php?id=22',   'https://forumstatic.ru/files/0010/38/ce/75541.png[+]https://forumstatic.ru/files/0010/38/ce/41852.png',
'http://forumoim.0bb.ru/viewforum.php?id=46',   'https://forumstatic.ru/files/0010/38/ce/73029.png[+]https://forumstatic.ru/files/0010/38/ce/94176.png',
'http://forumoim.0bb.ru/viewforum.php?id=55',   'https://forumstatic.ru/files/0010/38/ce/60416.png[+]https://forumstatic.ru/files/0010/38/ce/60416.png',
'http://forumoim.0bb.ru/viewforum.php?id=52',   'https://forumstatic.ru/files/0010/38/ce/58852.png[+]https://forumstatic.ru/files/0010/38/ce/90374.png',
'http://rusmnb.ru/index.php?board=10.0',   'https://forumstatic.ru/files/0010/38/ce/13780.png[+]https://forumstatic.ru/files/0010/38/ce/23360.png',
'http://forumoim.0bb.ru/viewforum.php?id=53',   'https://forumstatic.ru/files/0010/38/ce/40007.png[+]https://forumstatic.ru/files/0010/38/ce/98149.png',
'http://forumoim.0bb.ru/viewforum.php?id=54',   'https://forumstatic.ru/files/0010/38/ce/73918.png[+]https://forumstatic.ru/files/0010/38/ce/66073.png',
'http://forumoim.0bb.ru/viewforum.php?id=32',   'https://forumstatic.ru/files/0010/38/ce/56146.png[+]https://forumstatic.ru/files/0010/38/ce/40608.png',
'http://forumoim.0bb.ru/viewforum.php?id=51',   'https://forumstatic.ru/files/0010/38/ce/55109.png[+]https://forumstatic.ru/files/0010/38/ce/96942.png',
'http://forumoim.0bb.ru/viewforum.php?id=50',   'https://forumstatic.ru/files/0010/38/ce/25663.png[+]https://forumstatic.ru/files/0010/38/ce/83578.png',
'http://forumoim.0bb.ru/viewforum.php?id=49',   'https://forumstatic.ru/files/0010/38/ce/41961.png[+]https://forumstatic.ru/files/0010/38/ce/53481.png',
'http://forumoim.0bb.ru/viewforum.php?id=45',   'https://forumstatic.ru/files/0010/38/ce/61923.png[+]https://forumstatic.ru/files/0010/38/ce/46750.png',
'http://forumoim.0bb.ru/viewforum.php?id=60',   'https://forumstatic.ru/files/0010/38/ce/42405.png[+]https://forumstatic.ru/files/0010/38/ce/58714.png',
'http://forumoim.0bb.ru/viewforum.php?id=65',   'https://forumstatic.ru/files/0010/38/ce/14524.png[+]https://forumstatic.ru/files/0010/38/ce/27827.png',


'End']

for(var i=0; i<ForImgArr.length-1; i+=2){
  var imgN = ForImgArr[i+1].split('[+]');//alert(i+'\n'+imgN[1]);
  if(imgN[1]){imgN[1]='<img class="ForumImg a2" src="'+imgN[1]+'"  style="position:absolute;z-index:-1"/>'}else imgN[1]='';
  Flist.find("a[href$='"+ForImgArr[i]+"']").html(imgN[1]+'<img class="ForumImg a1" src="'+imgN[0]+'"/>');
}

 Flist.find(".ForumImg.a2").css({
       "opacity": "0",
       "z-index":"1"
     })
 Flist.find(".ForumImg.a2").mouseenter(function(){
      $(this).stop().animate({"opacity":1}, 700);;
    }).mouseleave(function(){
      $(this).stop().animate({"opacity":0}, 700);;
    });
</script><!--End// Замена на картинку названий форумов c анимацией при наведении -->

<style> #pun-crumbs1 p.container {display: none;}
 #pun-crumbs1 form {padding: 5px;}
 #pun-crumbs1 form input {background: url(https://forumstatic.ru/files/0010/38/ce/79109.png) no-repeat center center !important; height: 22px; width: 78px;}
#pun-crumbs1 form input, #pun-crumbs1 form select {border: 1px;}</style>
<script>
$("#pun-crumbs1 p.container").after("<FORM><SELECT size=1 name=\'navigation\'></SELECT><INPUT class=but onclick=\"location.href \= this.form.navigation.options\[this.form.navigation.selectedIndex\].value\" type=button name=button></FORM>");

//Названия разделов
var selText = new Array(
"Форум",
"--------------------------------------------------",
"Огнём и мечом 2 - На Карибы!",
"--------------------------------------------------", 
"Одиночная",
"------------------",
"Мультиплеер",
"------------------",
"Модификации",
" - Мини модификации",
" - Планирование новых модификаций",
"--------------------------------------------------",
"Огнём и мечом - Великие битвы",
"--------------------------------------------------",
"Одиночная",
"------------------",
"Мультиплеер",
"------------------",
"Модификации",
" - Мини модификации",
" - Планирвоание новых модификаций",
"--------------------------------------------------",
"Потоп",
"--------------------------------------------------",
"Мастерская",
"-------------------",
"О Моддинге",
"-------------------",
"Сетевые мероприятия",
" - Международные мероприятия",
"-------------------",
"The Deluge",
"---------------------------------------------------",
"Разное",
"---------------------------------------------------",
"Кабак",
" - Исторический",
" - Творчество",
" - Железо и Софт",
"-------------------",
"О Сайте и Форуме",
" - Архив опросов");

//Ссылки
var selHref = new Array(
"http://forumoim.0bb.ru/", 
"#", 
"#",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=41",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=61",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=62",
"http://forumoim.0bb.ru/viewforum.php?id=64",
"http://forumoim.0bb.ru/viewforum.php?id=63",
"#",
"#",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=23",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=22",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=25",
"http://forumoim.0bb.ru/viewforum.php?id=46",
"http://forumoim.0bb.ru/viewforum.php?id=55",
"#",
"#",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=52",
"#",
"http://rusmnb.ru/index.php?board=10.0",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=53",
"http://forumoim.0bb.ru/viewforum.php?id=54",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=60",
"#",
"#",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=32",
"http://forumoim.0bb.ru/viewforum.php?id=51",
"http://forumoim.0bb.ru/viewforum.php?id=50",
"http://forumoim.0bb.ru/viewforum.php?id=49",
"#",
"http://forumoim.0bb.ru/viewforum.php?id=45",
"http://forumoim.0bb.ru/viewforum.php?id=59");

for(i=0; i<selText.length && i<selHref.length; i++){
$("#pun-crumbs1 form select").append("<option value=\""+selHref[i]+"\">"+selText[i]+"</option>");
}
</script>






<script type="text/javascript">
$('.post-content').click(function(){ 
var Col = $(this).find('img.postimg').length;
var Cont=$(this).attr('id');
$(this).find('p:has(a) a').each(function(){
var PR = $(this).find('img.postimg').attr('src');
var HR = $(this).attr('href');
if(PR.indexOf("/t/")!= -1) {prev=/(.*?)uploads\.ru\/t\/(.*?)/gim;PR=PR.replace(prev, "$1uploads.ru/i/$2");}
if(PR.indexOf("ifotki.info")!= -1) {prev=/(.*?)ifotki\.info\/thumb\/(.*?)/gim;PR=PR.replace(prev, "$1ifotki.info/org/$2");}
if((HR.indexOf("uploads.ru")!= -1) || (HR.indexOf("ifotki.info")!= -1)){$(this).attr('href',PR);}
if (Col==1) {$(this).attr('rel','iLoad')};
if (Col>=2) {$(this).attr('rel','iLoad|'+Cont)};
});});
</script>


<!--Всплывающее окно цитирования--><div id="Bubble" style="display:none;position:absolute;z-index:100000"><span></span></div><script>function PopUpPL_Quote(){var fresh=false,SSsq='<img src="https://forumstatic.ru/files/0010/38/ce/12522.png">';$("#Bubble").prependTo("body");$('.post').mouseup(function(pos){var theSelection='';if(window.getSelection&&!$.browser.opera){theSelection=window.getSelection().toString()}else if(document.getSelection){theSelection=document.getSelection()}else if(document.selection){theSelection=document.selection.createRange().text}if(!(theSelection==''||typeof theSelection=='undefined'||theSelection==null)&&!(fresh)){$("#Bubble").css({'left': (pos.pageX+5)+'px', 'top':(pos.pageY+4)+'px', 'display': 'none' });$("#Bubble span").html('<a href="'+$(this).find("li.pl-quote a:first").attr("href")+'">'+SSsq+'</a>');$("#Bubble").fadeIn(200);fresh=true}else if(fresh){fresh=false}});$('#Bubble span').click(function(){$('#Bubble').hide(200);fresh=false});$('.post').mousedown(function(){if(fresh){$("#Bubble:visible").hide(200);fresh=false}});}
if($("#pun-viewtopic").length){PopUpPL_Quote()}
</script>

Больше помогать не буду, дизайн - [фекалий],
Оч похоже на сельскоукрашательство  горбатого запорожца, блестящими выкинутыми DVD -дисками.

Закажите платный Диз у клевера за 600-700р , и не нун будет еще год и более заниматься мелочевкой

Отредактировано Deff (Вс, 17 Мар 2013 03:27:05)

+1

25

Deff написал(а):

Закажите платный Диз у клевера за 600-700р , и не нун будет еще год и более заниматься мелочевкой

Можно точный ник на Форуме?

Deff, касательно диза.. я Вас не понимаю

Deff написал(а):

Замените HTML низ

Кстати, изображения подфорумов всё так же не отображаются.

Спасибо.

0

26

Vojd (забывший пароль) написал(а):

Кстати, изображения подфорумов всё так же не отображаются.Спасибо.

Ник точный - ищите на rusff
2. Картинки подфорумов установлены у Вас BB - кодами, [img]https://forumstatic.ru/files/0010/38/ce/52617.png[/img] - поэтому и не отражаются
HTML - код картинок устанавливаемых в описаниях

<img src="Ccылка"/>

0

27

Vojd (забывший пароль) написал(а):

Кстати, изображения подфорумов всё так же не отображаются.Спасибо.

Ник точный - ищите на rusff
2. Картинки в подфорумах ставяцо прямо в Описание Вместо

<a href="http://forumoim.0bb.ru/viewforum.php?id=51">Исторический,</a>

Ставим

<a href="http://forumoim.0bb.ru/viewforum.php?id=51">
  <img data="Исторический" src="Ccылка на картинку"/>
</a>

Отредактировано Deff (Вс, 17 Мар 2013 12:26:46)

0

28

Deff написал(а):

Ставим

Deff, выходит без анимации придётся?
P.S. Кое шо иное написал в ЛС.

Отредактировано Vojd (забывший пароль) (Вс, 17 Мар 2013 14:25:39)

0


Вы здесь » Единый форум поддержки » Корзина » Подфорумы у форумов