Powered by Invision Power Board
Здравствуйте Гость ( Вход | Регистрация ) Выслать повторно письмо для активации

Forum Rules Правила раздела

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

Страницы: (9) « Первая ... 3 4 [5] 6 7 ... Последняя »  ( Перейти к первому непрочитанному сообщению ) Reply to this topicStart new topicStart Poll

> Формы ответов, (аналог IPB 2хх)
Alex Okonnor
Отправлено: Сен 27 2010, 22:54
Quote Post


[Адмирал]
Group Icon

Группа: Пользователи
Сообщений: 1 661
Пользователь №: 518
Регистрация: 7-Февраля 08
Из: провинциальной деревушки на краю ада
Member Offline

Репутация: 83




Цитата (Ustas @ Сегодня, 19:53)
исправил-но всё равно частично кнопки не работали.

Какие именно кнопки не работали?


--------------------
Помог ? Тогда жмите user posted image
=========================
user posted image310-950-543 сюда стучать, если у вас есть предложение ко мне.. [в аське крайне редко]
user posted image ник : zse_gm по пустякам не беспокоить. [Обычно в онлайне до 5-6 вечера по мск]
За приделами форума тех. поддержки, за "спасибо" нечего не делаю!
=========================
user posted image
=========================
Из 1.3 в 3.1, возможно или нет?!
Возможно... Сделано... Проверено... Доказано =)


Один из Основателей Saint people
Top
Gromoboy
Отправлено: Сен 27 2010, 23:55
Quote Post


Новичок
Group Icon

Группа: Пользователи
Сообщений: 43
Пользователь №: 2 561
Регистрация: 23-Августа 10
Member Offline

Репутация: нет




Я чесно говоря не знаток HTML, но методом проб и ошибок добился кое-какого результата:
Используя Ваш скрипт формы ответа и скрипт палитры от Romych получил следующее.
Единственная проблема это кнопка палитры смещена во второй ряд слева.
Вот что я сделал (то что выделено зелёным - после чего вставить; синим - что вставил):
[Показать/Скрыть]
<script type="text/javascript">
<!--

document.onkeydown=function(e){
if (e) event=e
if ((event.keyCode==13)&&(event.ctrlKey)){
document.REPLIER.submit.click();
}}

function emo_pop()
{
window.open('index.{ibf.vars.php_ext}?act=legends&amp;CODE=emoticons&amp;s={ibf.session_id}','Legends','width=380,height=500,resizable=yes,scrollbars=yes');
}
//-->
</script>



<script type='text/javascript' src='html/ibfcode.js'></script>

<td class='pformleft'>
<table style="padding: 3px;" cellspacing="0" width="100%">
<td colspan="2">
<table width="100%">
<td id="ed-0_options-bar" class="rte-option-panel" style="width: auto; height: auto; display: block;" nowrap="nowrap" valign="top">
<div style="width: 90%;" class="rte-option-emo-box"><div class="rte-menu-emo-header">
<a href="javascript:emo_pop()">Смайлики</a>
</div>
<div style="width: 185px; height: 120px; overflow: auto;">
<table border="0" cellpadding="0" cellspacing="0" width="99%">
<td id="ed-0_emoticon_1" class="rte-menu-emo-box" width="33%">


<a href="javascript:emoticon(':huh:')"><img src="http://ipb.su/html/emoticons/huh.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':o')"><img src="http://ipb.su/html/emoticons/wacko.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(';)')"><img src="http://ipb.su/html/emoticons/wink.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':D')"><img src="http://ipb.su/html/emoticons/biggrin.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon('B)')"><img src="http://ipb.su/html/emoticons/cool.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':rolleyes:')"><img src="http://ipb.su/html/emoticons/rolleyes.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon('<_<')"><img src="http://ipb.su/html/emoticons/dry.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':)')"><img src="http://ipb.su/html/emoticons/smile.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon(':(')"><img src="http://ipb.su/html/emoticons/sad.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':unsure:')"><img src="http://ipb.su/html/emoticons/unsure.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':blink:')"><img src="http://ipb.su/html/emoticons/blink.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':lol:')"><img src="http://ipb.su/html/emoticons/laugh.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon(':p')"><img src="http://ipb.su/html/emoticons/tongue.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':angry:')"><img src="http://ipb.su/html/emoticons/mad.gif" alt="smilie" border="0"></a>&nbsp;


<a href="javascript:emoticon(':no:')"><img src="http://ipb.su/html/emoticons/no.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':yes:')"><img src="http://ipb.su/html/emoticons/yes.gif" alt="smilie" border="0"></a>

<br />
<a href="javascript:emoticon(':cray:')"><img src="http://ipb.su/html/emoticons/cray.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':good:')"><img src="http://ipb.su/html/emoticons/good.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':bang:')"><img src="http://ipb.su/html/emoticons/bang.gif" alt="smilie" border="0"></a>&nbsp;

</td></table></div>

<div style="height: 17px;" class="rte-menu-emo-header">
<div style="float: right;">
<a href="javascript:emo_pop()">Все смайлики</a>
</div></div></div>

<div style="width: 90%;" class="rte-option-emo-box">
<div class="rte-menu-emo-header">Теги</div>
<div style="width: 100%;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">

<td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" alt="По центру" title="По центру" onclick='simpletag("CENTER")' class='codebuttons' name='CENTER' onmouseover="hstat('center')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : По центру</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-menu-face" value=' http:// ' onclick='tag_url()'class='codebuttons' name='url' onmouseover="hstat('url')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Ссылка</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onclick='tag_image()'class='codebuttons' name='img' onmouseover="hstat('img')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Изображение</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onClick='simpletag("HIDE")' class='codebuttons' name="HIDE" onMouseOver="hstat('hide')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Скрытый текст</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onClick='simpletag("SPOILER")' class='codebuttons' name="SPOILER" onMouseOver="hstat('spoiler')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Спойлер</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onclick='simpletag("QUOTE")' class='codebuttons' name='QUOTE' onmouseover="hstat('quote')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Цитата</td></tr></tbody></table></div></div></td>


<td style="width: 4px;" id="ed-0_spacer-bar" width="4px">&nbsp;</td>
<td style="width: 100%;" id="ed-0_main-bar" class="rte-buttonbar" nowrap="nowrap" >
<div id="ed-0_controls" style="padding: 6px; text-align: left;">
<table cellpadding="2" cellspacing="0" width="100%">
<td width="1%">
<table cellpadding="0" cellspacing="0" width="100%">
<td nowrap="nowrap">
<table border="0" cellpadding="0" cellspacing="0">
<!--FONT-->
<img class='codebuttons' title='Шрифт' alt='Шрифт' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992871.png' onclick="showhide('myfont');"/>

<div id="myfont" class="block1" style=" display:none; margin-left: 1%; margin-top: 1px">
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial')" title="Arial"><font face="Arial">Arial</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial Black')" title="Arial Black"><font face="Arial Black">Arial Black</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial Narrow')" title="Arial Narrow"><font face="Arial Narrow">Arial Narrow</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Book Antiqua')" title="Book Antiqua"><font face="Book Antiqua">Book Antiqua</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Century Gothic')" title="Century Gothic"><font face="Century Gothic">Century Gothic</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Comic Sans MS')" title="Comic Sans MS"><font face="Comic Sans MS">Comic Sans MS</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Courier New')" title="Courier New"><font face="Courier New">Courier New</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Franklin Gothic Medium')" title="Franklin Gothic Medium"><font face="Franklin Gothic Medium">Franklin Gothic Medium</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Garamond')" title="Garamond"><font face="Garamond">Garamond</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Georgia')" title="Georgia"><font face="Georgia">Georgia</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Impact')" title="Impact"><font face="Impact">Impact</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Lucida Console')" title="Lucida Console"><font face="Lucida Console">Lucida Console</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Lucida Sans Unicode')" title="Lucida Sans Unicode"><font face="Lucida Sans Unicode">Lucida Sans Unicode</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Microsoft Sans Serif')" title="Microsoft Sans Serif"><font face="Microsoft Sans Serif">Microsoft Sans Serif</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Palatino Linotype')" title="Palatino Linotype"><font face="Palatino Linotype">Palatino Linotype</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Tahoma')" title="Tahoma"><font face="Tahoma">Tahoma</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Times New Roman')" title="Times New Roman"><font face="Times New Roman">Times New Roman</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Trebuchet MS')" title="Trebuchet MS"><font face="Trebuchet MS">Trebuchet MS</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Verdana')" title="Verdana"><font face="Verdana">Verdana</font></div>
</div>

<!--SIZE-->
<img class='codebuttons' title='Размер' alt='Размер' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992808.png' onclick="showhide('fontsizer');"/>

<div id="fontsizer" class="block1" style="display:none; margin-left:15%; margin-top:1px">
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('1')" title="1"><font size="1">1</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('2')" title="2"><font size="2">2</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('3')" title="3"><font size="3">3</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('4')" title="4"><font size="4">4</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('5')" title="5"><font size="5">5</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('6')" title="6"><font size="6">6</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('7')" title="7"><font size="7">7</font></div>
</div>

</td>
</table>
</div>
</table>


<td width="98%">&nbsp;</td>
<td align="right" nowrap="nowrap" width="1%">
<table cellpadding="0" cellspacing="0" width="100%">
</table>
</td>
<table id="Buttons2" cellpadding="2" cellspacing="0" width="100%">
<td align="left" nowrap="nowrap" width="1%">
<table cellpadding="0" cellspacing="0" width="100%">


<img title='Жирный' alt='Жирный' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1280417257.png' onclick='simpletag("B")' class='codebuttons' name='B' style="font-weight:bold" onmouseover="hstat('bold')" />

<img title='Наклонный' alt='Наклонный' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1280847361.png' onclick='simpletag("I")' class='codebuttons' name='I' style="font-style:italic" onmouseover="hstat('italic')" />

<img title='Подчёркнутый' alt='Подчёркнутый' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847417.png' onclick='simpletag("U")' class='codebuttons' name='U' style="text-decoration:underline" onmouseover="hstat('under')" />

<img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280887298.png" alt="Зачеркнутый текст" title="Зачеркнутый текст" onmouseover="copyT('S')" onclick="insTxt()" />

<img title='Ссылка' alt='Ссылка' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847528.png' ' value=' http:// ' onclick='tag_url()'class='codebuttons' name='url' onmouseover="hstat('url')" />

<img title='Изображение' alt='Изображение' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847587.png' onclick='tag_image()'class='codebuttons' name='img' onmouseover="hstat('img')" />

<img title='E-mail' alt='E-mail' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847727.png' onclick='tag_email()'class='codebuttons' name='email' onmouseover="hstat('email')" />

<img title='Цитата' alt='Цитата' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847827.png' onclick='simpletag("QUOTE")' class='codebuttons' name='QUOTE' onmouseover="hstat('quote')" />

<img title='Код' alt='Код' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847861.png'onclick='simpletag("CODE")'class='codebuttons' name='CODE' onmouseover="hstat('code')" />

<img title='Скрытый текст' alt='Скрытый текст' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847908.png' onClick='simpletag("HIDE")' class='codebuttons' name="HIDE" onMouseOver="hstat('hide')" />

<img title='Спойлер' alt='Спойлер' src='http://www.pushkino.org/ipb/html/UBBC/spoiler.gif' onClick='simpletag("SPOILER")' class='codebuttons' name="SPOILER" onMouseOver="hstat('spoiler')" />

<!--<input type='button' accesskey='l' value=' SQL ' onclick='simpletag("SQL")' class='codebuttons' name='SQL'>
<input type='button' accesskey='t' value=' HTML 'onclick='simpletag("HTML")'class='codebuttons' name='HTML'>-->

</table>
</td>

<td width="98%">&nbsp;</td>
<td align="right" nowrap="nowrap" width="1%">
<table cellpadding="0" cellspacing="0" width="100%">

<img class='codebuttons' title='По центру' alt='По центру' src='http://forum.volginsky.ru/style_images/1/folder_editor_images/rte-align-center.png' onmouseover="copyT('center')" onclick="insTxt()" />
<img class='codebuttons' title='По правому краю' alt='По правому краю' src='http://forum.volginsky.ru/style_images/1/folder_editor_images/rte-align-right.png' onmouseover="copyT('right')" onclick="insTxt()" />
<img title='Создать список' alt='Создать список' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847480.gif' onclick='tag_list()' class='codebuttons' name="LIST" onmouseover="hstat('list')" />

</table>
</td>
</table>
</div>

<!--COLOR-->
<img class='codebuttons' title='Цвет' alt='Цвет' src='http://s40.radikal.ru/i088/1008/1e/0b3292647389.png' onclick="showhide('mycolor');"/>
<div id="mycolor" class="block1" style=" display:none; margin-left: 15%; margin-top: 20px">
<table border="1" cellspacing="0">
<tr>
<td width="15" height="15" style="background-color:#ff00fe; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00fe')"></td>
<td width="15" height="15" style="background-color:#ff00be; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00be')"></td>
<td width="15" height="15" style="background-color:#ff009e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff009e')"></td>
<td width="15" height="15" style="background-color:#ff006e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff006e')"></td>
<td width="15" height="15" style="background-color:#ff004e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff004e')"></td>
<td width="15" height="15" style="background-color:#ff002e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff002e')"></td>
<td width="15" height="15" style="background-color:#ff1100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff1100')"></td>
<td width="15" height="15" style="background-color:#ff3100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff3100')"></td>
<td width="15" height="15" style="background-color:#ff5100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff5100')"></td>
<td width="15" height="15" style="background-color:#ff7100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff7100')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#ffa100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffa100')"></td>
<td width="15" height="15" style="background-color:#ffc100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffc100')"></td>
<td width="15" height="15" style="background-color:#ffe100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffe100')"></td>
<td width="15" height="15" style="background-color:#fdff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#fdff00')"></td>
<td width="15" height="15" style="background-color:#ddff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ddff00')"></td>
<td width="15" height="15" style="background-color:#adff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#adff00')"></td>
<td width="15" height="15" style="background-color:#4dff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#4dff00')"></td>
<td width="15" height="15" style="background-color:#00ff03; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff03')"></td>
<td width="15" height="15" style="background-color:#009900; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009900')"></td>
<td width="15" height="15" style="background-color:#00ff93; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff93')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#00ffd3; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ffd3')"></td>
<td width="15" height="15" style="background-color:#00fbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00fbff')"></td>
<td width="15" height="15" style="background-color:#00dbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00dbff')"></td>
<td width="15" height="15" style="background-color:#00bbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00bbff')"></td>
<td width="15" height="15" style="background-color:#009bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009bff')"></td>
<td width="15" height="15" style="background-color:#004bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#004bff')"></td>
<td width="15" height="15" style="background-color:#001bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#001bff')"></td>
<td width="15" height="15" style="background-color:#8400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8400ff')"></td>
<td width="15" height="15" style="background-color:#b400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#b400ff')"></td>
<td width="15" height="15" style="background-color:#d400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#d400ff')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#996600; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#996600')"></td>
<td width="15" height="15" style="background-color:#ffffcc; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffffcc')"></td>
<td width="15" height="15" style="background-color:#cfcfcf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#cfcfcf')"></td>
<td width="15" height="15" style="background-color:#afafaf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#afafaf')"></td>
<td width="15" height="15" style="background-color:#8f8f8f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8f8f8f')"></td>
<td width="15" height="15" style="background-color:#7f7f7f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#7f7f7f')"></td>
<td width="15" height="15" style="background-color:#5f5f5f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#5f5f5f')"></td>
<td width="15" height="15" style="background-color:#3f3f3f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#3f3f3f')"></td>
<td width="15" height="15" style="background-color:#660000; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#660000')"></td>
<td width="15" height="15" style="background-color:#333300; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#333300')"></td>
</tr>
</table></div>

<div align="center">
<textarea onfocus='storeCaret(this);' onkeyup='storeCaret(this);' onclick='storeCaret(this);' onselect='storeCaret(this);' id='tex' cols='80' rows='20' name='Post' tabindex='3' class='textinput' style="width: 96%; height: 280px;">$data</textarea>
</div>
<br />
<input type='radio' class='radiobutton' name='bbmode' value='ezmode' onclick='setmode(this.value)' />&nbsp;<b>{ibf.lang.bbcode_guided}</b>

<input type='radio' class='radiobutton' name='bbmode' value='normal' onclick='setmode(this.value)' checked="checked" />&nbsp;<b>{ibf.lang.bbcode_normal}</b>

<hr>

<input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" />&nbsp;<b>Показать смайлики в этом сообщении ?</B>

<input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" />&nbsp;<b>Показать подпись в этом сообщении?</b>
</div>
</td></table>
Top
Bagira
Отправлено: Сен 28 2010, 03:07
Quote Post


Участник
Group Icon

Группа: Пользователи
Сообщений: 55
Пользователь №: 2 576
Регистрация: 27-Августа 10
Из: Германия
Member Offline

Репутация: нет




sad.gif Попробовала сделать как вы сказали,все скосилось.Наверное не мой вариант.

user posted image

Буду ждать когда Alex что-нибудь придумает unsure.gif
Top
Alex Okonnor
Отправлено: Сен 28 2010, 04:30
Quote Post


[Адмирал]
Group Icon

Группа: Пользователи
Сообщений: 1 661
Пользователь №: 518
Регистрация: 7-Февраля 08
Из: провинциальной деревушки на краю ада
Member Offline

Репутация: 83




Цитата (Gromoboy @ Вчера, 23:55)
Единственная проблема это кнопка палитры смещена во второй ряд слева.

Это не единственная проблема, так же...таблица с цветами выскакивает во центру поля ввода сообщения, что крайне неудобно.
Цитата (Gromoboy @ Вчера, 23:55)
Вот что я сделал (то что выделено зелёным - после чего вставить; синим - что вставил):

Всё гораздо проще можно сделать. Но спасиб Вы натолкнули меня на мысль, как можно просто и быстро сделать таблицу с цветами =)

Цитата (Bagira @ Сегодня, 03:07)
Буду ждать когда Alex что-нибудь придумает

Уже придумал smile.gif
Постам ниже опишу, что да как))


--------------------
Помог ? Тогда жмите user posted image
=========================
user posted image310-950-543 сюда стучать, если у вас есть предложение ко мне.. [в аське крайне редко]
user posted image ник : zse_gm по пустякам не беспокоить. [Обычно в онлайне до 5-6 вечера по мск]
За приделами форума тех. поддержки, за "спасибо" нечего не делаю!
=========================
user posted image
=========================
Из 1.3 в 3.1, возможно или нет?!
Возможно... Сделано... Проверено... Доказано =)


Один из Основателей Saint people
Top
Alex Okonnor
Отправлено: Сен 28 2010, 04:36
Quote Post


[Адмирал]
Group Icon

Группа: Пользователи
Сообщений: 1 661
Пользователь №: 518
Регистрация: 7-Февраля 08
Из: провинциальной деревушки на краю ада
Member Offline

Репутация: 83




Что бы добавить цвета в "полную форму ответа" заходим:
АЦ -> Скины/Шаблоны -> Настройка скинов -> HTML -> Сообщения (Post Screen Sections) -> +-- Post: Code Buttons & Post Text area (редактировать)

И после "смайликов"
[Показать/Скрыть]
Код
<!--SMILIES-->
<img class='codebuttons' title='Смайлы' alt='Смайлы' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992699.png' onclick="showhide('smiler');"/>

<div id="smiler" class="block1" style="display:none; margin-left:200px; margin-top:1px">
<img src="http://s50.radikal.ru/i130/1005/e1/662ba93*цензура*48.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s50.radikal.ru/i130/1005/e1/662ba93*цензура*48.gif')" />
<img src="http://i070.radikal.ru/1005/c7/0e77ae8a9874.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i070.radikal.ru/1005/c7/0e77ae8a9874.gif')" />
<img src="http://s59.radikal.ru/i166/1005/2f/5b1c0605032a.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/2f/5b1c0605032a.gif')" />
<img src="http://i054.radikal.ru/1005/f6/13dcca4f279d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i054.radikal.ru/1005/f6/13dcca4f279d.gif')" />
<img src="http://s58.radikal.ru/i162/1005/08/79b11cf81b88.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s58.radikal.ru/i162/1005/08/79b11cf81b88.gif')" />
<img src="http://s40.radikal.ru/i090/1005/cb/0b8e124c46ca.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i090/1005/cb/0b8e124c46ca.gif')" />
<img src="http://s40.radikal.ru/i089/1005/fd/24e1da52dcfb.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i089/1005/fd/24e1da52dcfb.gif')" />
<img src="http://s41.radikal.ru/i091/1005/2a/096a46240cf1.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s41.radikal.ru/i091/1005/2a/096a46240cf1.gif')" /><br />
<img src="http://s005.radikal.ru/i212/1005/cc/d597ca076c7b.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s005.radikal.ru/i212/1005/cc/d597ca076c7b.gif')" />
<img src="http://s56.radikal.ru/i151/1005/a3/85c037c68925.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s56.radikal.ru/i151/1005/a3/85c037c68925.gif')" />
<img src="http://i072.radikal.ru/1005/6f/c90a718466a8.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i072.radikal.ru/1005/6f/c90a718466a8.gif')" />
<img src="http://i077.radikal.ru/1005/1d/a629f081ef7f.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i077.radikal.ru/1005/1d/a629f081ef7f.gif')" />
<img src="http://i026.radikal.ru/1005/2e/917159b2b553.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i026.radikal.ru/1005/2e/917159b2b553.gif')" />
<img src="http://s39.radikal.ru/i085/1005/59/3b7d4b4c6b05.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s39.radikal.ru/i085/1005/59/3b7d4b4c6b05.gif')" />
<img src="http://s005.radikal.ru/i210/1005/e0/5f5a0b2711e7.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s005.radikal.ru/i210/1005/e0/5f5a0b2711e7.gif')" />
<img src="http://s45.radikal.ru/i110/1005/ab/16bade9e8735.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s45.radikal.ru/i110/1005/ab/16bade9e8735.gif')" /><br />
<img src="http://i068.radikal.ru/1005/67/1e48518538b5.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i068.radikal.ru/1005/67/1e48518538b5.gif')" />
<img src="http://s002.radikal.ru/i197/1005/69/bdd4beea1923.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s002.radikal.ru/i197/1005/69/bdd4beea1923.gif')" />
<img src="http://s59.radikal.ru/i166/1005/5a/6bc6b02280ac.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/5a/6bc6b02280ac.gif')" />
<img src="http://i053.radikal.ru/1005/21/123a52ee0534.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i053.radikal.ru/1005/21/123a52ee0534.gif')" />
<img src="http://s61.radikal.ru/i174/1005/29/606e8da4d6a3.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/29/606e8da4d6a3.gif')" />
<img src="http://s59.radikal.ru/i166/1005/88/477afdf0dd76.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/88/477afdf0dd76.gif')" />
<img src="http://s43.radikal.ru/i099/1005/62/3c56a02b626c.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s43.radikal.ru/i099/1005/62/3c56a02b626c.gif')" />
<img src="http://s52.radikal.ru/i136/1005/b2/aab2ba0a2bde.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s52.radikal.ru/i136/1005/b2/aab2ba0a2bde.gif')" /><br />
<img src="http://s61.radikal.ru/i174/1005/94/78a759f0ae02.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/94/78a759f0ae02.gif')" />
<img src="http://s004.radikal.ru/i206/1005/66/606d70ff2218.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s004.radikal.ru/i206/1005/66/606d70ff2218.gif')" />
<img src="http://s19.radikal.ru/i192/1005/14/9422022b9bfc.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s19.radikal.ru/i192/1005/14/9422022b9bfc.gif')" />
<img src="http://s05.radikal.ru/i178/1005/27/b73d7e039ad5.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s05.radikal.ru/i178/1005/27/b73d7e039ad5.gif')" />
<img src="http://s42.radikal.ru/i097/1005/39/9f636b1832c9.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s42.radikal.ru/i097/1005/39/9f636b1832c9.gif')" />
<img src="http://i061.radikal.ru/1005/ba/3b89a947cb01.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i061.radikal.ru/1005/ba/3b89a947cb01.gif')" />
<img src="http://s61.radikal.ru/i174/1005/4e/b5e2c635f00d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/4e/b5e2c635f00d.gif')" />
<img src="http://i035.radikal.ru/1005/91/ed0ded51be72.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i035.radikal.ru/1005/91/ed0ded51be72.gif')" /><br />
<img src="http://s45.radikal.ru/i107/1005/0f/bfae40718551.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s45.radikal.ru/i107/1005/0f/bfae40718551.gif')" />
<img src="http://i073.radikal.ru/1005/fa/96e053ab7c23.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i073.radikal.ru/1005/fa/96e053ab7c23.gif')" />
<img src="http://s53.radikal.ru/i140/1005/e9/0768f063410c.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s53.radikal.ru/i140/1005/e9/0768f063410c.gif')" />
<img src="http://s49.radikal.ru/i123/1005/fc/fd0d83f120c1.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s49.radikal.ru/i123/1005/fc/fd0d83f120c1.gif')" />
<img src="http://s004.radikal.ru/i205/1005/ff/334f3394a110.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s004.radikal.ru/i205/1005/ff/334f3394a110.gif')" />
<img src="http://s58.radikal.ru/i161/1005/3b/5e65a19efafb.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s58.radikal.ru/i161/1005/3b/5e65a19efafb.gif')" />
<img src="http://s09.radikal.ru/i182/1005/6e/44e8b1d40f2d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s09.radikal.ru/i182/1005/6e/44e8b1d40f2d.gif')" />
<img src="http://i055.radikal.ru/1005/e9/c7983030c26e.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i055.radikal.ru/1005/e9/c7983030c26e.gif')" /><br />
<img src="http://s39.radikal.ru/i083/1005/6d/57fd720cfce2.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s39.radikal.ru/i083/1005/6d/57fd720cfce2.gif')" />
<img src="http://i072.radikal.ru/1005/1f/61fabf24866d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i072.radikal.ru/1005/1f/61fabf24866d.gif')" />
<img src="http://s40.radikal.ru/i087/1005/73/453c7686ee37.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i087/1005/73/453c7686ee37.gif')" />
<img src="http://s07.radikal.ru/i180/1005/93/*цензура*2128edf47.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s07.radikal.ru/i180/1005/93/*цензура*2128edf47.gif')" />
<img src="http://i066.radikal.ru/1005/89/131741843d79.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i066.radikal.ru/1005/89/131741843d79.gif')" />
<img src="http://s40.radikal.ru/i088/1005/f9/082cb1c36ed2.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i088/1005/f9/082cb1c36ed2.gif')" />
</div>


Добавляем вот это :
[Показать/Скрыть]
Код
<img class='codebuttons' title='Цвета' alt='Цвета' src='http://s004.radikal.ru/i207/1009/d4/51f7e6b135e5.png' onclick="showhide('mycolor');"/>



И ещё в самый низ нужно добавить вот это:
[Показать/Скрыть]
Код
<!--COLOR-->
<div id="mycolor" class="block1" style=" display:none; margin-left: 507px; margin-top: -387px">
<table border="1" cellspacing="0">
<tr>
<td width="15" height="15" style="background-color:#ff00fe; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00fe')"></td>
<td width="15" height="15" style="background-color:#ff00be; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00be')"></td>
<td width="15" height="15" style="background-color:#ff009e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff009e')"></td>
<td width="15" height="15" style="background-color:#ff006e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff006e')"></td>
<td width="15" height="15" style="background-color:#ff004e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff004e')"></td>
<td width="15" height="15" style="background-color:#ff002e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff002e')"></td>
<td width="15" height="15" style="background-color:#ff1100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff1100')"></td>
<td width="15" height="15" style="background-color:#ff3100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff3100')"></td>
<td width="15" height="15" style="background-color:#ff5100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff5100')"></td>

<td width="15" height="15" style="background-color:#ff7100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff7100')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#ffa100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffa100')"></td>
<td width="15" height="15" style="background-color:#ffc100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffc100')"></td>
<td width="15" height="15" style="background-color:#ffe100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffe100')"></td>
<td width="15" height="15" style="background-color:#fdff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#fdff00')"></td>
<td width="15" height="15" style="background-color:#ddff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ddff00')"></td>
<td width="15" height="15" style="background-color:#adff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#adff00')"></td>
<td width="15" height="15" style="background-color:#4dff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#4dff00')"></td>
<td width="15" height="15" style="background-color:#00ff03; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff03')"></td>
<td width="15" height="15" style="background-color:#009900; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009900')"></td>
<td width="15" height="15" style="background-color:#00ff93; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff93')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#00ffd3; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ffd3')"></td>
<td width="15" height="15" style="background-color:#00fbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00fbff')"></td>
<td width="15" height="15" style="background-color:#00dbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00dbff')"></td>
<td width="15" height="15" style="background-color:#00bbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00bbff')"></td>

<td width="15" height="15" style="background-color:#009bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009bff')"></td>
<td width="15" height="15" style="background-color:#004bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#004bff')"></td>
<td width="15" height="15" style="background-color:#001bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#001bff')"></td>
<td width="15" height="15" style="background-color:#8400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8400ff')"></td>
<td width="15" height="15" style="background-color:#b400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#b400ff')"></td>
<td width="15" height="15" style="background-color:#d400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#d400ff')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#996600; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#996600')"></td>
<td width="15" height="15" style="background-color:#ffffcc; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffffcc')"></td>
<td width="15" height="15" style="background-color:#cfcfcf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#cfcfcf')"></td>
<td width="15" height="15" style="background-color:#afafaf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#afafaf')"></td>
<td width="15" height="15" style="background-color:#8f8f8f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8f8f8f')"></td>
<td width="15" height="15" style="background-color:#7f7f7f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#7f7f7f')"></td>
<td width="15" height="15" style="background-color:#5f5f5f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#5f5f5f')"></td>
<td width="15" height="15" style="background-color:#3f3f3f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#3f3f3f')"></td>
<td width="15" height="15" style="background-color:#660000; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#660000')"></td>
<td width="15" height="15" style="background-color:#333300; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#333300')"></td>

</tr>
</table></div>



Всё smile.gif

Пример тут : http://testal.ipb.su/

Сейчас обновлю первый пост. Теперь формы ответа полностью готовы и работают стабильно.


--------------------
Помог ? Тогда жмите user posted image
=========================
user posted image310-950-543 сюда стучать, если у вас есть предложение ко мне.. [в аське крайне редко]
user posted image ник : zse_gm по пустякам не беспокоить. [Обычно в онлайне до 5-6 вечера по мск]
За приделами форума тех. поддержки, за "спасибо" нечего не делаю!
=========================
user posted image
=========================
Из 1.3 в 3.1, возможно или нет?!
Возможно... Сделано... Проверено... Доказано =)


Один из Основателей Saint people
Top
basanti
Отправлено: Сен 28 2010, 07:50
Quote Post


Участник
Group Icon

Группа: Пользователи
Сообщений: 58
Пользователь №: 2 329
Регистрация: 26-Май 10
Из: Алмата
Member Offline

Репутация: нет




Alex Okonnorблагодарю!
Все прекрасно работает! biggrin.gif
Top
Bagira
Отправлено: Сен 28 2010, 13:24
Quote Post


Участник
Group Icon

Группа: Пользователи
Сообщений: 55
Пользователь №: 2 576
Регистрация: 27-Августа 10
Из: Германия
Member Offline

Репутация: нет




Ну наконец-то. Все совершенно и доведено до конца.Полностью готово для работы.
user posted image
При нажатии на окошко с А,выскакивает панелька с палитрой красок.Все компактно и ровно. Аlex,респект!
Top
Ustas
Отправлено: Сен 28 2010, 20:49
Quote Post


Юзер
Group Icon

Группа: Пользователи
Сообщений: 232
Пользователь №: 1 570
Регистрация: 29-Июня 09
Из: Лен.область
Member Offline

Репутация: нет




Цитата (Alex Okonnor @ Вчера, 23:54)
Какие именно кнопки не работали?

Ну вот не работают кнопки:
Шрифт,размер,смайлики,цвета
зачёркнутый текст.ссылка,изображение,e-mail
Также снова проблема со спойлером

Это сообщение отредактировал Ustas - Сен 28 2010, 21:36


--------------------
user posted image451600970 - на связи.

Top
Alex Okonnor
Отправлено: Сен 29 2010, 17:41
Quote Post


[Адмирал]
Group Icon

Группа: Пользователи
Сообщений: 1 661
Пользователь №: 518
Регистрация: 7-Февраля 08
Из: провинциальной деревушки на краю ада
Member Offline

Репутация: 83




Цитата (Ustas @ Вчера, 20:49)
Также снова проблема со спойлером

Слетели слэши...
Цитата (Ustas @ Вчера, 20:49)
зачёркнутый текст.ссылка,изображение,e-mail

Мммм я даже не могу понять, как так получилось что у Вас данные тэги перестали работать...Так как не этот мод не другие данные тэги не трогают, они в движке форума...
Единственное, что приходит на ум, это что Вы накасячели с кнопками тэгов.
Пример кнопки "зачёркнутого текста" :
Код
<img class='codebuttons' title='Зачеркнутый' alt='Зачеркнутый' src='http://s56.radikal.ru/i151/1009/e0/aad250956ed8.png' onmouseover="copyT('s')" onclick="insTxt()"  />

Проверьте у Вас так же или нет...
Цитата (Ustas @ Вчера, 20:49)
Шрифт,размер,смайлики,цвета

Прочитайте в первом посте данной темы "Шаг номер 2" ошибка явно там.

Это сообщение отредактировал Alex Okonnor - Сен 29 2010, 20:48


--------------------
Помог ? Тогда жмите user posted image
=========================
user posted image310-950-543 сюда стучать, если у вас есть предложение ко мне.. [в аське крайне редко]
user posted image ник : zse_gm по пустякам не беспокоить. [Обычно в онлайне до 5-6 вечера по мск]
За приделами форума тех. поддержки, за "спасибо" нечего не делаю!
=========================
user posted image
=========================
Из 1.3 в 3.1, возможно или нет?!
Возможно... Сделано... Проверено... Доказано =)


Один из Основателей Saint people
Top
Ustas
Отправлено: Сен 30 2010, 19:34
Quote Post


Юзер
Group Icon

Группа: Пользователи
Сообщений: 232
Пользователь №: 1 570
Регистрация: 29-Июня 09
Из: Лен.область
Member Offline

Репутация: нет




Поменял код на то,что вы дали-всё равно не работает с зачёркнутый текст.ссылка,изображение по e-mail.
Также без изменений Шрифт,размер,смайлики,цвета


--------------------
user posted image451600970 - на связи.

Top
Ustas
Отправлено: Сен 30 2010, 19:55
Quote Post


Юзер
Group Icon

Группа: Пользователи
Сообщений: 232
Пользователь №: 1 570
Регистрация: 29-Июня 09
Из: Лен.область
Member Offline

Репутация: нет




Alex Okonnor,привожу коды того,что у меня стоит-посмотрите,

Шаг 1.
[Показать/Скрыть]

Код
ul.dropdown,
ul.dropdown li,
ul.dropdown ul { list-style: none }
ul.dropdown { position: relative; z-index: 597; float: left }
ul.dropdown li { float: left; line-height: 1.3em; vertical-align: middle; zoom: 1 }
ul.dropdown li.hover,
ul.dropdown li:hover { position: relative; z-index: 599; cursor: default }
ul.dropdown ul { visibility: hidden; position: absolute; top: 100%; z-index: 598; width: 100% }
ul.dropdown ul li { float: none }
ul.dropdown ul ul { top: 1px; left: 99% }
ul { visibility: visible }
html { overflow-x: auto }

BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; margin: 0px; padding: 0px; text-align: center; color: #000; background-color: #336699; }

TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000 }
#ipbwrapper { text-align: left; width: 95%; margin-left: auto; margin-right: auto }

a:link, a:visited, a:active { text-decoration: underline; color: #222; }

a:hover { text-decoration: underline; color: #7bace8; }

fieldset.search { padding: 6px; line-height: 150% }
label { cursor: pointer }
form { display: inline }
img { vertical-align: middle; border: 0px }
img.attach { padding: 2px; border: 2px outset #EEF2F7 }
.googleroot { padding: 6px; line-height: 130% }
.googlechild { padding: 6px; margin-left: 30px; line-height: 130% }
.googlebottom, .googlebottom a:link, .googlebottom a:visited, .googlebottom a:active { font-size: 11px; color: #3A4F6C }
.googlish, .googlish a:link, .googlish a:visited, .googlish a:active { font-size: 14px; font-weight: bold; color: #00D }
.googlepagelinks { font-size: 1.1em; letter-spacing: 1px }
.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall a:visited { font-size: 10px; color: #434951 }
li.helprow { padding: 0px; margin: 0px 0px 10px 0px }
ul#help { padding: 0px 0px 0px 15px }
option.cat { font-weight: bold }
option.sub { font-weight: bold; color: #555 }
.caldate { text-align: right; font-weight: bold; font-size: 11px; padding: 4px; margin: 0px; color: #777; background-color: #DFE6EF }
.warngood { color: green }
.warnbad { color: red }
#padandcenter { margin-left: auto; margin-right: auto; text-align: center; padding: 14px 0px 14px 0px }
#profilename { font-size: 28px; font-weight: bold }
#calendarname { font-size: 22px; font-weight: bold }
#photowrap { padding: 6px }
#phototitle { font-size: 24px; border-bottom: 1px solid black }
#photoimg { text-align: center; margin-top: 15px }
#ucpmenu { line-height: 150%; width: 22%; background-color: #F5F9FD; border: 1px solid #345487 }
#ucpmenu p { padding: 2px 5px 6px 9px; margin: 0px }
#ucpcontent { line-height: 150%; width: auto; background-color: #F5F9FD; border: 1px solid #345487 }
#ucpcontent p { padding: 10px; margin: 0px }
#ipsbanner { position: absolute; top: 1px; right: 5% }

#logostrip { padding: 0px; margin: 0px; background-color: #3860BB; border: 1px solid #345487; background-image: url(http://sibcn.ru/images/strip.png) }

#submenu { font-size: 10px; margin: 3px 0px 3px 0px; font-weight: bold; color: #3A4F6C; background-color: #DFE6EF; border: 1px solid #BCD0ED }
#submenu a:link, #submenu  a:visited, #submenu a:active { font-weight: bold; font-size: 10px; text-decoration: none; color: #3A4F6C }
#userlinks { background-color: #F0F5FA; border: 1px solid #C2CFDF }
#navstrip { font-weight: bold; padding: 6px 0px 6px 0px }
.activeuserstrip { padding: 6px; background-color: #BCD0ED }
.pformstrip { font-weight: bold; padding: 7px; margin-top: 1px; color: #3A4F6C; background-color: #7EC0EE }
.pformleft { padding: 6px; margin-top: 1px; width: 25%; border-top: 1px solid #C2CFDF; border-right: 1px solid #C2CFDF; background-color: #F5F9FD }
.pformleftw { padding: 6px; margin-top: 1px; width: 40%; border-top: 1px solid #C2CFDF; border-right: 1px solid #C2CFDF; background-color: #F5F9FD }
.pformright { padding: 6px; margin-top: 1px; border-top: 1px solid #C2CFDF; background-color: #F5F9FD }
.signature { font-size: 10px; c1244565298olor: #339; line-height: 150% }
.postdetails { font-size: 10px }
.postcolor { font-size: 12px; line-height: 160% }
.normalname { font-size: 12px; font-weight: bold; color: #FF3300 }
.normalname a:link, .normalname a:visited, .normalname a:active { font-size: 12px }
.unreg { font-size: 11px; font-weight: bold; color: #900 }
.post1 { background-color: #F5F9FD }

.post{
background: #F9F7F1 url(http://s003.radikal.ru/i204/1007/f2/d02701cc580a.jpg);
min-height: 300px;
padding: 15px 10px 10px 10px;
margin: 20px 20px 20px 20px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border: 1px solid #000000;
}

.post2 { background-color: #EEF2F7 }

.postlinksbar { padding: 7px; margin-top: 1px; font-size: 10px; background-color: #D1DCEB; background-image: url(style_images/<#IMG_DIR#>/tile_sub.gif) }

.row1 { background-color: #F5F9FD }
.row2 { background-color: #DFE6EF }
.row2x { cursor: pointer; background-color: #DFE6EF }
.row3 { background-color: #EEF2F7 }
.row4 { background-color: #E4EAF2 }

.darkrow1 { color: #4C77B6; background-color: #C2CFDF }
.darkrow2 { color: #3A4F6C; background-color: #87CEFA; }
.darkrow3 { color: #3A4F6C; background-color: #D1DCEB; }

.hlight { background-color: #DFE6EF }
.dlight { background-color: #EEF2F7 }

.titlemedium { font-weight: bold; padding: 7px; margin: 0px; color: black; background-color: #87CEFA; }

.titlemedium  a:link, .titlemedium  a:visited, .titlemedium  a:active { text-decoration: underline; color: #228B22; background-color: #00BFFF }

.maintitle { vertical-align: middle; font-weight: bold; padding: 8px 0px 8px 5px; color: #FF4500B; background-color: #00BFFF; }

.maintitle a:link, .maintitle  a:visited, .maintitle  a:active { text-decoration: underline; color: dark; }

.maintitle a:hover { text-decoration: underline; }

.plainborder { background-color: #F5F9FD; border: 1px solid #345487 }
.tableborder { background-color: #FFF; border: 1px solid #345487 }
.tablefill { padding: 6px; background-color: #F5F9FD; border: 1px solid #345487 }
.tablepad { padding: 6px; background-color: #F5F9FD }
.tablebasic { width: 100%; padding: 0px 0px 0px 0px; margin: 0px; border: 0px }
.wrapmini { float: left; line-height: 1.5em; width: 25% }
.pagelinks { float: left; line-height: 1.2em; width: 35% }

.desc { font-size: 10px; color: #FF4500B; }
.edit { font-size: 9px }

.searchlite { font-weight: bold; color: #F00; background-color: #FF0 }
#QUOTE { white-space: normal; font-family: Verdana, Arial; font-size: 11px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; color: #465584; background-color: #FAFCFE; border: 1px solid #000 }
#CODE { white-space: normal; font-family: Courier, Courier New, Verdana, Arial; font-size: 11px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; color: #465584; background-color: #FAFCFE; border: 1px solid #000 }
.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }
.codebuttons { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
.forminput, .textinput, .radiobutton, .checkbox { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
.thin { padding: 6px 0px 6px 0px; line-height: 140%; margin: 2px 0px 2px 0px; border-top: 1px solid #FFF; border-bottom: 1px solid #FFF }
.purple { font-weight: bold; color: purple }
.red { font-weight: bold; color: red }
.green { font-weight: bold; color: green }
.blue { font-weight: bold; color: blue }
.orange { font-weight: bold; color: #F90 }
#HIDE { font-family: Verdana, Arial; font-size: 11px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; color: #465584; background-color: #FAFCFE; border: 1px solid #000 }
#HIDEERROR { font-family: Verdana, Arial; font-size: 11px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px; color: #red; background-color: #FAFCFE; border: 1px solid #000 }
.moduleborder,
.modulex { color: #FFF; background-color: #8B1A1A }
.modulecell { background-color: #F7FBF8 }
.memdetails { background: #fafcfe; border-bottom-width: 2px; border-right-width: 2px; padding: 4px 3px 4px 3px; margin: 3px 1px 3px 1px; border: 1px solid #cdd6e2 }
fieldset.attach { font: 12px Tahoma; width: 40%; padding: 6px; border: 3px inset }
legend.attach { font-weight: bold }
#banners a img { opacity: 0.3; -moz-opacity: 0.3; filter: alpha(opacity=30) }
#banners a:hover img { opacity: 1.0; -moz-opacity: 1.0; filter: alpha(opacity=100) }
.postdetails img { filter: alpha(opacity=40); -moz-opacity: 0.6; -khtml-opacity: 0.6; opacity: 0.4 }
.postdetails img:hover { filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1 }
.buttons:hover { opacity: 0.4; filter: alpha(opacity=40) }
.forum_icons { font-size: 9px }
#banners a img { opacity: 0.3;-moz-opacity: 0.3;filter: alpha(opacity=30); }
#banners a:hover img { opacity: 1.0;-moz-opacity: 1.0;filter: alpha(opacity=100); }



.block2 {
background:none repeat scroll 0 0 #FFFFF0;
margin-top:7px;
padding:5px;
}







.QUOTE_top,
.HIDE_top,
.HIDEERROR_top{
background: #E4EAF2 url(/html/images/css_img_quote.gif) no-repeat right;
border: 1px dotted #000;
border-bottom: 0;
border-left: 4px solid #8394B2;
color: #000;
font-weight: bold;
font-size: 10px;
margin: 2px auto 0 auto;
padding: 3px;
}

.QUOTE,
.HIDE,
.HIDEERROR{
background: #FAFCFE;
border: 1px dotted #000;
border-left: 4px solid #8394B2;
border-top: 0;
color: #465584;
padding: 4px;
margin: 0 auto 0 auto;
}

.CODE_top,
.SQL_top,
.HTML_top{
background: #FDDBCC url(/html/images/css_img_code.gif) no-repeat right;
color: #000;
font-weight: bold;
margin: 0 auto 0 auto;
padding: 3px;
}

.CODE,
.SQL,
.HTML{
background: #FAFCFE;
border: 1px dotted #000;
color: #465584;
font-family: Courier, "Courier New", Verdana, Arial;
margin: 0 auto 0 auto;
padding: 2px;
}


.rte-option-panel,
.rte-buttonbar
{
background-color: #DCE7FC;
background-image: url("http://s56.radikal.ru/i151/1009/6c/4af76c8b8c17.gif");
background-repeat: repeat-x;
border: 1px solid #020202;
letter-spacing: 0;
}
.rte-option-panel
{
display: none;
float: left;
text-align: center;
margin-bottom: 5px;
}
.rte-option-emo-box
{
background-color: #EFF3F7;
border:1px solid #020202;
margin-right: auto;
margin-left: auto;
margin-top: 10px;
margin-bottom: 10px;
}
.rte-menu-face,
.rte-normal-menu
{
background-color: #EFF3F7;
border-bottom:1px dotted #999;
padding: 1px 1px 4px 1px;
width:100%;
clear: all;
cursor: pointer;
cursor: hand;
}
.rte-menu-emo-header
{
text-align: center;
font-weight: bold;
background-color: #DCE7FC;
color: #000000;
background-image: url("http://s56.radikal.ru/i151/1009/6c/4af76c8b8c17.gif");
background-repeat: repeat-x;
padding:4px;
margin: 0px;
}

.rte-normal-menubutton
{
border: 1px solid #7585B8;
-moz-border-radius: 3px;
padding: 2px 1px 2px 4px;
margin:0px;
font-size: 11px;
overflow: hidden;
background-color: #FFFFFF;
background-image: url("http://s61.radikal.ru/i174/1009/4c/117cfc175901.gif");
background-repeat: no-repeat;
width:auto;
}


.block1 {
width: auto;
background: #F5F9FD;
padding: 5px;
padding-right: 5px;
border: solid 1px black;
position:absolute;
z-index:20;}


.block2 {
background:none repeat scroll 0 0 #FFFFF0;
margin-top:7px;
padding:5px;
}



Шаг второй - get_javascript

[Показать/Скрыть]

Код

<script language="javascript1.2" type="text/javascript">
<!--
var MessageMax  = "{ibf.lang.the_max_length}";
var Override= "{ibf.lang.override}";
MessageMax  = parseInt(MessageMax);
if ( MessageMax < 0 )
{
MessageMax = 0;
}

function emo_pop()
{
 window.open('index.{ibf.vars.php_ext}?act=legends&CODE=emoticons&s={ibf.session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes');
}
function bbc_pop()
{
 window.open('index.{ibf.vars.php_ext}?act=legends&CODE=bbcode&s={ibf.session_id}','Legends','width=700,height=500,resizable=yes,scrollbars=yes');
}
function CheckLength() {
MessageLength  = document.REPLIER.Post.value.length;
message  = "";
 if (MessageMax > 0) {
  message = "{ibf.lang.js_post}: {ibf.lang.js_max_length} " + MessageMax + " {ibf.lang.js_characters}.";
 } else {
  message = "";
 }
 alert(message + "  {ibf.lang.js_used} " + MessageLength + " {ibf.lang.js_characters}.");
}

function ValidateForm(isMsg) {
 MessageLength  = document.REPLIER.Post.value.length;
 errors = "";
 
 if (isMsg == 1)
 {
  if (document.REPLIER.msg_title.value.length < 2)
  {
   errors = "{ibf.lang.msg_no_title}";
  }
 }

 if (MessageLength < 2) {
   errors = "{ibf.lang.js_no_message}";
 }
 if (MessageMax !=0) {
  if (MessageLength > MessageMax) {
   errors = "{ibf.lang.js_max_length} " + MessageMax + " {ibf.lang.js_characters}. {ibf.lang.js_current}: " + MessageLength;
  }
 }
 if (errors != "" && Override == "") {
  alert(errors);
  return false;
 } else {
  document.REPLIER.submit.disabled = true;
  return true;
 }
}

// IBC Code stuff
var text_enter_url  = "{ibf.lang.jscode_text_enter_url}";
var text_enter_url_name = "{ibf.lang.jscode_text_enter_url_name}";
var text_enter_image= "{ibf.lang.jscode_text_enter_image}";
var text_enter_email= "{ibf.lang.jscode_text_enter_email}";
var text_enter_flash= "{ibf.lang.jscode_text_enter_flash}";
var text_code   = "{ibf.lang.jscode_text_code}";
var text_quote  = "{ibf.lang.jscode_text_quote}";
var error_no_url= "{ibf.lang.jscode_error_no_url}";
var error_no_title  = "{ibf.lang.jscode_error_no_title}";
var error_no_email  = "{ibf.lang.jscode_error_no_email}";
var error_no_width  = "{ibf.lang.jscode_error_no_width}";
var error_no_height = "{ibf.lang.jscode_error_no_height}";
var prompt_start= "{ibf.lang.js_text_to_format}";

var help_bold   = "{ibf.lang.hb_bold}";
var help_italic = "{ibf.lang.hb_italic}";
var help_under  = "{ibf.lang.hb_under}";
var help_font   = "{ibf.lang.hb_font}";
var help_size   = "{ibf.lang.hb_size}";
var help_color  = "{ibf.lang.hb_color}";
var help_close  = "{ibf.lang.hb_close}";
var help_url= "{ibf.lang.hb_url}";
var help_img= "{ibf.lang.hb_img}";
var help_email  = "{ibf.lang.hb_email}";
var help_quote  = "{ibf.lang.hb_quote}";
var help_list   = "{ibf.lang.hb_list}";
var help_code   = "{ibf.lang.hb_code}";
var help_hide   = "{ibf.lang.hb_hide}";
 var help_spoiler   = "{ibf.lang.hb_spoiler}";
var help_click_close= "{ibf.lang.hb_click_close}";
var list_prompt = "{ibf.lang.js_tag_list}";



function tag_spolier()
{var FoundErrors = '';
var enterTITLE  = prompt("Введите описание скрытого текста", "Спойлер");
if (!enterTITLE) {
FoundErrors += " " + error_no_title;}
if (FoundErrors) {
alert("Error!"+FoundErrors);
return;}
doInsert("[spoil="+enterTITLE+"]", "[/spoil]", "", false);}


function tag_foto()
{var FoundErrors = '';
var enterURL   = prompt("Введите ссылку на фото или сайт (для фрейма)", "http://");
var enterTITLE = prompt("Введите вариант: lytebox - для одиночного фото
lytebox[vacation] - для группы фотографий
lyteshow[vacation] - для слайд-шоу
lyteframe - для сайта", "lytebox[vacation]");
var enterTITLE2 = prompt("Введите описание, оно будет отображаться при просмотре", "Моё фото");
if (!enterURL) {
FoundErrors += " " + error_no_url;}
if (!enterTITLE) {
FoundErrors += " " + error_no_title;}
if (FoundErrors) {
alert("Error!"+FoundErrors);
return;}
doInsert("[foto="+enterTITLE+"]"+enterURL+"|"+enterTITLE2+"[/foto]", "", false);}



function showhide(id_div)
{
if(document.getElementById(id_div).style.display=="none")
{ document.getElementById(id_div).style.display="block"; }
else
{ document.getElementById(id_div).style.display="none";
}}

function copyT(code)
{if (typeof(document.getElementById('tex').caretPos) != 'undefined'){
if (window.getSelection) {text=window.getSelection()}
else if (document.selection) {text=document.selection.createRange().text;}
text='['+code+']'+text+'[/'+code+']'
}
else if (typeof(document.getElementById('tex').selectionStart) != 'undefined')
{
text=document.getElementById('tex').value.substring(document.getElementById('tex').selectionStart,document.getElementById('tex').selectionEnd)
text='['+code+']'+text+'[/'+code+']'
}}

function copyTC(cl)
{if (typeof(document.getElementById('tex').caretPos) != 'undefined'){
if (window.getSelection) {text=window.getSelection()}
else if (document.selection) {text=document.selection.createRange().text;}
text='[COLOR='+cl+']'+text+'[/COLOR]'
}
else if (typeof(document.getElementById('tex').selectionStart) != 'undefined')
{
text=document.getElementById('tex').value.substring(document.getElementById('tex').selectionStart,document.getElementById('tex').selectionEnd)
text='[COLOR='+cl+']'+text+'[/COLOR]'
}}

function copyTF(ff)
{if (typeof(document.getElementById('tex').caretPos) != 'undefined'){
if (window.getSelection) {text=window.getSelection()}
else if (document.selection) {text=document.selection.createRange().text;}
text='[FONT='+ff+']'+text+'[/FONT]'
}
else if (typeof(document.getElementById('tex').selectionStart) != 'undefined')
{
text=document.getElementById('tex').value.substring(document.getElementById('tex').selectionStart,document.getElementById('tex').selectionEnd)
text='[FONT='+ff+']'+text+'[/FONT]'
}}

function storeCaret(element)
{
if (typeof(document.selection) != 'undefined' && typeof(document.selection.createRange) != 'undefined')
element.caretPos=document.selection.createRange().duplicate();}

function insTxt()
{ var element = document.getElementById("tex")
if (!element)
return;
element.focus();
if (typeof(element.caretPos) != 'undefined')
element.caretPos.text = text;
else if (typeof(element.selectionStart) != 'undefined')
{
var newPos = element.selectionEnd + text.length;
element.value = element.value.substring(0, element.selectionStart) + text + element.value.substring(element.selectionEnd, element.value.length);
element.setSelectionRange(newPos, newPos);
}
else
element.value += text;}

function copyTS(sz)
{if (typeof(document.getElementById('tex').caretPos) != 'undefined'){
if (window.getSelection) {text=window.getSelection()}
else if (document.selection) {text=document.selection.createRange().text;}
text='[SIZE='+sz+']'+text+'[/SIZE]'
}
else if (typeof(document.getElementById('tex').selectionStart) != 'undefined')
{
text=document.getElementById('tex').value.substring(document.getElementById('tex').selectionStart,document.getElementById('tex').selectionEnd)
text='[SIZE='+sz+']'+text+'[/SIZE]'
}}

function copyTSmil(sm)
{if (typeof(document.getElementById('tex').caretPos) != 'undefined'){
if (window.getSelection) {text=window.getSelection()}
else if (document.selection) {text=document.selection.createRange().text;}
text='[IMG]'+sm+'[/IMG]'
}
else if (typeof(document.getElementById('tex').selectionStart) != 'undefined')
{
text=document.getElementById('tex').value.substring(document.getElementById('tex').selectionStart,document.getElementById('tex').selectionEnd)
text='[IMG]'+sm+'[/IMG]'
}}


//-->
</script>




Это сообщение отредактировал Ustas - Сен 30 2010, 20:04


--------------------
user posted image451600970 - на связи.

Top
Ustas
Отправлено: Сен 30 2010, 20:05
Quote Post


Юзер
Group Icon

Группа: Пользователи
Сообщений: 232
Пользователь №: 1 570
Регистрация: 29-Июня 09
Из: Лен.область
Member Offline

Репутация: нет





Шаг третий - Post: Code Buttons & Post Text area
[Показать/Скрыть]
<script type="text/javascript">
function tag_video()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на видео с YouTube, Rutube, Vimeo.com или Dailymotion.com", "");

if (!enterURL) {
FoundErrors += " " + error_no_url;}

if (FoundErrors) {
alert("Error!"+FoundErrors);
return;}

doInsert("[video]"+enterURL+"[/video]", "", false);}
</script>




<script type="text/javascript">
var mem_Guest = "{ibf.member.name}";
function addtag(code1, code2)
{
document.REPLIER.Post.value = code1 + document.REPLIER.Post.value + code2;
//return true;
}
function tag_mp3()
{var FoundErrors = '';
var enterURL = prompt("Введите ссылку на mp3 файл", "http://");

if (!enterURL) {
FoundErrors += " " + error_no_url;}

if (FoundErrors) {
alert("Error!"+FoundErrors);
return;}

doInsert("[music]"+enterURL+"[/music]", "", false);}
</script>




<script type="text/javascript">
<!--

document.onkeydown=function(e){
if (e) event=e
if ((event.keyCode==13)&&(event.ctrlKey)){
document.REPLIER.submit.click();
}}

function emo_pop()
{
window.open('index.{ibf.vars.php_ext}?act=legends&amp;CODE=emoticons&amp;s={ibf.session_id}','Legends','width=380,height=500,resizable=yes,scrollbars=yes');
}
//-->
</script>

<script type='text/javascript' src='html/ibfcode.js'></script>

<td class='pformleft' width="100%">
<table style="padding: 3px;" cellspacing="0" width="100%">
<td colspan="2">
<table width="100%">

<td id="ed-0_options-bar" class="rte-option-panel" style="width: auto; height: auto; display: block;" nowrap="nowrap" valign="top">
<div style="width: 90%;" class="rte-option-emo-box"><div class="rte-menu-emo-header">
<a href="javascript:emo_pop()">Смайлики</a>
</div>
<div style="width: 185px; height: 120px; overflow: auto;">
<table border="0" cellpadding="0" cellspacing="0" width="99%">
<td id="ed-0_emoticon_1" class="rte-menu-emo-box" width="33%">

<a href="javascript:emoticon(':huh:')"><img src="http://ipb.su/html/emoticons/huh.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':o')"><img src="http://ipb.su/html/emoticons/wacko.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(';)')"><img src="http://ipb.su/html/emoticons/wink.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':D')"><img src="http://ipb.su/html/emoticons/biggrin.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon('B)')"><img src="http://ipb.su/html/emoticons/cool.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':rolleyes:')"><img src="http://ipb.su/html/emoticons/rolleyes.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon('<_<')"><img src="http://ipb.su/html/emoticons/dry.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':)')"><img src="http://ipb.su/html/emoticons/smile.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon(':(')"><img src="http://ipb.su/html/emoticons/sad.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':unsure:')"><img src="http://ipb.su/html/emoticons/unsure.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':blink:')"><img src="http://ipb.su/html/emoticons/blink.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':lol:')"><img src="http://ipb.su/html/emoticons/laugh.gif" alt="smilie" border="0"></a>&nbsp;

<br />

<a href="javascript:emoticon(':p')"><img src="http://ipb.su/html/emoticons/tongue.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':angry:')"><img src="http://ipb.su/html/emoticons/mad.gif" alt="smilie" border="0"></a>&nbsp;


<a href="javascript:emoticon(':no:')"><img src="http://ipb.su/html/emoticons/no.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':yes:')"><img src="http://ipb.su/html/emoticons/yes.gif" alt="smilie" border="0"></a>

<br />
<a href="javascript:emoticon(':cray:')"><img src="http://ipb.su/html/emoticons/cray.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':good:')"><img src="http://ipb.su/html/emoticons/good.gif" alt="smilie" border="0"></a>&nbsp;

<a href="javascript:emoticon(':bang:')"><img src="http://ipb.su/html/emoticons/bang.gif" alt="smilie" border="0"></a>&nbsp;

</td></table></div>

<div style="height: 17px;" class="rte-menu-emo-header">
<div style="float: right;">
<a href="javascript:emo_pop()">Все смайлики</a>
</div></div></div>

<div style="width: 90%;" class="rte-option-emo-box">
<div class="rte-menu-emo-header">Теги</div>
<div style="width: 100%;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">

<td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" alt="По центру" title="По центру" onclick='simpletag("CENTER")' class='codebuttons' name='CENTER' onmouseover="hstat('center')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : По центру</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-menu-face" value=' http:// ' onclick='tag_url()'class='codebuttons' name='url' onmouseover="hstat('url')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Ссылка</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onclick='tag_image()'class='codebuttons' name='img' onmouseover="hstat('img')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Изображение</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onClick='simpletag("HIDE")' class='codebuttons' name="HIDE" onMouseOver="hstat('hide')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Скрытый текст</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onClick='simpletag("SPOILER")' class='codebuttons' name="SPOILER" onMouseOver="hstat('spoiler')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Спойлер</td></tr>

<tr><td style="text-align: left; padding-left: 2px;" class="rte-normal-menu" onclick='simpletag("QUOTE")' class='codebuttons' name='QUOTE' onmouseover="hstat('quote')" /><img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283995733.png" style="vertical-align: middle;" border=""> : Цитата</td></tr>
</tbody></table></div></div></td>

<td style="width: 4px;" id="ed-0_spacer-bar" width="4px">&nbsp;</td>
<td style="width: 100%;" id="ed-0_main-bar" class="rte-buttonbar" nowrap="nowrap" >
<div id="ed-0_controls" style="padding: 6px; text-align: left;">
<table cellpadding="2" cellspacing="0" width="100%">
<td width="100%">
<table cellpadding="0" cellspacing="0" width="100%">
<td nowrap="nowrap">
<table border="0" cellpadding="0" cellspacing="0">

<!--FONT-->
<img class='codebuttons' title='Шрифт' alt='Шрифт' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992871.png' onclick="showhide('myfont');"/>

<div id="myfont" class="block1" style=" display:none; margin-left: 1%; margin-top: 1px">
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial')" title="Arial"><font face="Arial">Arial</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial Black')" title="Arial Black"><font face="Arial Black">Arial Black</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Arial Narrow')" title="Arial Narrow"><font face="Arial Narrow">Arial Narrow</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Book Antiqua')" title="Book Antiqua"><font face="Book Antiqua">Book Antiqua</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Century Gothic')" title="Century Gothic"><font face="Century Gothic">Century Gothic</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Comic Sans MS')" title="Comic Sans MS"><font face="Comic Sans MS">Comic Sans MS</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Courier New')" title="Courier New"><font face="Courier New">Courier New</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Franklin Gothic Medium')" title="Franklin Gothic Medium"><font face="Franklin Gothic Medium">Franklin Gothic Medium</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Garamond')" title="Garamond"><font face="Garamond">Garamond</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Georgia')" title="Georgia"><font face="Georgia">Georgia</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Impact')" title="Impact"><font face="Impact">Impact</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Lucida Console')" title="Lucida Console"><font face="Lucida Console">Lucida Console</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Lucida Sans Unicode')" title="Lucida Sans Unicode"><font face="Lucida Sans Unicode">Lucida Sans Unicode</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Microsoft Sans Serif')" title="Microsoft Sans Serif"><font face="Microsoft Sans Serif">Microsoft Sans Serif</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Palatino Linotype')" title="Palatino Linotype"><font face="Palatino Linotype">Palatino Linotype</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Tahoma')" title="Tahoma"><font face="Tahoma">Tahoma</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Times New Roman')" title="Times New Roman"><font face="Times New Roman">Times New Roman</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Trebuchet MS')" title="Trebuchet MS"><font face="Trebuchet MS">Trebuchet MS</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('myfont')" onmouseover="copyTF('Verdana')" title="Verdana"><font face="Verdana">Verdana</font></div>
</div>

<!--SIZE-->
<img class='codebuttons' title='Размер' alt='Размер' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992808.png' onclick="showhide('fontsizer');"/>

<div id="fontsizer" class="block1" style="display:none; margin-left:150px; margin-top:1px">
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('1')" title="1"><font size="1">1</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('2')" title="2"><font size="2">2</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('3')" title="3"><font size="3">3</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('4')" title="4"><font size="4">4</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('5')" title="5"><font size="5">5</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('6')" title="6"><font size="6">6</font></div>
<div style="cursor:pointer" onclick="insTxt(); showhide('fontsizer')" onmouseover="copyTS('7')" title="7"><font size="7">7</font></div>
</div>

<!--SMILIES-->
<img class='codebuttons' title='Смайлы' alt='Смайлы' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1283992699.png' onclick="showhide('smiler');"/>

<div id="smiler" class="block1" style="display:none; margin-left:200px; margin-top:1px">
<img src="http://s50.radikal.ru/i130/1005/e1/662ba93*цензура*48.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s50.radikal.ru/i130/1005/e1/662ba93*цензура*48.gif')" />
<img src="http://i070.radikal.ru/1005/c7/0e77ae8a9874.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i070.radikal.ru/1005/c7/0e77ae8a9874.gif')" />
<img src="http://s59.radikal.ru/i166/1005/2f/5b1c0605032a.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/2f/5b1c0605032a.gif')" />
<img src="http://i054.radikal.ru/1005/f6/13dcca4f279d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i054.radikal.ru/1005/f6/13dcca4f279d.gif')" />
<img src="http://s58.radikal.ru/i162/1005/08/79b11cf81b88.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s58.radikal.ru/i162/1005/08/79b11cf81b88.gif')" />
<img src="http://s40.radikal.ru/i090/1005/cb/0b8e124c46ca.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i090/1005/cb/0b8e124c46ca.gif')" />
<img src="http://s40.radikal.ru/i089/1005/fd/24e1da52dcfb.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i089/1005/fd/24e1da52dcfb.gif')" />
<img src="http://s41.radikal.ru/i091/1005/2a/096a46240cf1.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s41.radikal.ru/i091/1005/2a/096a46240cf1.gif')" /><br />
<img src="http://s005.radikal.ru/i212/1005/cc/d597ca076c7b.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s005.radikal.ru/i212/1005/cc/d597ca076c7b.gif')" />
<img src="http://s56.radikal.ru/i151/1005/a3/85c037c68925.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s56.radikal.ru/i151/1005/a3/85c037c68925.gif')" />
<img src="http://i072.radikal.ru/1005/6f/c90a718466a8.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i072.radikal.ru/1005/6f/c90a718466a8.gif')" />
<img src="http://i077.radikal.ru/1005/1d/a629f081ef7f.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i077.radikal.ru/1005/1d/a629f081ef7f.gif')" />
<img src="http://i026.radikal.ru/1005/2e/917159b2b553.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i026.radikal.ru/1005/2e/917159b2b553.gif')" />
<img src="http://s39.radikal.ru/i085/1005/59/3b7d4b4c6b05.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s39.radikal.ru/i085/1005/59/3b7d4b4c6b05.gif')" />
<img src="http://s005.radikal.ru/i210/1005/e0/5f5a0b2711e7.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s005.radikal.ru/i210/1005/e0/5f5a0b2711e7.gif')" />
<img src="http://s45.radikal.ru/i110/1005/ab/16bade9e8735.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s45.radikal.ru/i110/1005/ab/16bade9e8735.gif')" /><br />
<img src="http://i068.radikal.ru/1005/67/1e48518538b5.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i068.radikal.ru/1005/67/1e48518538b5.gif')" />
<img src="http://s002.radikal.ru/i197/1005/69/bdd4beea1923.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s002.radikal.ru/i197/1005/69/bdd4beea1923.gif')" />
<img src="http://s59.radikal.ru/i166/1005/5a/6bc6b02280ac.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/5a/6bc6b02280ac.gif')" />
<img src="http://i053.radikal.ru/1005/21/123a52ee0534.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i053.radikal.ru/1005/21/123a52ee0534.gif')" />
<img src="http://s61.radikal.ru/i174/1005/29/606e8da4d6a3.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/29/606e8da4d6a3.gif')" />
<img src="http://s59.radikal.ru/i166/1005/88/477afdf0dd76.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s59.radikal.ru/i166/1005/88/477afdf0dd76.gif')" />
<img src="http://s43.radikal.ru/i099/1005/62/3c56a02b626c.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s43.radikal.ru/i099/1005/62/3c56a02b626c.gif')" />
<img src="http://s52.radikal.ru/i136/1005/b2/aab2ba0a2bde.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s52.radikal.ru/i136/1005/b2/aab2ba0a2bde.gif')" /><br />
<img src="http://s61.radikal.ru/i174/1005/94/78a759f0ae02.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/94/78a759f0ae02.gif')" />
<img src="http://s004.radikal.ru/i206/1005/66/606d70ff2218.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s004.radikal.ru/i206/1005/66/606d70ff2218.gif')" />
<img src="http://s19.radikal.ru/i192/1005/14/9422022b9bfc.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s19.radikal.ru/i192/1005/14/9422022b9bfc.gif')" />
<img src="http://s05.radikal.ru/i178/1005/27/b73d7e039ad5.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s05.radikal.ru/i178/1005/27/b73d7e039ad5.gif')" />
<img src="http://s42.radikal.ru/i097/1005/39/9f636b1832c9.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s42.radikal.ru/i097/1005/39/9f636b1832c9.gif')" />
<img src="http://i061.radikal.ru/1005/ba/3b89a947cb01.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i061.radikal.ru/1005/ba/3b89a947cb01.gif')" />
<img src="http://s61.radikal.ru/i174/1005/4e/b5e2c635f00d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s61.radikal.ru/i174/1005/4e/b5e2c635f00d.gif')" />
<img src="http://i035.radikal.ru/1005/91/ed0ded51be72.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i035.radikal.ru/1005/91/ed0ded51be72.gif')" /><br />
<img src="http://s45.radikal.ru/i107/1005/0f/bfae40718551.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s45.radikal.ru/i107/1005/0f/bfae40718551.gif')" />
<img src="http://i073.radikal.ru/1005/fa/96e053ab7c23.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i073.radikal.ru/1005/fa/96e053ab7c23.gif')" />
<img src="http://s53.radikal.ru/i140/1005/e9/0768f063410c.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s53.radikal.ru/i140/1005/e9/0768f063410c.gif')" />
<img src="http://s49.radikal.ru/i123/1005/fc/fd0d83f120c1.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s49.radikal.ru/i123/1005/fc/fd0d83f120c1.gif')" />
<img src="http://s004.radikal.ru/i205/1005/ff/334f3394a110.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s004.radikal.ru/i205/1005/ff/334f3394a110.gif')" />
<img src="http://s58.radikal.ru/i161/1005/3b/5e65a19efafb.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s58.radikal.ru/i161/1005/3b/5e65a19efafb.gif')" />
<img src="http://s09.radikal.ru/i182/1005/6e/44e8b1d40f2d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s09.radikal.ru/i182/1005/6e/44e8b1d40f2d.gif')" />
<img src="http://i055.radikal.ru/1005/e9/c7983030c26e.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i055.radikal.ru/1005/e9/c7983030c26e.gif')" /><br />
<img src="http://s39.radikal.ru/i083/1005/6d/57fd720cfce2.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s39.radikal.ru/i083/1005/6d/57fd720cfce2.gif')" />
<img src="http://i072.radikal.ru/1005/1f/61fabf24866d.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i072.radikal.ru/1005/1f/61fabf24866d.gif')" />
<img src="http://s40.radikal.ru/i087/1005/73/453c7686ee37.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i087/1005/73/453c7686ee37.gif')" />
<img src="http://s07.radikal.ru/i180/1005/93/*цензура*2128edf47.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s07.radikal.ru/i180/1005/93/*цензура*2128edf47.gif')" />
<img src="http://i066.radikal.ru/1005/89/131741843d79.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://i066.radikal.ru/1005/89/131741843d79.gif')" />
<img src="http://s40.radikal.ru/i088/1005/f9/082cb1c36ed2.gif" style="cursor:pointer" onclick="insTxt(); showhide('smiler')" onmouseover="copyTSmil('http://s40.radikal.ru/i088/1005/f9/082cb1c36ed2.gif')" />
</div>

<!--COLOR-->
<img class='codebuttons' title='Цвета' alt='Цвета' src='http://s004.radikal.ru/i207/1009/d4/51f7e6b135e5.png' onclick="showhide('mycolor');"/>

</td>
</table>
</div>
</table>

<td width="100%">&nbsp;</td>
<td align="right" nowrap="nowrap" width="1%">
<table cellpadding="0" cellspacing="0" width="100%">
</table>
</td>

<table id="Buttons2" cellpadding="2" cellspacing="0" width="100%">
<td align="left" nowrap="nowrap" width="100%">
<table cellpadding="0" cellspacing="0" width="100%">

<img title='Жирный' alt='Жирный' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1280417257.png' onclick='simpletag("B")' class='codebuttons' name='B' style="font-weight:bold" onmouseover="hstat('bold')" />

<img title='Наклонный' alt='Наклонный' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1280847361.png' onclick='simpletag("I")' class='codebuttons' name='I' style="font-style:italic" onmouseover="hstat('italic')" />

<img title='Подчёркнутый' alt='Подчёркнутый' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847417.png' onclick='simpletag("U")' class='codebuttons' name='U' style="text-decoration:underline" onmouseover="hstat('under')" />

<img class='codebuttons' title='Зачеркнутый' alt='Зачеркнутый' src='http://s56.radikal.ru/i151/1009/e0/aad250956ed8.png' onmouseover="copyT('s')" onclick="insTxt()" />

<img title='Ссылка' alt='Ссылка' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847528.png' ' value=' http:// ' onclick='tag_url()'class='codebuttons' name='url' onmouseover="hstat('url')" />

<img title='Изображение' alt='Изображение' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847587.png' onclick='tag_image()'class='codebuttons' name='img' onmouseover="hstat('img')" />

<img title='E-mail' alt='E-mail' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847727.png' onclick='tag_email()'class='codebuttons' name='email' onmouseover="hstat('email')" />

<img title='Цитата' alt='Цитата' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847827.png' onclick='simpletag("QUOTE")' class='codebuttons' name='QUOTE' onmouseover="hstat('quote')" />

<img title='Код' alt='Код' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847861.png'onclick='simpletag("CODE")'class='codebuttons' name='CODE' onmouseover="hstat('code')" />

<img title='Скрытый текст' alt='Скрытый текст' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847908.png' onClick='simpletag("HIDE")' class='codebuttons' name="HIDE" onMouseOver="hstat('hide')" />

<img class='codebuttons' title='Спойлер' alt='Спойлер' src='http://www.pushkino.org/ipb/html/UBBC/spoiler.gif' onclick='tag_spolier()' />

<img class="buttons" title='Видеоролик' alt='Видеоролик' src='http://s61.radikal.ru/i174/1005/c7/3f0c9bfa53a1.png' onclick='tag_video()' />

<img class='codebuttons' title='Загрузить mp3' alt='Загрузить mp3' src='http://img31.imageshack.us/img31/1875/sound.gif' onclick='tag_mp3()' onmouseover="hstat('music')" />

<!--<input type='button' accesskey='l' value=' SQL ' onclick='simpletag("SQL")' class='codebuttons' name='SQL'>
<input type='button' accesskey='t' value=' HTML 'onclick='simpletag("HTML")'class='codebuttons' name='HTML'>-->

</table>
</td>

<td width="100%">&nbsp;</td>
<td align="right" nowrap="nowrap" width="100%">
<table cellpadding="0" cellspacing="0" width="100%">

<img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280882850.png" alt="По центру" title="По центру" onclick='simpletag("CENTER")' class='codebuttons' name='CENTER' onmouseover="hstat('center')" />

<img src="http://ipb.su/uploads/ipbsu/sleepingdream/post-2-1284125401.png" alt="По правому краю" title="По правому краю" onclick='simpletag("RIGHT")' class='codebuttons' name='RIGHT' onmouseover="hstat('right')" />

<img title='Создать список' alt='Создать список' src='http://ipb.su/uploads/ipbsu/sleepingdream/post-3-1280847480.gif' onclick='tag_list()' class='codebuttons' name="LIST" onmouseover="hstat('list')" />

</table>
</td>
</table>
</div>

<div align="center">
<textarea onfocus='storeCaret(this);' onkeyup='storeCaret(this);' onclick='storeCaret(this);' onselect='storeCaret(this);' id='tex' cols='80' rows='20' name='Post' tabindex='3' class='textinput' style="width: 96%; height: 280px;">$data</textarea>
</div>
<br />
<input type='radio' class='radiobutton' name='bbmode' value='ezmode' onclick='setmode(this.value)' />&nbsp;<b>{ibf.lang.bbcode_guided}</b>

<input type='radio' class='radiobutton' name='bbmode' value='normal' onclick='setmode(this.value)' checked="checked" />&nbsp;<b>{ibf.lang.bbcode_normal}</b>

<hr>

<input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" />&nbsp;<b>Показать смайлики в этом сообщении ?</B>

<input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" />&nbsp;<b>Показать подпись в этом сообщении?</b>
</div>
</td></table>

<!--COLOR-->
<div id="mycolor" class="block1" style=" display:none; margin-left: 507px; margin-top: -387px">
<table border="1" cellspacing="0">
<tr>
<td width="15" height="15" style="background-color:#ff00fe; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00fe')"></td>
<td width="15" height="15" style="background-color:#ff00be; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff00be')"></td>
<td width="15" height="15" style="background-color:#ff009e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff009e')"></td>
<td width="15" height="15" style="background-color:#ff006e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff006e')"></td>
<td width="15" height="15" style="background-color:#ff004e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff004e')"></td>
<td width="15" height="15" style="background-color:#ff002e; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff002e')"></td>
<td width="15" height="15" style="background-color:#ff1100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff1100')"></td>
<td width="15" height="15" style="background-color:#ff3100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff3100')"></td>
<td width="15" height="15" style="background-color:#ff5100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff5100')"></td>

<td width="15" height="15" style="background-color:#ff7100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ff7100')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#ffa100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffa100')"></td>
<td width="15" height="15" style="background-color:#ffc100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffc100')"></td>
<td width="15" height="15" style="background-color:#ffe100; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffe100')"></td>
<td width="15" height="15" style="background-color:#fdff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#fdff00')"></td>
<td width="15" height="15" style="background-color:#ddff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ddff00')"></td>
<td width="15" height="15" style="background-color:#adff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#adff00')"></td>
<td width="15" height="15" style="background-color:#4dff00; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#4dff00')"></td>
<td width="15" height="15" style="background-color:#00ff03; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff03')"></td>
<td width="15" height="15" style="background-color:#009900; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009900')"></td>
<td width="15" height="15" style="background-color:#00ff93; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ff93')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#00ffd3; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00ffd3')"></td>
<td width="15" height="15" style="background-color:#00fbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00fbff')"></td>
<td width="15" height="15" style="background-color:#00dbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00dbff')"></td>
<td width="15" height="15" style="background-color:#00bbff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#00bbff')"></td>

<td width="15" height="15" style="background-color:#009bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#009bff')"></td>
<td width="15" height="15" style="background-color:#004bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#004bff')"></td>
<td width="15" height="15" style="background-color:#001bff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#001bff')"></td>
<td width="15" height="15" style="background-color:#8400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8400ff')"></td>
<td width="15" height="15" style="background-color:#b400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#b400ff')"></td>
<td width="15" height="15" style="background-color:#d400ff; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#d400ff')"></td>
</tr><tr>
<td width="15" height="15" style="background-color:#996600; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#996600')"></td>
<td width="15" height="15" style="background-color:#ffffcc; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#ffffcc')"></td>
<td width="15" height="15" style="background-color:#cfcfcf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#cfcfcf')"></td>
<td width="15" height="15" style="background-color:#afafaf; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#afafaf')"></td>
<td width="15" height="15" style="background-color:#8f8f8f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#8f8f8f')"></td>
<td width="15" height="15" style="background-color:#7f7f7f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#7f7f7f')"></td>
<td width="15" height="15" style="background-color:#5f5f5f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#5f5f5f')"></td>
<td width="15" height="15" style="background-color:#3f3f3f; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#3f3f3f')"></td>
<td width="15" height="15" style="background-color:#660000; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#660000')"></td>
<td width="15" height="15" style="background-color:#333300; cursor:pointer" onclick="insTxt(); showhide('mycolor')" onmouseover = "copyTC('#333300')"></td>

</tr>
</table></div>


Может быть где ошибки?


--------------------
user posted image451600970 - на связи.

Top
Alex Okonnor
Отправлено: Сен 30 2010, 23:06
Quote Post


[Адмирал]
Group Icon

Группа: Пользователи
Сообщений: 1 661
Пользователь №: 518
Регистрация: 7-Февраля 08
Из: провинциальной деревушки на краю ада
Member Offline

Репутация: 83




Ustas,
Ок как будет время разберусь с Вашей проблемой.


--------------------
Помог ? Тогда жмите user posted image
=========================
user posted image310-950-543 сюда стучать, если у вас есть предложение ко мне.. [в аське крайне редко]
user posted image ник : zse_gm по пустякам не беспокоить. [Обычно в онлайне до 5-6 вечера по мск]
За приделами форума тех. поддержки, за "спасибо" нечего не делаю!
=========================
user posted image
=========================
Из 1.3 в 3.1, возможно или нет?!
Возможно... Сделано... Проверено... Доказано =)


Один из Основателей Saint people
Top
nebo
Отправлено: Окт 1 2010, 13:46
Quote Post


Участник
Group Icon

Группа: Пользователи
Сообщений: 78
Пользователь №: 2 298
Регистрация: 11-Май 10
Member Offline

Репутация: 1




))стёрла,моя вина

Это сообщение отредактировал nebo - Окт 1 2010, 15:24


--------------------
Будь здоров
Основы духовного, душевного и физического здоровья.
Японская традиция Рэйки - система естественного исцеления, сокровенное искусство достижения счастья. :)
Top
Ustas
Отправлено: Окт 2 2010, 18:33
Quote Post


Юзер
Group Icon

Группа: Пользователи
Сообщений: 232
Пользователь №: 1 570
Регистрация: 29-Июня 09
Из: Лен.область
Member Offline

Репутация: нет




Alex Okonnor,Ок-жду вашего ответа.


--------------------
user posted image451600970 - на связи.

Top
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:

Topic Options Страницы: (9) « Первая ... 3 4 [5] 6 7 ... Последняя » Reply to this topicStart new topicStart Poll