11a15 rules!
<script>
var pictureSrc ="dandd/hoamai.png"; //the location of the snowflakes
var pictureWidth = 30; //the width of the snowflakes
var pictureHeight = 30; //the height of the snowflakes
var numFlakes = 5; //the number of snowflakes
var downSpeed = 0.01; //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10; //the speed that the snowflakes should swing from side to side


if( typeof( numFlakes ) != 'number' || Math.round( numFlakes ) != numFlakes || numFlakes < 1 ) { numFlakes = 10; }

//draw the snowflakes
for( var x = 0; x < numFlakes; x++ ) {
if( document.layers ) { //releave NS4 bug
document.write('<layer id="snFlkDiv'+x+'"><imgsrc="'+pictureSrc+'" height="'+pictureHeight+'"width="'+pictureWidth+'" alt="*" border="0"></layer>');
} else {
document.write('<div style="position:absolute;"id="snFlkDiv'+x+'"><img src="'+pictureSrc+'"height="'+pictureHeight+'" width="'+pictureWidth+'" alt="*"border="0"></div>');
}
}

//calculate initial positions (in portions of browser window size)
var xcoords = new Array(), ycoords = new Array(), snFlkTemp;
for( var x = 0; x < numFlakes; x++ ) {
xcoords[x] = ( x + 1 ) / ( numFlakes + 1 );
do { snFlkTemp = Math.round( ( numFlakes - 1 ) * Math.random() );
} while( typeof( ycoords[snFlkTemp] ) == 'number' );
ycoords[snFlkTemp] = x / numFlakes;
}

//now animate
function flakeFall() {
if( !getRefToDivNest('snFlkDiv0') ) { return; }
var scrWidth = 0, scrHeight = 0, scrollHeight = 0, scrollWidth = 0;
//find screen settings for all variations. doing this every time allows for resizing and scrolling
if( typeof( window.innerWidth ) == 'number' ) { scrWidth = window.innerWidth; scrHeight = window.innerHeight; } else {
if( document.documentElement && (document.documentElement.clientWidth ||document.documentElement.clientHeight ) ) {
scrWidth = document.documentElement.clientWidth; scrHeight = document.documentElement.clientHeight; } else {
if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
scrWidth = document.body.clientWidth; scrHeight = document.body.clientHeight; } } }
if( typeof( window.pageYOffset ) == 'number' ) { scrollHeight = pageYOffset; scrollWidth = pageXOffset; } else {
if( document.body && ( document.body.scrollLeft ||document.body.scrollTop ) ) { scrollHeight = document.body.scrollTop;scrollWidth = document.body.scrollLeft; } else {
if(document.documentElement && (document.documentElement.scrollLeft ||document.documentElement.scrollTop ) ) { scrollHeight =document.documentElement.scrollTop; scrollWidth =document.documentElement.scrollLeft; } }
}
//move the snowflakes to their new position
for( var x = 0; x < numFlakes; x++ ) {
if( ycoords[x] * scrHeight > scrHeight - pictureHeight ) { ycoords[x] = 0; }
var divRef = getRefToDivNest('snFlkDiv'+x); if( !divRef ) { return; }
if( divRef.style ) { divRef = divRef.style; } var oPix = document.childNodes ? 'px' : 0;
divRef.top = ( Math.round( ycoords[x] * scrHeight ) + scrollHeight ) + oPix;
divRef.left = ( Math.round( ( ( xcoords[x] * scrWidth ) - (pictureWidth / 2 ) ) + ( ( scrWidth / ( ( numFlakes + 1 ) * 4 ) ) * (Math.sin( lrFlakes * ycoords[x] ) - Math.sin( 3 * lrFlakes * ycoords[x]) ) ) ) + scrollWidth ) + oPix;
ycoords[x] += downSpeed;
}
}

//DHTML handlers
function getRefToDivNest(divName) {
if( document.layers ) { return document.layers[divName]; } //NS4
if( document[divName] ) { return document[divName]; } //NS4 also
if( document.getElementById ) { return document.getElementById(divName); } //DOM (IE5+, NS6+, Mozilla0.9+, Opera)
if( document.all ) { return document.all[divName]; } //Proprietary DOM - IE4
return false;
}

window.setInterval('flakeFall();',100);</script>
11a15 rules!
<script>
var pictureSrc ="dandd/hoamai.png"; //the location of the snowflakes
var pictureWidth = 30; //the width of the snowflakes
var pictureHeight = 30; //the height of the snowflakes
var numFlakes = 5; //the number of snowflakes
var downSpeed = 0.01; //the falling speed of snowflakes (portion of screen per 100 ms)
var lrFlakes = 10; //the speed that the snowflakes should swing from side to side


if( typeof( numFlakes ) != 'number' || Math.round( numFlakes ) != numFlakes || numFlakes < 1 ) { numFlakes = 10; }

//draw the snowflakes
for( var x = 0; x < numFlakes; x++ ) {
if( document.layers ) { //releave NS4 bug
document.write('<layer id="snFlkDiv'+x+'"><imgsrc="'+pictureSrc+'" height="'+pictureHeight+'"width="'+pictureWidth+'" alt="*" border="0"></layer>');
} else {
document.write('<div style="position:absolute;"id="snFlkDiv'+x+'"><img src="'+pictureSrc+'"height="'+pictureHeight+'" width="'+pictureWidth+'" alt="*"border="0"></div>');
}
}

//calculate initial positions (in portions of browser window size)
var xcoords = new Array(), ycoords = new Array(), snFlkTemp;
for( var x = 0; x < numFlakes; x++ ) {
xcoords[x] = ( x + 1 ) / ( numFlakes + 1 );
do { snFlkTemp = Math.round( ( numFlakes - 1 ) * Math.random() );
} while( typeof( ycoords[snFlkTemp] ) == 'number' );
ycoords[snFlkTemp] = x / numFlakes;
}

//now animate
function flakeFall() {
if( !getRefToDivNest('snFlkDiv0') ) { return; }
var scrWidth = 0, scrHeight = 0, scrollHeight = 0, scrollWidth = 0;
//find screen settings for all variations. doing this every time allows for resizing and scrolling
if( typeof( window.innerWidth ) == 'number' ) { scrWidth = window.innerWidth; scrHeight = window.innerHeight; } else {
if( document.documentElement && (document.documentElement.clientWidth ||document.documentElement.clientHeight ) ) {
scrWidth = document.documentElement.clientWidth; scrHeight = document.documentElement.clientHeight; } else {
if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
scrWidth = document.body.clientWidth; scrHeight = document.body.clientHeight; } } }
if( typeof( window.pageYOffset ) == 'number' ) { scrollHeight = pageYOffset; scrollWidth = pageXOffset; } else {
if( document.body && ( document.body.scrollLeft ||document.body.scrollTop ) ) { scrollHeight = document.body.scrollTop;scrollWidth = document.body.scrollLeft; } else {
if(document.documentElement && (document.documentElement.scrollLeft ||document.documentElement.scrollTop ) ) { scrollHeight =document.documentElement.scrollTop; scrollWidth =document.documentElement.scrollLeft; } }
}
//move the snowflakes to their new position
for( var x = 0; x < numFlakes; x++ ) {
if( ycoords[x] * scrHeight > scrHeight - pictureHeight ) { ycoords[x] = 0; }
var divRef = getRefToDivNest('snFlkDiv'+x); if( !divRef ) { return; }
if( divRef.style ) { divRef = divRef.style; } var oPix = document.childNodes ? 'px' : 0;
divRef.top = ( Math.round( ycoords[x] * scrHeight ) + scrollHeight ) + oPix;
divRef.left = ( Math.round( ( ( xcoords[x] * scrWidth ) - (pictureWidth / 2 ) ) + ( ( scrWidth / ( ( numFlakes + 1 ) * 4 ) ) * (Math.sin( lrFlakes * ycoords[x] ) - Math.sin( 3 * lrFlakes * ycoords[x]) ) ) ) + scrollWidth ) + oPix;
ycoords[x] += downSpeed;
}
}

//DHTML handlers
function getRefToDivNest(divName) {
if( document.layers ) { return document.layers[divName]; } //NS4
if( document[divName] ) { return document[divName]; } //NS4 also
if( document.getElementById ) { return document.getElementById(divName); } //DOM (IE5+, NS6+, Mozilla0.9+, Opera)
if( document.all ) { return document.all[divName]; } //Proprietary DOM - IE4
return false;
}

window.setInterval('flakeFall();',100);</script>
11a15 rules!
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.


Nơi dành cho tất cả mem 11a15 và các a khác có thể tự do 8 hay up bất cứ gì mình thích :)
 
Trang ChínhTìm kiếmLatest imagesĐăng kýĐăng Nhập

Share|
Tiêu đề

Hình Germany A15 ^^

Xem chủ đề cũ hơn Xem chủ đề mới hơn Go down
Tác giảThông điệp

marko-prinz
Chém gió tướng quân

marko-prinz

Tổng số bài gửi : 57
Points : 120
Reputation : 0
Join date : 29/01/2011
Age : 28
Đến từ : S.I.P
Tài năng của marko-prinz
Hạng: Chém gió tướng quân
Level:57
Tài năng:/300

Bài gửiTiêu đề: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeTue Feb 01, 2011 9:39 pm

Hình Germany A15 ^^ Ap201011110635428991

Phát ĐB và một nhân vật bí ẩn đằng sau đang làm 1 động tác cũng bí ẩn ko kém :))

Hình Germany A15 ^^ Ap201011110635416331

Vinh đen - Schweinsteiger. Có ai thấy anh Phát đang sờ cái j ko nhỉ =)) ai đó bên a1 đứng dựa cột nhìn đẹp wá :x

Hình Germany A15 ^^ Ap201011110635296571
Nhân Berbatov nhổ nước miếng gớm wá =))

Hình Germany A15 ^^ Ap201011110635351601

Móa nó! Đá như cc!

Hình Germany A15 ^^ Ap201011110635364841

Marko đẹp trai dễ thương nèk ^^ đằng sau là Tommy Thiện a16 thì phải :-?

Hình Germany A15 ^^ Ap201011110635298591
Những tư thế kỳ lạ :)

Hình Germany A15 ^^ Ap201011110635481441

Tấn Ki rĩa hàng anh Vinh =))

Hãy cảm ơn bài viết của marko-prinz bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

Ant.B
Chém gió tướng quân

Ant.B

Tổng số bài gửi : 54
Points : 80
Reputation : 0
Join date : 01/02/2011
Age : 29
Đến từ : Chiều không gian thứ 4
Tài năng của Ant.B
Hạng: Chém gió tướng quân
Level:54
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeWed Feb 02, 2011 9:19 am

Hành động bí ẩn của bạn P là gì vậy =]] =]]

Hãy cảm ơn bài viết của Ant.B bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

marko-prinz
Chém gió tướng quân

marko-prinz

Tổng số bài gửi : 57
Points : 120
Reputation : 0
Join date : 29/01/2011
Age : 28
Đến từ : S.I.P
Tài năng của marko-prinz
Hạng: Chém gió tướng quân
Level:57
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeThu Feb 03, 2011 10:01 pm

2 bức dính hình a Phát đều có những tư thế lạ lùng :))

Hãy cảm ơn bài viết của marko-prinz bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

pOpZ
Vô danh

pOpZ

Tổng số bài gửi : 19
Points : 22
Reputation : 0
Join date : 03/02/2011
Age : 30
Đến từ : 11A1
Tài năng của pOpZ
Hạng: Vô danh
Level:19
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeFri Feb 04, 2011 5:19 am

Hình như cái bạn dựa cột đợp trai là mình jhfg jhfg jhfg
Hi all. Thần gió đã tham gia 4rum đây ag ag

Hãy cảm ơn bài viết của pOpZ bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

Zd0jk0n
Chém gió tướng quân

Zd0jk0n

Tổng số bài gửi : 33
Points : 59
Reputation : 0
Join date : 30/01/2011
Age : 30
Đến từ : 11a15
Tài năng của Zd0jk0n
Hạng: Chém gió tướng quân
Level:33
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeFri Feb 04, 2011 12:52 pm

hình ai chụp mà đẹp zữ zạ! :)) công tui đội nắng đó nha! kaka tk tui chưa!

Hãy cảm ơn bài viết của Zd0jk0n bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

kidgang_langtu215
Vô danh

kidgang_langtu215

Tổng số bài gửi : 11
Points : 16
Reputation : 0
Join date : 05/02/2011
Age : 29
Tài năng của kidgang_langtu215
Hạng: Vô danh
Level:11
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeSat Feb 05, 2011 8:59 pm

ChAo` mAy' chiEn' hUu~
Tu. gioi' thjEu.: thAnh` vjen^ dEp. trAi nhAt' d0i. b0ng'A15 dAy hoho Hình Germany A15 ^^ 834248

[quote="marko-prinz"]Hình Germany A15 ^^ Ap201011110635428991

Mien~ bjh` luan

Hãy cảm ơn bài viết của kidgang_langtu215 bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

A.che
Vô danh

Tổng số bài gửi : 3
Points : 4
Reputation : 0
Join date : 12/02/2011
Age : 29
Tài năng của A.che
Hạng: Vô danh
Level:3
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitimeSat Feb 12, 2011 10:29 pm

Hình Germany A15 ^^ 827271 hinh nhu con` thieu' anh. anh cung co ao' GERMANY ma Hình Germany A15 ^^ 834248 Hình Germany A15 ^^ 125755

Hãy cảm ơn bài viết của A.che bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

Sponsored content

Tài năng của Sponsored content
Hạng:
Level:
Tài năng:/300

Bài gửiTiêu đề: Re: Hình Germany A15 ^^ Hình Germany A15 ^^ Icon_minitime

Hãy cảm ơn bài viết của Sponsored content bằng cách bấm vào"" nhé!!!

Về Đầu Trang Go down

Tiêuđề

Hình Germany A15 ^^

Xem chủ đề cũ hơn Xem chủ đề mới hơn Về Đầu Trang
Trang 1 trong tổng số 1 trang
::.
Permissions in this forum:Bạn không có quyền trả lời bài viết
11a15 rules! :: Clan, Group, Fan Club,.... :: A15's men football club-