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

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

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


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


Спойлер и Доп.цвета

Сообщений 201 страница 220 из 248

201

споилер фигово работает. например почему нельзя вставить два и более в сообщение :\

0

202

А можно сделать такой скрипт для спойлера, что бы он выдавал такой тег

Трэклист

И будет это все дело выглядеть примерно так
http://ipicture.ru/uploads/081116/25022/bItehjwrg2.jpg
Вместо трэклист пишем любое другое слово, и оно будет отображаться.
Я думаю это будет полезно для любого форума! То, как-то, просто слово спойлер не очень:(

Отредактировано Iliz (Вс, 16 Ноя 2008 22:54:12)

0

203

И тишина! Вариант сделать или нет

0

204

У меня такой вопрос... Надеюсь, что вы на него ответите. Вообщем так: Я хочу поставить на форум дополнительные цвета. Но мне нужно, что-бы они отображались только модерам и админам и что-бы это было не под формой ответа, а как доп. кнопка. (т.е. на подобии модераторских тегов)

Вот код с готовыми цветами:

Код:
<table><tr>
<td onclick="return changeVisibility('mycolor', this)"><img src="http://img213.imageshack.us/img213/9723/colorswatchpy3.png" alt="Дополнительные цвета" /></td></tr></table>
<div class="container" id="mycolor" style="display:none; width:200px">
	<table cellspacing="0">
<tr>
<td style="background-color:#40a9ff" onclick="bbcode('[color=#40a9ff]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:mediumseagreen" Height="15px" onclick="bbcode('[color=mediumseagreen]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ff5e08" onclick="bbcode('[color=#ff5e08]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:deeppink" onclick="bbcode('[color=deeppink]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:royalblue" onclick="bbcode('[color=royalblue]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:darkorange" onclick="bbcode('[color=darkorange]', '[/color]'); return changeVisibility('mycolor', this)"></td>
</tr>
	</table>

Скажу честно, я не разбираюсь в скриптах, но попробовала сделать сама. Вот код который я "написала":

Код:
<style>
#button-cveta {background-image:url('http://s52.radikal.ru/i137/0812/73/28b25659cf62.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
if((document.getElementById("navadmin")) && (form=document.getElementById("form-buttons")))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Дополнительные цвета для модераторов' id='button-cveta'  onclick="return changeVisibility('mycolor', this)"
</script>
<div class="container" id="mycolor" style="display:none; width:200px">
	<table cellspacing="0">
<tr>
<td style="background-color:#40a9ff" onclick="bbcode('[color=#40a9ff]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:mediumseagreen" Height="15px" onclick="bbcode('[color=mediumseagreen]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ff5e08" onclick="bbcode('[color=#ff5e08]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:deeppink" onclick="bbcode('[color=deeppink]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:royalblue" onclick="bbcode('[color=royalblue]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:darkorange" onclick="bbcode('[color=darkorange]', '[/color]'); return changeVisibility('mycolor', this)"></td>
</tr>
	</table>
</div>

Я его ставлю, но ничего не происходит. Мог бы мне кто-нибудь указать на ошибки? Я взяла код тега для модераторов и код доп. цветов. Попробовала их соеденить. Возможно я сделала все очень тупо, но надеюсь на вашу поддержку. Кнопку саму хочу такую - http://s52.radikal.ru/i137/0812/73/28b25659cf62.png(я вписала её в тупо написанный мною код)
Если сможете мне помочь, то буду очень благодарна. Спасибо за внимание.

0

205

А можно кнопку перетащить как нибудь на верх поля или хотябы как показано на картинке?

0

206

На днях у меня что-то странное случилось с дополнительными смайликами. Стояли они давным-давно и хорошо работали. Ни каких новых скриптов я не ставила и ни чего на форуме не меняла. И вдруг ни с того, ни с сего вместо моих смайликов зеленый квадрат Малевича. Вот так иэто выглядит сейчас (там, где зеленый квадрат, раньше было много смайлов)
https://forumupload.ru/uploads/0000/0b/62/148646-2-f.jpg

Что это может быть, не подскажете?

0

207

тоже самое и у меня на форуме, пришлось удалить смайлы

0

208

Я так и подумала, что это общая какая-то ошибка. Только почему все молчат? У меня одновременно с этим еще на кнопке яндекс-цитирования пропала цифра
Что за беда такая?

0

209

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

И будет это все дело выглядеть примерно так

что мешает заменить слово в скрипте!?
найдите этот кусочек и замените слово Спойлер на ФИГНЮ!! или что вам хочется.. :D

function makeSpoiler(txt){
txt="<div class=quote-box style='padding:1px'><cite style='width:100%'>ФИГНЯ<input style='width:60px;margin-left:70%;font-size:10px;' type='button' value='Показать' onclick='hideSpoiler

0

210

Ну подскажите, что со скриптом случилось, а?

Код:
<style type="text/css">
#button-smiles {background-image:url(http://i023.radikal.ru/0803/08/fdbc38516395.gif); background-repeat: no-repeat; margin-left: 13рх}

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


smiles.push("http://doodoo.ru/smiles/wo/s34.gif")
smiles.push("http://www.kolobok.us/smiles/standart/smoke.gif")
smiles.push("http://casa-latina.ru/s/s/icon_web7.gif")
smiles.push("http://s9.rimg.info/1503450350a79dce71a4e176762aff3f.gif")
smiles.push("http://casa-latina.ru/s/s/icon_smiley094.gif")
smiles.push("http://www.mistikaalla.com/forum/uploads//post-104-1176315870.gif")
smiles.push("http://doodoo.ru/smiles/wo/cook.gif")
smiles.push("http://casa-latina.ru/s/s/icon_smiley093.gif")
smiles.push("http://doodoo.ru/smiles/wo/encore.gif")
smiles.push("http://doodoo.ru/smiles/wo/expect.gif")
smiles.push("http://funportal.info/smiles/smile146.gif")
smiles.push("http://fun.nashcat.ru/smiles/tsmile/eat/m0598.gif")
smiles.push("http://www.kolobok.us/smiles/standart/boast.gif")
smiles.push("http://doodoo.ru/smiles/wo/crash.gif")
smiles.push("http://www.kolobok.us/smiles/standart/pleasantry.gif")
smiles.push("http://www.kolobok.us/smiles/standart/snooks.gif")
smiles.push("http://www.kolobok.us/smiles/standart/no2.gif")
smiles.push("http://www.kolobok.us/smiles/standart/secret.gif")
smiles.push("http://www.kolobok.us/smiles/standart/aggressive.gif")
smiles.push("http://www.kolobok.us/smiles/standart/not_i.gif")
smiles.push("http://www.kolobok.us/smiles/standart/blush.gif")
smiles.push("http://www.kolobok.us/smiles/standart/acute.gif")
smiles.push("http://www.kolobok.us/smiles/standart/fool.gif")
smiles.push("http://www.kolobok.us/smiles/standart/i-m_so_happy.gif")
smiles.push("http://www.kolobok.us/smiles/standart/swoon.gif")
smiles.push("http://www.kolobok.us/smiles/standart/party.gif")
smiles.push("http://www.kolobok.us/smiles/standart/beee.gif")
smiles.push("http://www.kolobok.us/smiles/standart/yu.gif")
smiles.push("http://www.kolobok.us/smiles/standart/friends.gif")
smiles.push("http://www.kolobok.us/smiles/standart/blum2.gif")
smiles.push("http://www.kolobok.us/smiles/standart/dntknw.gif")
smiles.push("http://www.kolobok.us/smiles/standart/punish.gif")
smiles.push("http://www.kolobok.us/smiles/standart/smile3.gif")
smiles.push("http://www.kolobok.us/smiles/standart/dance.gif")
smiles.push("http://www.kolobok.us/smiles/standart/bad.gif")
smiles.push("http://www.kolobok.us/smiles/standart/cray.gif")
smiles.push("http://www.kolobok.us/smiles/standart/wink3.gif")
smiles.push("http://www.kolobok.us/smiles/standart/sorry.gif")
smiles.push("http://www.kolobok.us/smiles/standart/kiss.gif")
smiles.push("http://www.kolobok.us/smiles/standart/good.gif")
smiles.push("http://www.kolobok.us/smiles/standart/yahoo.gif")
smiles.push("http://www.kolobok.us/smiles/standart/nea.gif")
smiles.push("http://www.kolobok.us/smiles/standart/rofl.gif")
smiles.push("http://www.kolobok.us/smiles/standart/derisive.gif")
smiles.push("http://www.kolobok.us/smiles/standart/lazy.gif")
smiles.push("http://www.kolobok.us/smiles/standart/thank_you.gif")
smiles.push("http://www.kolobok.us/smiles/standart/yes.gif")
smiles.push("http://www.kolobok.us/smiles/standart/dance4.gif")
smiles.push("http://www.kolobok.us/smiles/standart/yes3.gif")
smiles.push("http://www.kolobok.us/smiles/standart/drinks.gif")
smiles.push("http://www.kolobok.us/smiles/standart/clapping.gif")
smiles.push("http://s3.rimg.info/60e5b04866d90e6324fc14d0ab03e193.gif")
smiles.push("http://www.kolobok.us/smiles/standart/pardon.gif")
smiles.push("http://www.kolobok.us/smiles/standart/swoon2.gif")
smiles.push("http://www.kolobok.us/smiles/standart/sad.gif")
smiles.push("http://www.kolobok.us/smiles/standart/don-t_mention.gif")
smiles.push("http://www.kolobok.us/smiles/standart/victory.gif")
smiles.push("http://www.kolobok.us/smiles/standart/scare2.gif")
smiles.push("http://www.kolobok.us/smiles/standart/yes2.gif")
smiles.push("http://www.kolobok.us/smiles/rpg/king.gif")
smiles.push("http://s8.rimg.info/d2d9c61661288a3606417bb24dcc265b.gif")
smiles.push("http://www.kolobok.us/smiles/rpg/queen.gif")
smiles.push("http://www.kolobok.us/smiles/rpg/king2.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/suicide_fool-edit.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/man_in_love.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/girl_crazy.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/girl_wacko.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/dash2.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/wacko2.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/girl_hospital.gif")
smiles.push("http://www.kolobok.us/smiles/madhouse/mail1.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/curtsey.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_blum2.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/give_heart.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_witch.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/hysteric.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_hide.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/parting.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_dance.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_cray.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_sigh.gif")
smiles.push("http://s9.rimg.info/45d296af09b36683bdb03b306506e82e.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/give_rose.gif")
smiles.push("http://fun.nashcat.ru/smiles/msmile/fun/m0152.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_in_love.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_haha.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_cray2.gif ")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_impossible.gif ")
smiles.push("http://www.kolobok.us/smiles/he_and_she/spruce_up.gif ")
smiles.push("http://www.kolobok.us/smiles/light_skin/give_heart2.gif ")
smiles.push("http://fun.nashcat.ru/smiles/msmile/animal/m1814.gif")
smiles.push("http://www.kolobok.us/smiles/big_madhouse/wacko3.gif ")
smiles.push("http://www.kolobok.us/smiles/artists/vishenka/l_hug.gif ")
smiles.push("http://i039.radikal.ru/0802/32/1ecd890fbd09.gif")
smiles.push("http://s.rimg.info/76609ad7ca2d11817fa97bc5231b0965.gif")
smiles.push("http://www.kolobok.us/smiles/user/moinmoin_01.gif ")
smiles.push("http://doodoo.ru/smiles/wo/s24.gif")
smiles.push("http://www.kolobok.us/smiles/user/KidRock_06.gif ")
smiles.push("http://[назойливая реклама]/05/girl_blush.gif ")
smiles.push("http://[назойливая реклама]/05/girl_cry.gif ")
smiles.push("http://[назойливая реклама]/01/girl_angel.gif ")
smiles.push("http://fun.nashcat.ru/smiles/msmile/pozitive/m1063.gif")
smiles.push("http://[назойливая реклама]/03/kiss.gif")
smiles.push("http://s5.rimg.info/a871d0a789e1de16896c111b159d5d5d.gif")
smiles.push("http://[назойливая реклама]/02/greengrocer.gif")
smiles.push("http://[назойливая реклама]/01/037.gif")
smiles.push("http://[назойливая реклама]/03/woodpecker.gif")
smiles.push("http://[назойливая реклама]/03/booze.gif")
smiles.push("http://[назойливая реклама]/03/chupachups.gif")
smiles.push("http://[назойливая реклама]/01/039.gif")
smiles.push("http://s9.rimg.info/ca92124f75f67cd09ab3ed9d4df29dfe.gif")
smiles.push("http://s8.rimg.info/31de369cff30c8d259395fbd50f4e52f.gif")
smiles.push("http://s8.rimg.info/c3ca2590ebd73942f5dad2754de1a374.gif")
smiles.push("http://funportal.info/smiles/smile66.gif")
smiles.push("http://s7.rimg.info/00d3b01c3604095f552bf20667af2e58.gif")
smiles.push("http://www.mistikaalla.com/forum/uploads//post-104-1176233124.gif")
smiles.push("http://www.mistikaalla.com/forum/uploads//post-10-1175968673.gif")
smiles.push("http://www.doodoo.ru/smiles/min/m025.gif")
smiles.push("http://fun.nashcat.ru/smiles/msmile/card/m1540.gif")
smiles.push("http://s.rimg.info/f325950a4c405129073ea4913b1e50dc.gif ")
smiles.push("http://fun.nashcat.ru/smiles/tsmile/illness/t2510.gif")
smiles.push("http://fun.nashcat.ru/smiles/msmile/love/m0603.gif")
smiles.push("http://www.industreal.spb.ru/smiles/tea.gif")
smiles.push("https://forumupload.ru/uploads/0000/0b/62/21485-1.gif")
smiles.push("http://www.kolobok.us/smiles/he_and_she/girl_pinkglassesf.gif")
smiles.push("http://forum.hobbyportal.ru/images/smiles/dance2.gif")
smiles.push("https://forumupload.ru/uploads/0000/14/1c/360495-1.gif")




var msg = new String("")
msg = "<html><head><TITLE><Смайлы></TITLE></head>\r\n"
msg += "<body bgcolor=#F5F5F5 >"
msg = msg + "<" + "script language=\"JavaScript\">\r\n"

msg += "function insert_smile(a){\r\n"
msg += "txt = \"[img]\"+a.src+\"[/img] \";\r\n"
msg += "window.opener. smile(txt);\r\n"
msg += "window.focus()\r\n"
msg += "return false}\r\n"

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

i=0

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

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

popup = window.open("","popDialog","height=500,width=600, scrollbars=1")
popup.document.write(msg)
popup.document.close()

return false
}
</script>
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(17).innerHTML="<img  id=\"button-smiles\" title=\"Смайлы\" onclick=\"return popwnd()\" src=\"/i/blank.gif\" />"</script>
<script>
elm=document.getElementById("form-buttons").getElementsByTagName("tr")[0].getElementsByTagName("td")
i=0
while(elm[i])
{
  str=elm[i].innerHTML
  if(str.indexOf("i/smile.png")!=-1)
    elm[i].style.display='none'
  i++
}
</script>

0

211

Все, вопрос снимается, сама разобралась - просто несколько смайликов пришлось убрать, все остальные нормально работают

0

212

Перестал работать код дополнительных цветов  :no:

Код:
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(19).innerHTML="<a onclick="return changeVisibility('mycolor', this)"> <img  title='Дополнительные цвета' src='http://i017.radikal.ru/0803/c7/21fe3b85b39c.gif'/></a>"
</script>

<div class="container" id="mycolor" style="display:none; width:900px">
	<table cellspacing="0">
<tr>
<td style="background-color:#00FF00" height="15px" width="15px" onclick="bbcode('[color=#00FF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00FF66" height="15px" width="15px" onclick="bbcode('[color=#00FF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00FFFF" height="15px" width="15px" onclick="bbcode('[color=#00FFFF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#66FF66" height="15px" width="15px" onclick="bbcode('[color=#66FF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#99FF99" height="15px" width="15px" onclick="bbcode('[color=#99FF99]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFF00" height="15px" width="15px" onclick="bbcode('[color=#CCFF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFF66" height="15px" width="15px" onclick="bbcode('[color=#CCFF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFFCC" height="15px" width="15px" onclick="bbcode('[color=#CCFFCC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFFF00" height="15px" width="15px" onclick="bbcode('[color=#FFFF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFFF99" height="15px" width="15px" onclick="bbcode('[color=#FFFF99]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00CC66" height="15px" width="15px" onclick="bbcode('[color=#00CC66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#339966" height="15px" width="15px" onclick="bbcode('[color=#339966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#6699CC" height="15px" width="15px" onclick="bbcode('[color=#6699CC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCCC66" height="15px" width="15px" onclick="bbcode('[color=#CCCC66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#009966" height="15px" width="15px" onclick="bbcode('[color=#009966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#9999FF" height="15px" width="15px" onclick="bbcode('[color=#9999FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC9933" height="15px" width="15px" onclick="bbcode('[color=#CC9933]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC66CC" height="15px" width="15px" onclick="bbcode('[color=#CC66CC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF6600" height="15px" width="15px" onclick="bbcode('[color=#FF6600]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF6666" height="15px" width="15px" onclick="bbcode('[color=#FF6666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003333" height="15px" width="15px" onclick="bbcode('[color=#003333]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003366" height="15px" width="15px" onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#0033FF" height="15px" width="15px" onclick="bbcode('[color=#0033FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#333300" height="15px" width="15px" onclick="bbcode('[color=#333300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#663399" height="15px" width="15px" onclick="bbcode('[color=#663399]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#993300" height="15px" width="15px" onclick="bbcode('[color=#993300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC3333" height="15px" width="15px" onclick="bbcode('[color=#CC3333]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF3300" height="15px" width="15px" onclick="bbcode('[color=#FF3300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF66FF" height="15px" width="15px" onclick="bbcode('[color=#FF66FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003366" height="15px" width="15px" onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF3366" height="15px" width="15px" onclick="bbcode('[color=#FF3366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#0000FF" height="15px" width="15px" onclick="bbcode('[color=#0000FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#660033" height="15px" width="15px" onclick="bbcode('[color=#660033]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#990000" height="15px" width="15px" onclick="bbcode('[color=#990000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF0000" height="15px" width="15px" onclick="bbcode('[color=#FF0000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF0066" height="15px" width="15px" onclick="bbcode('[color=#FF0066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFCCCC" height="15px" width="15px" onclick="bbcode('[color=#FFCCCC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ffcc66" height="15px" width="15px" onclick="bbcode('[color=#ffcc66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#666633" height="15px" width="15px" onclick="bbcode('[color=#666633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#cc6633" height="15px" width="15px" onclick="bbcode('[color=#cc6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#993300" height="15px" width="15px" onclick="bbcode('[color=#993300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#99ff00" height="15px" width="15px" onclick="bbcode('[color=#99ff00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#cccccc" height="15px" width="15px" onclick="bbcode('[color=#cccccc]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ffcccc" height="15px" width="15px" onclick="bbcode('[color=#ffcccc]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#336666" height="15px" width="15px" onclick="bbcode('[color=#336666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ff9999" height="15px" width="15px" onclick="bbcode('[color=#ff9999]', '[/color]'); return changeVisibility('mycolor', this)"></td>


<td style="background-color: #FF6633; height:15px" onclick="bbcode('[color=#FF6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #CC3300; height:15px " onclick="bbcode('[color=#CC3300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #660000; height:15px " onclick="bbcode('[color=#660000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #990066; height:15px " onclick="bbcode('[color=#990066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #FF3366; height:15px " onclick="bbcode('[color=#FF3366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #000066; height:15px " onclick="bbcode('[color=#000066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #003366; height:15px " onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #0033FF; height:15px " onclick="bbcode('[color=#0033FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #00CC00; height:15px " onclick="bbcode('[color=#00CC00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #669966; height:15px " onclick="bbcode('[color=#669966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #006600; height:15px " onclick="bbcode('[color=#006600]', '[/color]'); return changeVisibility('mycolor', this)"></td>

<td style="background-color: #FF6600; height:15px " onclick="bbcode('[color=#FF6600]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #CC6633; height:15px " onclick="bbcode('[color=#CC6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #FFD700; height:15px " onclick="bbcode('[color=#FFD700]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #666666; height:15px " onclick="bbcode('[color=#666666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
</tr>
	</table>
	</div>

0

213

Lili
Вы наверно пользавателям запретили выберать стиль??? http://i039.radikal.ru/0806/ec/a5ffc6d7cfd9.gif

0

214

Нет, не запрещала  :no:

0

215

А при чем тут свой стиль и код на дополнительные цвета?

0

216

Поставил код на RuTube из 124 поста:

Код:
Кнопка RuTube(Все браузеры)
<style>
#button-rutube {background-image:url('http://img227.imageshack.us/img227/9287/rutubepp0.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Вставить RuTube' id='button-rutube'  onclick=\"bbcode('[rutube1]', '[/rutube1]');\"/>"
</script>

Потом установил ссылку на RuTube, а картинки нет  только:

Код:
[rutube1] ссылка на RuTube [/rutube1]

Помогите, что я делаю не так ...

Отредактировано promoter (Ср, 24 Июн 2009 22:35:18)

0

217

Почему не работает код дополнительных цветов ? Подскажите плс...

Код:
<script type="text/javascript">
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(19).innerHTML="<a onclick="return changeVisibility('mycolor', this)"> <img  title='Дополнительные цвета' src='http://i017.radikal.ru/0803/c7/21fe3b85b39c.gif'/></a>"
</script>

<div class="container" id="mycolor" style="display:none; width:900px">
	<table cellspacing="0">
<tr>
<td style="background-color:#00FF00" height="15px" width="15px" onclick="bbcode('[color=#00FF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00FF66" height="15px" width="15px" onclick="bbcode('[color=#00FF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00FFFF" height="15px" width="15px" onclick="bbcode('[color=#00FFFF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#66FF66" height="15px" width="15px" onclick="bbcode('[color=#66FF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#99FF99" height="15px" width="15px" onclick="bbcode('[color=#99FF99]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFF00" height="15px" width="15px" onclick="bbcode('[color=#CCFF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFF66" height="15px" width="15px" onclick="bbcode('[color=#CCFF66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCFFCC" height="15px" width="15px" onclick="bbcode('[color=#CCFFCC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFFF00" height="15px" width="15px" onclick="bbcode('[color=#FFFF00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFFF99" height="15px" width="15px" onclick="bbcode('[color=#FFFF99]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#00CC66" height="15px" width="15px" onclick="bbcode('[color=#00CC66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#339966" height="15px" width="15px" onclick="bbcode('[color=#339966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#6699CC" height="15px" width="15px" onclick="bbcode('[color=#6699CC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CCCC66" height="15px" width="15px" onclick="bbcode('[color=#CCCC66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#009966" height="15px" width="15px" onclick="bbcode('[color=#009966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#9999FF" height="15px" width="15px" onclick="bbcode('[color=#9999FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC9933" height="15px" width="15px" onclick="bbcode('[color=#CC9933]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC66CC" height="15px" width="15px" onclick="bbcode('[color=#CC66CC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF6600" height="15px" width="15px" onclick="bbcode('[color=#FF6600]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF6666" height="15px" width="15px" onclick="bbcode('[color=#FF6666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003333" height="15px" width="15px" onclick="bbcode('[color=#003333]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003366" height="15px" width="15px" onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#0033FF" height="15px" width="15px" onclick="bbcode('[color=#0033FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#333300" height="15px" width="15px" onclick="bbcode('[color=#333300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#663399" height="15px" width="15px" onclick="bbcode('[color=#663399]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#993300" height="15px" width="15px" onclick="bbcode('[color=#993300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#CC3333" height="15px" width="15px" onclick="bbcode('[color=#CC3333]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF3300" height="15px" width="15px" onclick="bbcode('[color=#FF3300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF66FF" height="15px" width="15px" onclick="bbcode('[color=#FF66FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#003366" height="15px" width="15px" onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF3366" height="15px" width="15px" onclick="bbcode('[color=#FF3366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#0000FF" height="15px" width="15px" onclick="bbcode('[color=#0000FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#660033" height="15px" width="15px" onclick="bbcode('[color=#660033]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#990000" height="15px" width="15px" onclick="bbcode('[color=#990000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF0000" height="15px" width="15px" onclick="bbcode('[color=#FF0000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FF0066" height="15px" width="15px" onclick="bbcode('[color=#FF0066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#FFCCCC" height="15px" width="15px" onclick="bbcode('[color=#FFCCCC]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ffcc66" height="15px" width="15px" onclick="bbcode('[color=#ffcc66]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#666633" height="15px" width="15px" onclick="bbcode('[color=#666633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#cc6633" height="15px" width="15px" onclick="bbcode('[color=#cc6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#993300" height="15px" width="15px" onclick="bbcode('[color=#993300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#99ff00" height="15px" width="15px" onclick="bbcode('[color=#99ff00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#cccccc" height="15px" width="15px" onclick="bbcode('[color=#cccccc]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ffcccc" height="15px" width="15px" onclick="bbcode('[color=#ffcccc]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#336666" height="15px" width="15px" onclick="bbcode('[color=#336666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
	<td style="background-color:#ff9999" height="15px" width="15px" onclick="bbcode('[color=#ff9999]', '[/color]'); return changeVisibility('mycolor', this)"></td>


<td style="background-color: #FF6633; height:15px" onclick="bbcode('[color=#FF6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #CC3300; height:15px " onclick="bbcode('[color=#CC3300]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #660000; height:15px " onclick="bbcode('[color=#660000]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #990066; height:15px " onclick="bbcode('[color=#990066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #FF3366; height:15px " onclick="bbcode('[color=#FF3366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #000066; height:15px " onclick="bbcode('[color=#000066]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #003366; height:15px " onclick="bbcode('[color=#003366]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #0033FF; height:15px " onclick="bbcode('[color=#0033FF]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #00CC00; height:15px " onclick="bbcode('[color=#00CC00]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #669966; height:15px " onclick="bbcode('[color=#669966]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #006600; height:15px " onclick="bbcode('[color=#006600]', '[/color]'); return changeVisibility('mycolor', this)"></td>

<td style="background-color: #FF6600; height:15px " onclick="bbcode('[color=#FF6600]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #CC6633; height:15px " onclick="bbcode('[color=#CC6633]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #FFD700; height:15px " onclick="bbcode('[color=#FFD700]', '[/color]'); return changeVisibility('mycolor', this)"></td>
<td style="background-color: #666666; height:15px " onclick="bbcode('[color=#666666]', '[/color]'); return changeVisibility('mycolor', this)"></td>
</tr>
	</table>
	</div>

0

218

Подскажите, пожалуйста, как сделать дополнительную кнопку с большим кол-вом смайликов?
Только поподробнее? :flag:

0

219

America
Скажите, как Ваш вопрос соотносится с этой темой?

Все вопросы и просьбы по дополнительным смайликам
Поставите в ХТМЛ-форма ответа или в ХТМЛ-низ.

0

220

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

Поставите в ХТМЛ-форма ответа или в ХТМЛ-низ.

А что поставить то? :huh:

0


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