VI_TUONG_LAI
CHIA SẺ KIẾN THỨC - HỌC TẬP CÙNG NHAU - GIAO LƯU BỐN PHƯƠNG - GIÁO DỤC CON TRẺ !
Gốc > VỌC VUI >

CODE cbox

CODE cbox vệ tinh 
<a style="position: fixed; top: 10px; left: 9px;" href="http://ducthieu.webs.com/CSYT.htm" title="ĐỨC THIỆU XIN NGHE !" target="_blank"><img src="http://d2.violet.vn/uploads/resources/606/vetinh.gif" height="80" width="80"></a>
 
CODE cbox "nút" OPEN CBOX
<script type="text/javascript">
var cbvis = false;
var cbload = false;

function togglecbox () {
var cbdiv = document.getElementById("cboxdiv");
var cbbut = document.getElementById("cboxbutton");

if (!cbvis) {
if (!cbload) {
cbdiv.innerHTML = '<iframe frameborder="0" width="480" height="211" src="http://www2-1.cbox.ws/box/?boxid=2215036&boxtag=aegph1&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#ababab 1px solid;border-bottom:0px" id="cboxmain"><\/iframe><iframe frameborder="0" width="480" height="139" src="http://www2-1.cbox.ws/box/?boxid=2215036&boxtag=aegph1&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#ababab 1px solid;border-top:0px" id="cboxform"><\/iframe>';
cbload = true;
}
cbdiv.style.display = "block";
cbbut.innerHTML = "Close Cbox";
}
else {
cbdiv.style.display = "none";
cbbut.innerHTML = "Open Cbox";
}
cbvis = !cbvis;
}
</script><div id="cboxbutton" style=
"position: fixed; bottom: 8px; left: 16px; width: 100px; padding: 3px; text-align: center; cursor: pointer; background-color: #EDF3F7; border:#C3D7E5 1px solid;border-radius: 3px; font-family: Tahoma, sans-serif; font-size: 14px;"
onclick="togglecbox()"><b>Open Cbox</b></div>
<div id="cboxdiv" style=
"display: none; position: fixed; bottom: 48px; left: 16px; width: 100px; background: #EDF3F7; padding: 3px; line-height: 0;border:#C3D7E5 1px solid;border-radius: 3px;">
</div> 

Nhắn tin cho tác giả
Đỗ Đức Thiệu @ 09:26 10/04/2011
Số lượt xem: 978
Số lượt thích: 0 người
Avatar
AK cảm ơn Đức Thiệu đã chỉnh dùm code "NHỮNG NGƯỜI THÍCH ĐÙA" nha! 
Avatar
He he ... chuyện nhỏ mà ...!
 
Gửi ý kiến