2012-07-10, 08:16 AM
Hello!
Please rework this BBCode at MyCode with the same appearance:
...and I would ask how to enable immediate redirect to the index after login / log out, no windows, "You are logged in, logged out, you will forwarding to the main page ..."
Thank you, best regards.
Please rework this BBCode at MyCode with the same appearance:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
<b>Spoiler</b>: <input type="button" value="Pokaż" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].innerHTML != '')
{
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].innerHTML = '';
this.value = 'Pokaż';
}
else
{
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].innerHTML = this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[1].innerHTML;
this.value = 'Ukryj';
}; return false;
">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div></div><div style="display:none;">{TEXT}</div>
</div>
</div>
...and I would ask how to enable immediate redirect to the index after login / log out, no windows, "You are logged in, logged out, you will forwarding to the main page ..."
Thank you, best regards.