Se poate un cod de fragment!
Scris: 18-Aug-2009, 03:48:22
Deci as vrea un cod de fragment cum este acesta (fragment ala care inchide si deschide text...)
cum e asta
Cod BB
Schimbare Html:
Dar il vreau sa pot sa scriu eu text inainte de Afiseaza ...Ascunde...nu stiu daca m-ati inteles..!
cum e asta
Cod BB
Cod: Selectaţi tot
[fragment]{TEXT}[/fragment]
Cod: Selectaţi tot
<div style="padding: 3px; background-color: #000000; border: 1px solid #000000; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span 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.innerHTML = '<b>Text Ascuns: </b><a href=\'#\' onClick=\'return false;\'>Ascunde</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>Text Ascuns: </b><a href=\'#\' onClick=\'return false;\'>Afiseaza</a>'; }" /><b>Text Ascuns: </b><a href="#" onClick="return false;">Afiseaza</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT}</div></div></div>