Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.


Diễn Đàn Tổng hợp
 
Trang ChínhLatest imagesTìm kiếmĐăng kýĐăng Nhập

 

 chữ chạy to dần

Go down 
Tác giảThông điệp
Admin
Admin
Admin


Tổng số bài gửi : 139
Registration date : 25/02/2009

chữ chạy to dần Empty
Bài gửiTiêu đề: chữ chạy to dần   chữ chạy to dần Icon_minitimeMon Mar 02, 2009 7:16 pm

<SCRIPT language=JavaScript>

<!-- Begin

if (document.all) {

//Things you can alter

yourLogo = " E-chip tin Hoc Nhu Com Binh dan"; //Not less than 2 letters!

logoFont = "Verdana";

logoColor = "#FF6600";

//Nothing needs altering below!

yourLogo = yourLogo.split('');

L = yourLogo.length;

TrigSplit = 360 / L;

Sz = new Array()

logoWidth = 50;

logoHeight = -30;

ypos = 0;

xpos = 0;

step = 0.10;

currStep = 0;

document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');

for (i = 0; i < L; i++) {

document.write('<div id="ie" style="position:absolute;top:0px;left:0px;'

+'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;'

+'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>');

}

document.write('</div></div>');

function Mouse() {

ypos = event.y;

xpos = event.x - 5;

}

document.onmousemove=Mouse;

function animateLogo() {

outer.style.pixelTop = document.body.scrollTop;

for (i = 0; i < L; i++) {

ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180);

ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180);

Sz[i] = ie[i].style.pixelTop - ypos;

if (Sz[i] < 5) Sz[i] = 5;

ie[i].style.fontSize = Sz[i] / 1.7;

}

currStep -= step;

setTimeout('animateLogo()', 20);

}

window.onload = animateLogo;

}

// End -->

</SCRIPT>__________________
Về Đầu Trang Go down
https://ytuong.forumvi.com
 
chữ chạy to dần
Về Đầu Trang 
Trang 1 trong tổng số 1 trang
 Similar topics
-
» Photoshop - Chữ Cháy ( Chữ Lửa )
» Chữ chạy hình rồng
» Fix English Study 4 - Chạy không cần đĩa
» chữ chạy trong thanh trạng thái
» [Phiên bản 44]Hướng dẫn AutoTarget(Có thể đánh chay)+Vu Linh(Update5/2

Permissions in this forum:Bạn không có quyền trả lời bài viết
 :: Chia sẻ kiến thức :: Lập trình-
Chuyển đến