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

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

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


Вы здесь » Единый форум поддержки » Вопросы к администрации » Не работают скрипты в HTML низ и частично верх


Не работают скрипты в HTML низ и частично верх

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

1

Добрый день.
Вчера устанавливала скрипты на тестовый форум. Работало всё отлично, а сейчас скрипты хтмл-низ неактивны.
Устанавливала на другие форумы, удаляла по кусочкам - бесполезно.
Помогите, пожалуйста, разобраться с причиной.

Адрес форума

Отредактировано Пациент 0 (Пн, 26 Ноя 2018 10:43:57)

0

2

Пациент 0
Вот эти коды

Код:
<style>      /* новая палитра © deff */
#color-area{
background:url(http://savepic.net/675564.gif) 50% 0 no-repeat;
}
table.myp,table.myp td,
#len-tbl-01,#len-tbl-01 td{
text-align:left;
vertical-align:top;
padding:0!important;
margin:0!important;
border-collapse:collapse!important;
}
span.hidds{
display:block;
width:18px;
height:18px;
background:url(http://savepic.net/707441.png) 50% 50% no-repeat;
margin: 6px 21px -6px -21px;
}
#len-tbl-01{
margin: 1px 21px 12px 0!important;
width:100%;
}
#len-tbl-01 td {
padding:0!important;
width:11px!important;height:12px;
background-image:url(http://savepic.net/711220.gif);
background-position:50% 50%;
background-repeat: no-repeat;
background-image: none;
border: #fff 1px solid!important;
}
#len-tbl-01 td:hover {
background-image:url(http://savepic.net/686931.gif)!important;
background-position:50% 50%;
background-repeat:no-repeat;
}
table.myp{
width:280px!important;
}
table.myp td,table.myp tr{
height:18px!important;
vertical-align:text-bottom;
margin:0!important;
border: none 0 transparent!important;
border-collapse:collapse!important;
}
td.rightmy,td.murom {
text-align:left!important;
width:66px!important;
}
#name_1,#name_0{
margin:0;
posizion:absolute; z-index:2000;
font-size:11px!important;
background-color:#fff!important;
border: #000 1px solid;
width:58px!important;
}
#name_1{
border: red 1px solid!important;
font-size:11px;
color:#761a21;
}
#name_0 {
font-size:11px;
color:#000!important;
}
#len-tbl-01 img {
position:absolute!important;
border: #000 1px none;
}
#len-tbl-01 img.nul_img  {
position:absolute!important;
height:11px!important;
width:11px!important;
margin:0!important;
}
#len-tbl-01 .metka {
position:absolute!important;
z-index:100;
margin:-1px 0 0 -1px!important;
height:13px;
width:13px;
}
</style>
<script type="text/javascript">
if ((document.url.indexof("viewtopic.php?")!=-1)||(document.url.indexof("edit.php")!=-1)
||(document.url.indexof("post.php")!=-1)){
colorarray=new array(
"eeeeee","dddddd","cccccc","bbbbbb","aaaaaa","999999","888888","777777","666666","555555",
"444444","333333","222222","111111","000000","fc0000","ed0000","db0000","cb0000","ba0000",
"aa0000","980000","880000", //2строка-->
"fefd65","fefd33","fcfc00","cafefe","cafeca","cbfe99","cafe65","cbfe33","cafc00","99fefe",
"99feca","99fe99","98fe65","99fe33","98fc00","65fefe","65feca","65fe98","65fe65","66fe33",
"65fc00","33fefe","33fecb", //3строка-->
"feca65","fecb33","fcca00","cacafe","cbcbcb","caca98","cbca66","caca32","cbca00","99cbfe",
"98caca","98ca98","99cb66","98ca32","99cb00","65cafe","66cbcb","66cb98","66cb66","65ca32",
"66cb00","33cbfe","32caca", //4строка-->
"fe9865","fe9833","fc9800","ca99fe","ca98ca","ca9898","cb9866","ca9832","cb9900","9999fe",
"9898ca","979797","989865","999833","989700","6598fe","6699cb","659898","659865","669933",
"659800","3399fe","3298ca", //5строка-->
"fe6565","fe6533","fc6500","ca65fe","cb66ca","cb6698","cb6666","ca6532","cb6500","9865fe",
"9866cb","986598","986565","996533","986500","6565fe","6666cb","656598","666666","656532",
"666500","3366fe","3265ca", //6строка-->
"fe3365","fe3333","fc3200","ca33fe","ca32ca","ca3298","ca3265","ca3232","cb3200","9833fe",
"9832ca","993398","993365","993333","983200","6533fe","6532ca","653399","653265","653232",
"663200","3333fe","3232ca", //7строка-->
"fc0065","fc0032","fc0000","ca00fc","cb00ca","cb0098","cb0065","cb0032","cb0000","9800fc",
"9800cb","980097","980065","980032","980000","6500fc","6500cb","650098","660065","660032",
"660000","3200fc","3200cb", //8строка-->
"00fc00","00ed00","00db00","00cb00","00ba00","00aa00","009800","008800","007600","006600",
"005400","004400","003200","002200","001000","0000fc","0000ed","0000db","0000cb","0000ba",
"0000aa","000098","000088" )//end
var metka_link="http://savepic.net/696986.gif";
var nul_img_link="http://savepic.net/711220.gif";
var stat_marker_link="http://savepic.net/668540.png";
var nul_img='<img class="nul_img" src="'+nul_img_link+'" alt="s" />';
var metka='<img class="metka" src="'+metka_link+'"/>'; //alert(metka)
var i=0,j=0,tbl="";var tblz="";
var ntd=23,nstr=8;
var tdstrstart='<td style="background-color:#';
var tdstrend='">'+nul_img;
for(j=0; j<nstr; j++){tbl='<tr>'+tbl;
   for (i=0; i<ntd; i++){numtd=ntd*j+i;tbl+=tdstrstart+colorarray[numtd]+';" alt="#'+colorarray[numtd]+tdstrend+'</td>'};
tbl+="</tr>";tblz+=tbl;tbl="";};tbl='<table id="len-tbl-01"'+tblz+'</table>';//alert(tbl)
$("#color-area").prepend(tbl);
$("#color-area").removeattr("onclick")
$("#len-tbl-01").before('<table class="myp"><tr><td class=murom><input id="name_1" name="_1" type="text" size="7" value="######"></td><td></td><td class="rightmy"><input id="name_0" name="_0" type="text" size="7" value="######"></td></tr></table>');$("#color-area").append('<span title="свернуть" class=hidds alt=hidds></span>')
$("#len-tbl-01 td").mouseover(function(){
  $("#name_1").css({"color":"#000"});
    $("#name_1").val($(this).attr("alt"));
});
$("#len-tbl-01 td").click(function (){ // клик по ячейке - ввод bb- кода и..
   $("#len-tbl-01 .metka").remove();$(this).append(metka);
    $(this).css({"background-image":"url("+stat_marker_link+")"});
       var ss=$(this).attr("alt");$("#name_0").val(ss);ss='[color='+ss;ss+="]";
       	 bbcode(ss,"[/color]");});
$("#main-reply,.hidds").click(function (){ // cворачивание #color-area по клику на поле ввода
$("#color-area").hide(); });
}
</script>

Перенесите в HTML низ из HTML верх

2-е Сделайте скриншот формы ответа на Вашем форуме

Отредактировано Deff (Пн, 26 Ноя 2018 12:29:41)

+1

3

Перенесла, но скрипты всё равно не работают..

Вот скриншот.

https://images.vfl.ru/ii/1543232696/105fd367/24358281.png

Отредактировано Пациент 0 (Пн, 26 Ноя 2018 15:17:13)

+1

4

Всё, сама разобралась с проблемой)))
Спасибо, большое за помощь и прощу прощения за беспокойство)

+1


Вы здесь » Единый форум поддержки » Вопросы к администрации » Не работают скрипты в HTML низ и частично верх