[spoiler={TEXT1}]{TEXT2}[/spoiler]
<div style='width: 99%; border: 1px dotted #aaaaaa; border-left: 4px solid #aaaaaa;'>
<script type="text/javascript">//<![CDATA[
if(!_s_id)
{
var _s_id = 0;
var sp_title = "";
function switch_spoiler(id, title)
{
if(document.getElementById("sp_d_" + id).style.display == "block")
{
document.getElementById("sp_a_" + id).innerHTML = title + " ▼ показать";
document.getElementById("sp_d_" + id).style.display = "none";
}
else
{
document.getElementById("sp_a_" + id).innerHTML = title + " ▲ свернуть";
document.getElementById("sp_d_" + id).style.display = "block";
}
}
}
_s_id++;
document.write("<div id='sp_a_" + _s_id + "' onclick='switch_spoiler(" + _s_id + ", \"{TEXT1}\");' style='vertical-align: middle; height: 30px; line-height: 30px; padding-left:10px; background-color: #fff; cursor: hand;'>{TEXT1} ▼ показать</div><div id='sp_d_" + _s_id + "' style='display: none; min-height: 25px; background-color: transparent; padding-left:10px; padding-top:5px; padding-bottom:5px;'>");
//]]></script>
{TEXT2}</div></div>
[sp={TEXT1}]{TEXT2}[sp={TEXT3}]{TEXT4}[/sp][/sp]
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>{TEXT1}</b> <input type="button" value="Показать" style="width:65px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Скрыть'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Показать'; }" /></div><div class="quotecontent"><div style="display: none;"><div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>{TEXT3}</b> <input type="button" value="Показать" style="width:65px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Скрыть'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Показать'; }" /></div><div class="quotecontent"><div style="display: none;">{TEXT4}</div></div></div></div></div></div>
[sp=Название}][sp=Название 2 сполера]Текст[/sp][/sp]
[sp=Сладкая][sp=Вкусная]Малина[/sp][/sp]
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 6