Tâm trạng hàng ngày | Hạnh phúc 2-7-2025 09:43 PM |
|---|
Đã viết: 13 ngày [LV.3]Spam 3
|
Mời bạn đăng ký để giao lưu kết bạn nhé <3
Bạn phải đăng nhập để xem được nội dung, nếu bạn chưa có tài khoản? hãy Đăng ký
x
Có chức năng đóng mở, chèn trong template FORUMHOME, trên đoạn:
- <!-- what's going on box -->
Sao chép mã chèn cái này vào<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" bgcolor="#FFFFFF">
<tr>
<td align="right">
<script language="javascript">
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca;
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function eraseCookie(name) {
createCookie(name,"",-1);
}
if (readCookie('music') == 'off'){
document.write('<br><a href="#" onClick="eraseCookie(\'music\'); window.location.reload();">Bật chương trình Radio Online</a>');
}
else {
document.write('<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="Mediaplayer" id="Mediaplayer" align="bottom" height="63" width="100%">');
document.write('<param name="URL" value="[color="Red"]http://salegames.org/TeenV-Club/radio/4-10/weekend-4-10.asx">');
document.write('<PARAM NAME="Enabled" VALUE="1">');
document.write('<param name="VOLUME" value="50">');
document.write('<param name="PLAYCOUNT" value="50">');
document.write('<param name="autoStart" value="true">');
document.write('<param name="currentMarker" value="0">');
document.write('<param name="invokeURLs" value="-1">');
document.write('<embed type="audio/mpeg" src="[color="Red"]http://salegames.org/TeenV-Club/radio/4-10/weekend-4-10.asx" name="Mediaplayer" showstatusbar="1" playcount="2" enablecontextmenu="0" align="bottom" height="63" width="100%">');
document.write('</object>');
document.write('<br><a href="#" onClick="createCookie(\'music\',\'off\',1); window.location.reload();">Tắt chương trình Radio Online</a>');
}
</script>
</td>
</tr>
</table>
Thay cái link mầu đỏ = link nhạc của bạn |
|