Chenare de coduri html.
Pagina 1 din 1
Chenare de coduri html.
Aici va las un chenar de coduri html sau eventual un text.
- Cod:
<textarea name="Textt1" id="TextArea1" style="width:225px;height:139px;font-family:Copperplate Gothic Light;font-weight:bold;" rows="6" cols="20"> [color=red]AICI PUI TEXTUL </textarea>
- Cod:
<form action="texto.php" method="post">
<textarea name="eltexto" rows="10" cols="50">
AICI PUNEM TEXTUL DORIT.
</textarea>
</form>
- Cod:
<span id="Caja01" class="Caja01">CLICK PENTRU A COPIA .
</span><textarea onclick_fckprotectedatt="%20onclick%3D%22copyCaja01(document.getElementById('code01'))%3Breturn%20false%3B%22" cols="16" rows="3" id="code01">TEXTUL CARE VRETI IN CASUTA 01
- Cod:
<div align="center"><textarea rows="8" cols="15">En esta parte puede poner lo que quieras</textarea></div>
Acest cod este un fel de spoiler.
- Cod:
<div class="pre-spoiler"> <span style="float:left; padding-top: 2px;">AICI TEXTUL CARE SE VEDE PENTRU A DA CLICK</span> <input type="button" value="Arata" style="width:80px;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 = 'Inchide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.value = 'Mostrar';}"> </div> <div> <div class="spoiler" style="display: none;">AICI TOT TEXTUL CARE VREI SA IL OCOLESTI</div> </div>
Ultima editare efectuata de catre Erhard in Mier Oct 13, 2010 2:20 am, editata de 1 ori
Re: Chenare de coduri html.
Un nou cod
Ascunde textul
- Cod:
<html><head> <title>Spoiler HTML code</title> <style type="text/css">body,input { font-family:"Trebuchet ms",arial;font-size:0.9em; color:#333; }.spoiler { border:1px solid #ddd; padding:3px; }.spoiler .inner { border:1px solid #eee; padding:3px;margin:3px; } </style> <script type="text/javascript">function showSpoiler(obj) { var inner = obj.parentNode.getElementsByTagName("div")[0]; if (inner.style.display == "none") inner.style.display = ""; else inner.style.display = "none"; } </script></head><body><h1>Spoiler HTML w/Js Code by Skrap</h1><div class="spoiler"> <input type="button" onclick="showSpoiler(this);" value="Show/Hide" /> <div class="inner" style="display:none;"> This is a spoiler! </div></div></body></html>
Ascunde textul
- Cod:
><dl class="codebox" style="cursor: pointer;" onclick="this.getElementsByTagName('div')[0].style.display=((this.getElementsByTagName('div')[0].style.display=='none')?'':'none');">
<dt>Spoiler:</dt><dd><div style="display:none;"><br />lo que va entre el spoiler</div></dd></dl>
Subiecte similare
» Probeaza coduri html.
» Coduri css forum phpBB 3
» Patru coduri de imagini pe forum.
» Forme de text HTML
» Cod HTML liste
» Coduri css forum phpBB 3
» Patru coduri de imagini pe forum.
» Forme de text HTML
» Cod HTML liste
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum
|
|