Se poate un cod de fragment!

Pentru întrebări legate de facilităţile forumului phpBB 3.0.x, acest loc este cel mai potrivit.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
Închis
TheGodFather
Utilizator înregistrat
Mesaje: 10
Membru din: 12-Aug-2009, 22:11:03
Versiune: 3.x
Ext: Nu
Server: Windows
Nivel phpBB: Puţin experimentat

Se poate un cod de fragment!

Mesaj de TheGodFather »

Deci as vrea un cod de fragment cum este acesta (fragment ala care inchide si deschide text...)

cum e asta
Cod BB

Cod: Selectaţi tot

[fragment]{TEXT}[/fragment]
Schimbare Html:

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>
Dar il vreau sa pot sa scriu eu text inainte de Afiseaza ...Ascunde...nu stiu daca m-ati inteles..!
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Re: Se poate un cod de fragment!

Mesaj de Muzet »

E mai sus un subiect pentru coduri BB.
Închis

Înapoi la “3.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Bing [Bot] și 1 vizitator