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

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

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


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


Скрипт своих смайлов

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

1

какую-бы картинку не ставил под форму ответа отображается крестики (короче я ставляю скрипт со смаликами и файло обменником и графика почимуто неработает а на других форумах работает !)
и я всё ставилю правильно, но не получается ничего. что мне делать ?
вот адрес форума http://ru.3bb.ru/

Отредактировано RU-89 (Ср, 7 Мар 2007 02:08:01)

0

2

RU-89, я конечно не гений. но можно увидеть скрипт?)

0

3

Похожая шняга была при НЕ ЗАМЕНЕ (в скрипте) АДРЕСОВ СМАЙЛОВ НА СВОИ.

Если проблемма с доп смайлами ставь этот скрипт в форму ХТМЛ - ответ. (один оставил свой для показа)
(если правельно понял твою проблему)
Адреса смайлов вставляй свои, про меж кавычек.

<script language="JavaScript">
function popwnd()
{
var smiles = new Array

//Добавлять смайлики здесь
smiles.push("http://bankornet.mybb.ru/uploads/bankornet/2_contrabass.gif")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")
smiles.push("")

var msg = new String("")
msg = "<html><head><TITLE>Дополнительные смайлики</TITLE></head>\r\n"
msg += "<body bgcolor=#F5F5F5 >"
msg = msg + "<" + "script language=\"JavaScript\">\r\n"

msg += "function insert(a){\r\n"
msg += "txt = \"-- \";\r\n"
msg += "window.opener.insert_text(txt,'');\r\n"
msg += "window.focus()\r\n"
msg += "return false}\r\n"

msg = msg + "</" + "script>\r\n"

i=0

msg += "<div style=\"width: 100%; text-align : justify;\" >"
while(smiles[i])
{
msg = msg + "<img src=\"" + smiles[i] + "\" onclick=\"return insert(this)\">\r\n"
i++
}

msg += "</div><br><br><center><a href=\"\" onclick=\"window.close()\">Закрыть окно</a></center>"
msg += "</BODY></html>";

popup = window.open("","popDialog","height=800,width=850")
popup.document.write(msg)
popup.document.close()

return false
}
</script>

Отредактировано Gor (Ср, 7 Мар 2007 02:52:34)

0

4

По моему это проблема в браузере...у меня такое было, когда я был на Интернет Эксполере...хотя может не из-за браузера...

0

5

а смайлики загружали на какой хост? случайно не на narod.ru?

0

6

Наталия
нет

0

7

яже писал скрипт етот работает на других форумах нармально а уменя неработает нармально !!!
вот скрипт

<a href="http://inside.ifolder.ru/" target="blank"><img src="uploads/xrusht/2_fileupload.gif" alt=""></a>
<img onclick="return changeVisibility('id_smiles-next-gen', this)" src="uploads/xrusht/2_next-gen_smiles.gif" alt="Next-gen smiles" />
<div class="container" id="id_smiles-next-gen" style="display:none; width:199px; position: absolute; z-index: 2">
<div id="smilies-block">
<img src="uploads/xrusht/2_smiles_0.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_0.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_1.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_1.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_2.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_2.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_3.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_3.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_4.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_4.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_5.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_5.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_6.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_6.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_7.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_7.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_8.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_8.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_9.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_9.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_10.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_10.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_11.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_11.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_12.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_12.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_13.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_13.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_14.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_14.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_15.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_15.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_16.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_16.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_17.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_17.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_18.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_18.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_19.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_19.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_20.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_20.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_21.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_21.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_22.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_22.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_23.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_23.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_24.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_24.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_25.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_25.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_26.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_26.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_27.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_27.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_28.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_28.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_29.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_29.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_30.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_30.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_31.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_31.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_32.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_32.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_33.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_33.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_34.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_34.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_35.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_35.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_36.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_36.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
<img src="uploads/xrusht/2_smiles_37.gif" style="cursor: pointer" onclick="insert_text(' http://www.xrusht.mybb.ru/uploads/xrusht/2_smiles_37.gif ', ''); return changeVisibility('id_smiles-next-gen', this)" alt="">
</div>

0

8

Код:
uploads/xrusht/2_smiles_0.gif
uploads/xrusht/2_smiles_1.gif

таких файлов нету

0

9

Наталия
непонял я тибя обясни что ты имела ввиду ???

0

10

RU-89 написал(а):

Наталия
непонял я тибя обясни что ты имела ввиду ???

Написали вроде все понятно, что файлов с такими адресами, т.е. картинок по этому запросу не существуют. Что тут может быть непонятно?

0

11

Михалыч
Как несусчествуют ? соществуют ! и в других етот скрипт нармально работает а у меня не нармально работает !!!!!!!!!!!!!!!

0

12

RU-89 написал(а):

и в других етот скрипт нармально работает а у меня не нармально работает !!!!!!!!!!!!!!!

На любом *.mybb.ru будет работать, потому что:
При вставке такого адреса на форум *.mybb.ru, он приводится браузером к виду:
http://mybb.ru/uploads/xrusht/2_smiles_0.gif
А при вставке на *.3bb.ru к виду:
http://3bb.ru/uploads/xrusht/2_smiles_0.gif (!!!)
В этом случае изображение не найдено.

Решение:
Заменить адреса вида:
uploads/xrusht/12345.gif
На адреса вида:
http://mybb.ru/uploads/xrusht/12345.gif

0


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