Home > Artikel & Tutorial > BBCodes Phpbb Spoiler & Youtube

BBCodes Phpbb Spoiler & Youtube

Lansung aja ya :)

Buka acp di phpbb > Posting > BBCodes
paste code berikut


Untuk Spoiler

BBCode usage:

[spoiler]{TEXT}[/spoiler]

HTML replacement:

<div style=”padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; 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>click: </b><a href=\’#\’ onClick=\’return false;\’>Tutup Spoiler</a>’; } else { this.parentNode.parentNode.getElementsByTagName(‘div’)[1].getElementsByTagName(‘div’)[0].style.display = ‘none’; this.innerHTML = ‘<b>click: </b><a href=\’#\’ onClick=\’return false;\’>Buka Spoiler</a>’; }” /><b>click: </b><a href=”#” onClick=”return false;”>Buka Spoiler</a></span></div><div><div style=”display: none;”>{TEXT}</div></div></div>

Untuk Youtube

BBCode usage:

[spoiler]{TEXT}[/spoiler]

HTML replacement:

<div style=”padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; 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>click: </b><a href=\’#\’ onClick=\’return false;\’>Tutup Spoiler</a>’; } else { this.parentNode.parentNode.getElementsByTagName(‘div’)[1].getElementsByTagName(‘div’)[0].style.display = ‘none’; this.innerHTML = ‘<b>click: </b><a href=\’#\’ onClick=\’return false;\’>Buka Spoiler</a>’; }” /><b>click: </b><a href=”#” onClick=”return false;”>Buka Spoiler</a></span></div><div><div style=”display: none;”>{TEXT}</div></div></div>

Tinggal kan pesan!!

Artikel & Tutorial , , ,

  1. No comments yet.
  1. No trackbacks yet.