PDA

View Full Version : lỗi bbcode hiden



vandt
25-05-2012, 07:40 PM
em có xài bbcode này:

<div style="margin:0px 0px 0px 0px"> <div class="smallfont" style="margin-bottom:0px">
<input type="button" value="Hiện" style="width:75px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName(' div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = '?n'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Hiện'; }">
</div>
<div style="margin: 0px; padding: 0px; border: 0px inset;">
<div style="display: none;">
{param}
</div>
</div>

tuy nhiên khi em dùng bbcode này thì không thể hiển thị được những bbcode khác nằm trong thẻ đó,
mấy pro cho em xin cái bbcode hiden mới nhé

hiện tại vấn đề đây:




http://nm2.upanh.com/b2.s27.d2/8c866cac4bc8390e82dcd8a9ff5ffdc7_45218352.untitled .png

vandt
26-05-2012, 02:12 PM
ai giúp em với nào :-s

vandt
28-05-2012, 12:11 PM
ai giúp em đi mà :sosad: