admin [—»Sói™~]-[Ðại Ma Ðầu]
Giới tính : Chinese zodiac : Bài viết : 1042 Xu : 158 Thanked : 650 Sinh Nhật : 20/09/1990 Tham Gia : 15/07/2011 Tuổi : 33 Yahoo : Hà Nội Nghề Nghiệp : Giáo Sư Status : hgfggggggggggggg
Character sheet Tài Sản:
| Tiêu đề: Nút Thu/Phóng video Youtube Fri Aug 26, 2011 9:28 pm | |
| Thêm vào đầu Templates - viewtopic_body: Kiểu 1 - Thay đổi kích thước đồng loạt - baivong.tk CODE - 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'); jQuery('.postbody #bvvi').click(function() { jQuery('.postbody #bvvi').toggleClass('ytb-2'); jQuery('.postbody embed').toggleClass('bytbv'); }); });</script> Kiểu 2 - Thay đổi kích thước riêng lẻ - vk CODE - Code:
-
<style type="text/css"> .ytb,.ytbc{ background: transparent url(http://i24.servimg.com/u/f24/16/04/03/80/zoomin10.gif) no-repeat; height: 32px; width: 32px} .ytbc { background-image: url(http://i24.servimg.com/u/f24/16/04/03/80/zoomou11.gif) } .bytbv{ width: 640px; height: 390px} </style> <script type="text/javascript"> $(function(){ $('<div class="ytb"></div>').insertBefore('.postbody embed'); $('.postbody .ytb').click(function() { $(this).toggleClass('ytbc'); $(this).next().toggleClass('bytbv'); }); }); </script> Demo: CODE:CHỌN NỘI DUNG [You must be registered and logged in to see this link.] | |
|