Nguồn:CP
Display - Templates - viewtopic_body
Tìm:
Display - Templates - viewtopic_body
Tìm:
- Code:
{postrow.displayed.MESSAGE}
- Code:
<style>.h_i_d_e{display:none;}</style>
<div id="bvvi" class="h_i_d_e" onmouseover="showtip('Thay đổi<font color=yellow> kích thước</font>');" onmouseout="hidetip();" style="height: 32px; width: 32px; cursor: pointer; position: absolute; background: #FFFFFF url(http://i27.servimg.com/u/f27/14/67/90/38/bvzoom10.gif) no-repeat 0 0px;" onClick="jQuery('.postbody embed').css({'width': '425px', 'height': '350px'}); if(my_getcookie('bvvi')=='0') { my_setcookie('bvvi','1',0,0); jQuery('.postbody #bvvi').css('background-position','0 0px'); } else { my_setcookie('bvvi','0',1,0); jQuery('.postbody #bvvi').css('background-position','0 -34px');jQuery('.postbody embed').css({'width': '640px', 'height': '390px'}); }"></div>
{postrow.displayed.MESSAGE}
<script type="text/javascript">jQuery('#bvvi').insertBefore('.postbody embed').removeClass(); if(my_getcookie('bvvi')=='0') { jQuery('.postbody embed').css({'width': '640px', 'height': '390px'}); jQuery('.postbody #bvvi').css('background-position','0 -34px'); } else { jQuery('.postbody embed').css({'width': '425px', 'height': '350px'}); jQuery('.postbody #bvvi').css('background-position','0 0px'); } </script>