Tue Jan 04, 2011 2:16 pm
- Code:
<html><head>
<link rel="icon" href="http://i963.photobucket.com/albums/ae115/nhombantoi/iconbbt.png" type="image/jpg" >
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Welcome To BBT4u</title>
<style>
a:link,a:active,a:visited {
text-decoration: none !important;
}
</style>
<script language="JavaScript">
<!--
hexa = new Array(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";
function hex(i)
{
if (i < 0)
return "00";
else if (i > 255)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];
}
function setbgColor(r, g, b)
{
document.bgColor = "#"+hex(r)+hex(g)+hex(b);
}
// 1 -- white --> black
// -1 -- black --> white
var inc = 1;
var cur_i = 20;
var max_step = 20;
var in_progress = false;
function msover()
{
inc = -1;
if( !in_progress )
step();
}
function msout()
{
inc = 1;
if( !in_progress )
step();
}
function step()
{
// alert(document.bgColor);
setbgColor( Math.floor(255 * cur_i / max_step),
Math.floor(255 * cur_i / max_step),
Math.floor(255 * cur_i /max_step) );
// alert("2:" + document.bgColor);
cur_i += inc;
if( (inc > 0 && cur_i > max_step) || (inc < 0 && cur_i < 0) )
{
cur_i -= inc;
inc = -inc;
in_progress = false;
}
else
{
in_progress = true;
setTimeout("step()", 3);
}
}
// -->
</script></head><body alink="#1b1b1b" bgcolor="#ffffff" text="black" vlink="#1b1b1b" link="#1b1b1b">
<table border="0" width="100%" height="100%">
<tbody><tr>
<td>
<p align="center">
<a
href="http://banbetoi.forumotion.com" target="_blank"
onclick="window.open("http://bbt4u.co.cc/forum.htm");"
onmouseover="msover()" onmouseout="msout()"><img
src="http://i26.servimg.com/u/f26/14/46/66/30/bbt10.png"
border="0"></a>
<br>
<br>
<font
color="white" size="7" face="Arial"><b>-=[ Click vô để vào
diễn đàn ]=-</b></font>
<br>
<font
size="-3" face="Arial"><b>Welcome To BBT4u - Chúc các bạn có
những giây phút vui vẻ trong diễn đàn.</b></font> <br>
<font
size="-10" face="Arial"><a href="http://www.forum-viet.net"
target="_blank">Forum-viet.net</a></font>
</p></td></tr>
</tbody></table>
</body></html>