Техническая поддержка SpyBB

Объявление

Ответы на часто задаваемые вопросы  |  FAQ по администрированию форума  |  FAQ по дизайну форума в CSS  |  Абсолютный помощник по дизайну  |  Навигатор по форуму

Перед регистрацией прочтите правила форума
При поиске ответа на заданный вопрос рекомендуем пользоваться «Поиском».
В случае проблемы с форумом, обязательно указывайте его адрес, иначе мы не сможем Вам помочь!

● 24 марта 2012г. - Закрепление первого сообщения
● 23 марта 2012г.: Изменения в форме ответа - Добавлен стандартный спойлер. Доработан функционал кнопок

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

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


Вы здесь » Техническая поддержка SpyBB » Архив » Не работает скрипт тем


Не работает скрипт тем

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

1

У меня на форуме не работает скрипт выделения важных и обычных тем

вот скрипт

Код:
<script type="text/javascript">
<!--
if (document.URL.indexOf("viewforum")!=-1){
var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
for (io=1; io<=(trs.length-1); io++){
if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
for(j=0;j<4;j++){
nl=normal.insertCell(0)
nl.className="tc2"
nl.innerHTML="&nbsp;"
nl.style.borderLeft="0px"}
nl.innerHTML="<b>Темы форума</b>"
nl.style.textAlign="left"
}}}
-->
</script>

Ссылка на форум

0

2

<script type="text/javascript"></center>
<!--
if (document.URL.indexOf("viewforum")!=-1){
var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
for (io=1; io<=(trs.length-1); io++){
if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
for(j=0;j<4;j++){
nl=normal.insertCell(0)
nl.className="tc2"
nl.innerHTML="&nbsp;"
nl.style.borderLeft="0px"}
nl.innerHTML="<b>Основное</b>"
nl.style.textAlign="left"
}}}
-->
</script>
В HTML низ вставляй

0

3

Эх..а не кто не забыл, что название темы должно быть подробно?

Тема ещо актуальна?

0

4

Бич Cat написал(а):

Эх..а не кто не забыл, что название темы должно быть подробно?

Бич Cat
При всей любви к тебе говорю, прости, подробней некуда...

Бич Cat написал(а):

Тема ещо актуальна?

актуальна, во-первых: Felidae скрипты одинаковы, единственная разница, в моём скрипте написано "Темы форума", в вашем "Основное", во-вторых: Felidae, простите пяти летняя девочка, не совсем дура, стандартный скрипт знает, причём мой скрипт рабочий, но вот увы, не на моём форуме, на другом форуме этот скрипт прекрасно работает, если бы он у меня негде не работал я бы так и написала, и не давала бы ссылку на свой форум, ну и в-третих: я уже готова к тому, что Вы сейчас начнёте "Не надо сразу нападать", "Вы плохо объяснили"-да я плохо объяснила, но и вы плохо прочитали, даже не посмотрели на тот скрипт, что я дала, если бы посмотрели увидели бы, что они одинаковые.

0

5

Эмили написал(а):

При всей любви к тебе говорю, прости, подробней некуда...

Да ладно, как написала, так уж быть.

Эмили написал(а):

актуальна, во-первых: Felidae скрипты одинаковы, единственная разница, в моём скрипте написано "Темы форума", в вашем "Основное", во-вторых: Felidae, простите пяти летняя девочка, не совсем дура, стандартный скрипт знает, причём мой скрипт рабочий, но вот увы, не на моём форуме, на другом форуме этот скрипт прекрасно работает, если бы он у меня негде не работал я бы так и написала, и не давала бы ссылку на свой форум, ну и в-третих: я уже готова к тому, что Вы сейчас начнёте "Не надо сразу нападать", "Вы плохо объяснили"-да я плохо объяснила, но и вы плохо прочитали, даже не посмотрели на тот скрипт, что я дала, если бы посмотрели увидели бы, что они одинаковые.

Угу я это уже заметил. Но как я смотрю, ставь сначала в ХТЛМ_ низ, если не робыть в форму ответа.

0

6

Эмили
Плюс:
Убери, ибо тег </center> сюда и не смотритса.

Код:
<script type="text/javascript"></center>
<!--
if (document.URL.indexOf("viewforum")!=-1){
var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
for (io=1; io<=(trs.length-1); io++){
if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
for(j=0;j<4;j++){
nl=normal.insertCell(0)
nl.className="tc2"
nl.innerHTML="&nbsp;"
nl.style.borderLeft="0px"}
nl.innerHTML="<b>Основное</b>"
nl.style.textAlign="left"
}}}
-->
</script>

И поставь исключительно только свой.
Посмотри нету других "кривых" скриптов.

0

7

Бич Cat написал(а):

"кривых" скриптов.

все скрипты у меня от сюда, а здесь, как я знаю нет кривых
ничего не работает

0

8

Эмили
Я зарегистрировался у тебя, сделай меня админом. сейчас решу проблему.

0

9

Бич Cat написал(а):

сейчас решу проблему.

да, что там решать, я могу тебе здесь все коды выложить

HTML верх

Код:
<style>
#pun-title table {background: url(http://demiart.ru/forum/journal_uploads/logo-13745.jpg
) no-repeat; height: 270px;}
</style>

<style>
#pun-title .title-logo {display : none;}
</style>














<style>HTML,BODY{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/nemoani.cur"), url("http://downloads.totallyfreecursors.com/thumbnails/nemo-ani1.gif"), auto;}</style>









<style>A:hover{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/frog.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/Frog.gif"), auto;}</style>

HTML низ

Код:
<script type="text/javascript">
var news="Форум находится в стадии разработки, она продлится достаточно долго, так как его разработка началась недавно (не зависимо от даты регистрации). В плане оформления форум почти завершён, ему требуется лишь информация, информации очень много так, что открытие произойдёт не скоро."
var news1="Нет новости1"
var link1=""
var news2="Нет новости2"
var link2=""
var news3="Нет новости3"
var link3=""
var news4="Нет новости4"
var link4=""
var tablo="<div id=\"pun-category1\" class=\"category\"><h2><div class=\"catleft\"><!-- --></div><span>Информационное табло</span><div class=\"catright\"><!-- --></div></h2><div class=\"container\"><table cellspacing=\"0\"><thead><tr><th scope=\"col\">Объявление</th><th scope=\"col\">Статистика сообщений</th><th scope=\"col\">Статистика пользователей</th><th scope=\"col\">Полезные ссылки</th></tr></thead><tbody class=\"hasicon\"><td>"+news+"</td><td class=\"tc2\">Не хотите ли просмотреть<br/><a href='/search.php?action=show_24h'>Активные темы</a><br/>или <br/><a href='/search.php?action=show_new'>Новые сообщения</a><br/>с момента вашего последнего визита?<br/></td><td class=\"tc3\"><a title=\"Самые активные пользователи форума\" href=\"statistic.php?action=active_users\">Самые активные</a><br><Br><a title=\"Самые активные пользователи сегодня\" href=\"statistic.php?action=active_users_today\">Активные сегодня</a><br><br><a title=\"Администрация форума\" href=\"statistic.php?action=administration\">Администрация</a><br><br><a title=\"Посмотреть полную статистику\" href=\"statistic.php\">Полная статистика</a></td><td class=\"tcr\"><a href="+link1+">"+news1+"</a><br><a href="+link2+">"+news2+"</a><br><a href="+link3+">"+news3+"</a><br><a href="+link4+">"+news4+"</a></td></tr></tbody></table></div></div>"
var arr=document.getElementsByTagName("div")
i=0
str=document.URL
while(arr[i] ){
if((str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php") && arr[i].className=="main"){
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML=""+tablo+"<br>"+name+""
}
i++
}
</script>































<script type="text/javascript">
var mon_array = new Array("", "Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря");
Tm = new Date();
Tm.setTime(1000*UserRegistered);
m=Tm.getMonth()+1;
if (m<10) m=m;
hh=Tm.getHours();
mm=Tm.getMinutes()+'';
if (mm<10) mm=mm;
tm='<strong>'+Tm.getDate()+'&nbsp;'+mon_array[m]+'</strong>&nbsp;в&nbsp;<strong>'+hh+':'+mm+'</strong>';
var UserTotalReg = Math.floor(UserTotalTime/86400)
var UserTotalPost = Math.floor(UserPosts/60)
var sex_array = new Array("Пол неопределен. Войдите в <a href='/profile.php?section=personal&id="+UserID+"'>Профиль</a> и установите пол", "Ваш пол: <strong>Муж</strong>", "Ваш пол: <strong>Жен</strong>");
var sex = sex_array[UserSex]
if (UserAvatar == ""){UserAvatar = "http://s54.radikal.ru/i145/0808/84/e1fbc11ac605.png"}
if (UserBirthDate == ""){UserBirthDate = "Дата не выставлена"}
if (UserAge == "0"){UserAge = "[Нет сведений]"}
var user=", <strong>"+UserName+"</strong>";
if (user == ", <strong></strong>"){user = ""}
var arr=document.getElementsByTagName("div")
i=0
while(arr[i] ){
if(arr[i].id=="pun-main") {
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML="<div class=category><h2>Информационное табло</h2><div class=container><table border=0><tr><td><a href='/profile.php?section=avatar&id="+UserID+"' title='Изменить аватару'><img src="+UserAvatar+"></a><br /><strong>"+UserTitle+"</strong></td><td width=40%>Приветствуем на форуме"+user+"!<br />"+sex+"<br />Вы используете стиль: <strong>"+BoardStyle+"</strong><br />Вы в группе  <strong>"+GroupTitle+"</strong><br />На форуме Вами было оставлено <strong>"+UserPosts+"</strong> сообщений<br />Ваш возраст: <strong>"+UserAge+"</strong>.<Br />Ваш день рождения: <strong>"+UserBirthDate+"</strong><br /><br />Профиль <a href='/profile.php?id="+UserID+"'>"+UserLogin+"</a> | Ваши <a href='/userlist.php?&show_group="+GroupID+"'>соучастники</a></td><td width=40%><strong>Отношения</strong><br /><br /><a href='/respect.php?id="+UserID+"'>Уважение</a>: <strong>"+UserRespectPlus+"</strong>/<strong>"+UserRespectMinus+"</strong><br /><a href='/positive.php?id="+UserID+"'>Позитив</a>: <strong>"+UserPositivePlus+"</strong>/<strong>"+UserPositiveMinus+"</strong><Br /><Br />Вы зарегистрировались "+tm+" и провели на форуме <strong>"+UserTotalReg+"</strong> дней</td></tr></table></div></div><br />"+name
}i++}
</script>
<script type="text/javascript">
var arr=document.getElementsByTagName("div")
i=0
str=document.URL
while(arr[i] ){
if(arr[i].id=="pun-main" && GroupID == "3") {
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML="<div class=category><h2>Информационное табло</h2><div class=container><table border=0><tr><td><img src=http://s54.radikal.ru/i145/0808/84/e1fbc11ac605.png></td><td width=80%>Приветствуем тебя на форуме, Гость.<br />Для участия в конференциях просьба <a href='login.php'>войти</a> или <a href='register.php'>зарегистрироваться</a>.</td></tr></table></div></div><Br />"+name
}
i++
}
</script>

























    <script type="text/javascript">
    inColor("red", new Array("Администратор", ""))
    inColor("#009ACD", new Array("", ""))
    inColor("green", new Array(""))
    inColor("gray", new Array(""))
    inColor("yellow", new Array("", "", ""))

    function inColor(color, myarray){
    var a=document.links
    for(i=0;i<a.length;i++){
    for(q=0;q<myarray.length;q++){
    if(a[i].innerHTML==myarray[q]){
    a[i].innerHTML="<span style=\"color: "+color+";\">"+myarray[q]+"</span>"
    }}}}
    </script>











<script type="text/javascript">
var text="<center><font color=Red> Администратор </font> | <font color=#009ACD> Модератор </font> </center>"
pa=document.getElementById("pun-stats")
pa.style.position = "relative"
pa.innerHTML = "<div style=\"position:absolute; z-index:2; center: 10px; top: 40px; width: 100%;\">"+text+"</div>"+ pa.innerHTML
</script>












<style>
.punbb table Div.icon {float: left; display: block; width: 48px; height: 48px; border-style: none; background-image: url(http://yaroslavka.org/photos/cat141.gif); background-repeat: no-repeat; position: relative; margin-right: 10px;}
TR.inew Div.icon {
background: url(http://www.iconsearch.ru/uploads/iconlib/crystalclear/48x48/apps/staroffice.png) no-repeat;}
TR.isticky Div.icon {
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/1/17/Nuvola_apps_bug2.svg/40px-Nuvola_apps_bug2.svg.png) no-repeat;}
TR.iclosed Div.icon {
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Crystal_nautilus.png/51px-Crystal_nautilus.png) no-repeat;}
TR.iredirect Div.icon {
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Crystal_nautilus.png/51px-Crystal_nautilus.png) no-repeat;}
</style>





























<script type="text/javascript">
if(GroupID!=3){
var div = document.getElementsByTagName("div")
var a;
for(r=0; r<div.length; r++){
	if(div[r].className=="tclcon")
	{
a = div[r].getElementsByTagName("h3")[0].getElementsByTagName("a")[0]
if(!isNaN(a.href.substring(a.href.indexOf("id=")+3))){
div[r].innerHTML+="<div style=\"float: right;\"><a title=\"Новая тема\" href=\"/post.php?fid="+a.href.substring(a.href.indexOf("id=")+3)+"\"><img src=\"http://forumupload.ru/uploads/0003/ac/ce/6753-2.gif\" alt=\"+\" /></a>&nbsp;<a title=\"Новый опрос\" href=\"/poll.php?fid="+a.href.substring(a.href.indexOf("id=")+3)+"\"><img src=\"http://forumupload.ru/uploads/0003/ac/ce/6753-1.gif\" alt=\"+\" /></a></div>"
}
	}
}
}
</script>
























<script type="text/javascript">
if(document.URL.indexOf("viewforum.php")!=-1){
var a = document.getElementsByTagName("a");
var ins, col;
for( i=0; i<a.length; i++ ){
	if(a[i].href.indexOf("viewtopic.php")!=-1 && a[i].innerHTML.indexOf(";;")!=-1){
ins = a[i].innerHTML;
col = ins.substring(0, ins.indexOf(";;"))
txt = ins.substring(ins.indexOf(";;")+2)
a[i].innerHTML = "<span style=\"color: "+col+"\">"+txt+"</span>";
	}
}
} else if(document.URL.indexOf("viewtopic.php")!=-1){
var p = document.getElementsByTagName("p");
if(document.title.indexOf(";;")!=-1){
	document.title = document.title.substring(0, document.title.indexOf(" - ")+3)+document.title.substring(document.title.indexOf(";;")+2)
}
for( q=0; q<p.length; q++ ){
	if(p[q].className=="container crumbs" && p[q].innerHTML.indexOf(";;")!=-1){
p[q].innerHTML = p[q].innerHTML.substring(0, p[q].innerHTML.lastIndexOf("»")+1)+" "+p[q].innerHTML.substring(p[q].innerHTML.indexOf(";;")+2)
	}
}
} else if(document.URL.indexOf("post.php?fid=")!=-1 && GroupID<=2){
var colors = new Array();
colors.push(new Array('Красный', 'red'));
colors.push(new Array('Фиолетовый', 'blueviolet'));
colors.push(new Array('Песочный', 'darkgoldenrod'));
colors.push(new Array('Оранжевый', 'orange'));
colors.push(new Array('Коричневый', 'saddlebrown'));
colors.push(new Array('Зеленый', 'green'));
colors.push(new Array('Голубой', 'royalblue'));
var mmass = ""
for(x=0;x<colors.length;x++){
	mmass+="<option style=\"color: "+colors[x][1]+"\" value=\""+colors[x][1]+"\">"+colors[x][0]+"</option>"
}
var p1 = document.getElementsByName("req_subject")[0]
p1.style.visibility = 'hidden'
p1.parentNode.innerHTML+="<input onkeydown=\"st(document.getElementsByName('changer')[0].options[document.getElementsByName('changer')[0].selectedIndex].value)\" onkeyup=\"st(document.getElementsByName('changer')[0].options[document.getElementsByName('changer')[0].selectedIndex].value)\"   id=\"qwe_pole\" type=\"text\" name=\"qwe_pole\" value=\"\" size=\"80\" maxlength=\"70\" /> <select name=\"changer\" onchange=\"st(this.options[this.selectedIndex].value)\"><option value=\"default\">По-умолчанию</option>"+mmass+"</select>"
function st(value){
	if(document.getElementsByName("qwe_pole")[0].value!=""){
	t = document.getElementsByName("req_subject")[0];
	if(value!="default"){
if(t.value.indexOf(";;")!=-1){
	t.value=value+";;"+document.getElementsByName("qwe_pole")[0].value
} else {
	t.value=value+";;"+document.getElementsByName("qwe_pole")[0].value
}
	} else {
t.value=document.getElementsByName("qwe_pole")[0].value
	}
	}
}
}
</script>






















<script type="text/javascript">
<!--
if (document.URL.indexOf("viewforum")!=-1){
var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
for (io=1; io<=(trs.length-1); io++){
if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
for(j=0;j<4;j++){
nl=normal.insertCell(0)
nl.className="tc2"
nl.innerHTML="&nbsp;"
nl.style.borderLeft="0px"}
nl.innerHTML="<b>Темы форума</b>"
nl.style.textAlign="left"
}}}
-->
</script>




























<script>
function HideInfo(id,but){
if(but.value=="+"){
  but.value = "-";document.getElementById(id).style.display = ""}
else{
  but.value = "+";document.getElementById(id).style.display = "none"}
  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)+"<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='+'><br><div id='info"+i+"' style='display:none'>"+t.substring(j,t.length)+"</div>"}}
</script>





































<style>
#pun-main h1 {margin-top: 15px;}
</style>

HTML в форме ответа

Код:
<div>
<input type="Button" value="Дополнительные смайлы" onclick="return showhide(this)">
<p style="display:none">
<img src="http://otkrovenie.net/images/smiley/1.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/1.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/2.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/2.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/3.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/3.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/4.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/4.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/5.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/5.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/6.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/6.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/7.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/7.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/8.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/8.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/9.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/9.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/10.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/10.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/11.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/11.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/12.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/12.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/13.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/13.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/14.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/14.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/15.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/15.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/16.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/16.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/17.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/17.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/18.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/18.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/19.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/19.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/20.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/20.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/21.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/21.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/22.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/22.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/23.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/23.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/24.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/24.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/25.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/25.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/26.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/26.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/27.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/27.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/28.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/28.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/29.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/29.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/30.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/30.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/31.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/31.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/32.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/32.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/33.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/33.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/34.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/34.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/35.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/35.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/36.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/36.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/37.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/37.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/38.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/38.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/39.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/39.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/40.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/40.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/41.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/41.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/42.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/42.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/43.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/43.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/44.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/44.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/45.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/45.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/46.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/46.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/47.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/47.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/48.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/48.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/49.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/49.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/50.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/50.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/51.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/51.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/52.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/52.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/53.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/53.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/54.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/54.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/55.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/55.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/56.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/56.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/57.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/57.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/58.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/58.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/59.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/59.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/60.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/60.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/61.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/61.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/62.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/62.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/63.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/63.gif[/img]')" />
<img src="http://otkrovenie.net/images/smiley/64.gif" style="cursor: pointer" onclick="smile('[img]http://otkrovenie.net/images/smiley/64.gif[/img]')" />
</div>
<script>
function showhide(b){
p = b.parentNode.getElementsByTagName("p")[0]
if(b.value=="Дополнительные смайлы"){
b.value="Скрыть смайлы"
p.style.display="block"}
else{
b.value="Дополнительные смайлы"
p.style.display="none"}
return false}
</script>

0

10

Эмили

<script>
function HideInfo(id,but){
if(but.value=="+"){
  but.value = "-";document.getElementById(id).style.display = ""}
else{
  but.value = "+";document.getElementById(id).style.display = "none"}
  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)+"<input type='Submit' onClick=\"return HideInfo('info"+i+"',this)\" value='+'><br><div id='info"+i+"' style='display:none'>"+t.substring(j,t.length)+"</div>"}}
</script>

Это что за скрипт?

0

11

Бич Cat написал(а):

Это что за скрипт?

Это скрипт: Скрыть/показать инф. пользователя (взято здесь)

0

12

Эмили
В форму ответа пропобавала ставить?

0

13

<script type="text/javascript">
<!--
if (document.URL.indexOf("viewforum")!=-1){
var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
for (io=1; io<=(trs.length-1); io++){
if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
for(j=0;j<4;j++){
nl=normal.insertCell(0)
nl.className="tc2"
nl.innerHTML="&nbsp;"
nl.style.borderLeft="1px"}
nl.innerHTML="<b>Темы форума</b>"
nl.style.textAlign="left"
}}}
-->
</script>

А так? (ХТЛМ- низ или форму ответа)

0

14

Бич Cat
никак не работает

0

15

Эмили
Почисть ХТЛМ- низ и вставь этот скрипт без всех, а потом потихоньку вставляй остальные. Увы по другому я тебе уже не помогу, но попробуй.

+1

16

Бич Cat
Ой, нет, я лучше просто обойдусь без этого скрипта, спасибо за помощь +

0

17

Ну тогда тема благополучно отправляетса в архив.

0


Вы здесь » Техническая поддержка SpyBB » Архив » Не работает скрипт тем