bbcode sploier help?
In vbb (vbulletin board) have bbcode sploier very goodSample here :http://vietvbb.vn/up/showthread.php?t=7918
How i convert to discuz?
ตอบกลับโพสของ หนึ่ง mryellow
I can't view code replacement.You copy HTML code to come to give me for can try.
I'm not excellent English :L Here is the html code for spoiler tag:<html>
<head>
<title>show/hide div</title>
<script type="Text/JavaScript">
var x;
function showDiv(x) {
if (x==1) {
spoiler.style.display = "block";
nospoiler.style.display = "none";
}else{
spoiler.style.display = "none";
nospoiler.style.display = "block";
}
}
</script>
<body>
<div id="spoiler" style="display:none;">
This is the spoiler text.<br />
<button type="button" onclick="showDiv(0)";><font color="#000000" size="1"><b>Hide Spoiler</b></font></button>
</div>
<div id="nospoiler" style="display:block;">
Click button to see the spoiler.<br />
<button type="button" onclick="showDiv(1)";><font color="#000000" size="1"><b>Show Spoiler</b></font></button>
</div>
</body>
</html>the tag code or bbcode shoud be like this
Credit
http://www.webdeveloper.com/forum/showthread.php?t=156789
I hope acaz can help us to make this bbcode for discuz , thanks before ((12))
[ แก้ไขล่าสุด icemen เมื่อ 2008-12-12 20:22 ] VietVBB for vietnamese
You can try
# Title: Spoiler
# Replacement:<input type="button" class="button" size="15" onClick="if(this.nextSibling.nextSibling.style.display!=''){this.nextSibling.nextSibling.style.display='';this.innerText = ''; this.value = 'Hide '; }else{this.nextSibling.nextSibling.style.display='none';this.innerText = ''; this.value='Show';}" value="Click to View"> <div class="alt2" style="margin-top:5px;border: 1px inset; padding: 2px 2px 2px 2px;display: none;">{1}</div># Example: BBCODE By Saokim999
OK man :)
Demo: Diễn đàn Yên Bái
Click button " Ấn vào để xem" ((12))
[ แก้ไขล่าสุด Saokim999 เมื่อ 2008-12-12 22:23 ] thanks Saokim999 ((08)) ((08)) hello, i wanna to ask again about this bbcode from Saokim999
this bbcode spoiler can't be consist of other icon or picture links?
if i try to use icon code inside the spoiler tag, so the spoiler tag is broken, like this i meant:adadada((04))
หน้า:
[1]