Thêm vào đầu Templates - viewtopic_body:
- Code:
<style>.ytb-1{background: transparent url(http://i24.servimg.com/u/f24/16/04/03/80/zoomin10.gif) no-repeat;height: 32px; width: 32px;}.ytb-2{background: transparent url(http://i24.servimg.com/u/f24/16/04/03/80/zoomou11.gif) no-repeat;height: 32px; width: 32px;}.bytbv{width: 640px; height: 390px;}</style><script type="text/javascript">$(function(){
$('<div id="bvvi" class="ytb-1"></div>').insertBefore('.postbody embed:eq(0)');$('#bvvi').click(function() {$(this).toggleClass('ytb-2');$('.postbody embed').toggleClass('bytbv');});
});</script>
Demo: http://www.08sh.tk/t422-topic
P/s: Code chưa hoàn thiện nên mong các pro giúp sức phát triển thêm.