Trang chủ Diễn đàn Đăng kí RSS
Welcome, Khách viếng thăm
[ Tin Nhắn() · Bài viết mới · Thành viên · Nội quy diễn đàn · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: calvin1412  
click vao` ảnh thì ảnh nó phóng to ra
calvin1412
NGÀY: thứ 6, 2012-07-06, 5:55 PM | bài viết # 1                                                                                                                             TẶNG QUÀ
QUÂN HÀM :  
CẤP BẬC : ĐẠI TƯỚNG

CHỨC VỤ: TỔNG GIÁM ĐỐC
BÀI VIẾT: 515
 KHIỂN TRÁCH:  ±
THANKS : 47
Status: Offline
SEX : Nam
 HUY CHƯƠNG : 9 
Load ...
CHIA SẼ :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<SCRIPT language=javascript>
// author: Nick Trevino
<!--
document.onmousemove = beSmart;
window.onload = init;
startEnlarge = 250; // The distance to start enlarging the picture at, in pixels.
enlargeTo = 200; // The number of Pixels to enlarge to.
minSize = 40; // The number of Pixels to shrink to.
centerOfPic = new Array();

// Calls the beSmart function to set each "smart" image to the correct size.
function init(){
beSmart();
}
function beSmart(){
for(i=0;i<document.images.length;i++){
if(document.images[i].className == "smart"){
mouseX = window.event.x;
mouseY = window.event.y;
imageX = document.images[i].offsetLeft + (document.images[i].width / 2);
imageY = document.images[i].offsetTop + (document.images[i].height / 2);
distance = Math.ceil(Math.sqrt(Math.pow(mouseX - imageX,2) + Math.pow(imageY - mouseY,2)));
percent = distance / startEnlarge * enlargeTo;
percent = enlargeTo - percent
if(percent > minSize){
document.images[i].style.width = percent;
document.images[i].style.height = percent;
} else {
document.images[i].style.width = minSize;
document.images[i].style.height = minSize;
}
}
}
}
// -->
</SCRIPT>
<!--
This script downloaded from www.JavaScriptBank.com
Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
-->
<IMG class=smart src="be2.gif"> <IMG  
class=smart src="be2.gif"> <IMG class=smart  
src="be2.gif"> <IMG class=smart  
src="be2.gif"> <IMG class=smart  
src="be2.gif">
<!--
This script downloaded from www.JavaScriptBank.com
Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
-->
</body>
</html>







--------->TRỜI CHO VẺ MẶT NGÔ NGỐ<---------
ĐỂ CHE ĐẬY TÍNH CHẤT KHỦNG BỐ BÊN TRONG

copy right by CALVIN ™

Bài được viết bởi:
 
 
  • Page 1 of 1
  • 1
Search: