1998년 개설되어 24년의 역사를 자랑하는 대다모의 뿌리깊은 탈모커뮤니티 대다모의 우리들의 이야기게시판입니다.

탈모와 관련된 자유로운 글을 올리는 공간입니다.

지난 주 댓글 랭킹

  • 1등 회원등급 K5041298252
  • 2등 회원등급 K39623145472503141814
  • 3등 회원등급 K5036216394
  • 4등 회원등급 K5039510942
  • 5등 회원등급 우리사는이곳
  • 6등 회원등급 천억만벌자
  • 7등 회원등급 audryman
  • 8등 회원등급 K5005793852
  • 9등 회원등급 괜히사서고생
  • 10등 회원등급 K5036139709

[게임]토요일 여전히 심심~하신분들... 한판하시져...

  • 25년 전

  • 873
0

<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var pics = new Array();
for (i = 0; i <= 18; i++) {
pics[i] = new Image();
pics[i].src = 'http://korea.internet.com/images/javascript/javascript_image' + i + '.gif';
}
var map=new Array(1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18);
var user = new Array();
var temparray = new Array();
var clickarray = new Array(0, 0);
var ticker, sec, min, ctr, id, oktoclick, finished;
function init() {
clearTimeout(id);
for (i = 0; i <= 35 ;i++) {
user[i] = 0;
}
ticker = 0;
min = 0;
sec = 0;
ctr = 0;
oktoclick = true;
finished = 0;
document.f.b.value = "";
scramble();
runclk();
for (i = 0; i <= 35; i++) {
document.f[('img'+i)].src = "http://korea.internet.com/images/javascript/javascript_image0.gif";
}
}
function runclk() {
min = Math.floor(ticker/60);
sec = (ticker-(min*60))+'';
if(sec.length == 1) {sec = "0"+sec};
ticker++;
document.f.b.value = min+":"+sec;
id = setTimeout('runclk()', 1000);
}
function scramble() {
for (z = 0; z < 5; z++) {
for (x = 0; x <= 35; x++) {
temparray[0] = Math.floor(Math.random()*36);
temparray[1] = map[temparray[0]];
temparray[2] = map[x];
map[x] = temparray[1];
map[temparray[0]] = temparray[2];
}
}
}
function showimage(but) {
if (oktoclick) {
oktoclick = false;
document.f[('img'+but)].src = 'http://korea.internet.com/images/javascript/javascript_image'+map[but]+'.gif';
if (ctr == 0) {
ctr++;
clickarray[0] = but;
oktoclick = true;
} else {
clickarray[1] = but;
ctr = 0;
setTimeout('returntoold()', 600);
}
}
}
function returntoold() {
if ((clickarray[0] == clickarray[1]) && (!user[clickarray[0]])) {
document.f[('img'+clickarray[0])].src = "http://korea.internet.com/images/javascript/javascript_image0.gif";
oktoclick = true;
} else {
if (map[clickarray[0]] != map[clickarray[1]]) {
if (user[clickarray[0]] == 0) {
document.f[('img'+clickarray[0])].src = "http://korea.internet.com/images/javascript/javascript_image0.gif";
}
if (user[clickarray[1]] == 0) {
document.f[('img'+clickarray[1])].src = "http://korea.internet.com/images/javascript/javascript_image0.gif";
}
}
if (map[clickarray[0]] == map[clickarray[1]]) {
if (user[clickarray[0]] == 0&&user[clickarray[1]] == 0) { finished++; }
user[clickarray[0]] = 1;
user[clickarray[1]] = 1;
}
if (finished >= 18) {
alert('전부 맞추시는데 다음 시간이 걸렸습니다: '+document.f.b.value+' !');
init();
} else {
oktoclick = true;
}
}
}
// End -->
</script>
</HEAD>
<BODY OnLoad="init()">
<center>
<h4>저처럼... 주말에도 외출못해 심심들 하시져???
한번씩들 해보시길... 같은 그림 찝어내기입니다...</h4>
<form name="f">
<table cellpadding="0" cellspacing="0" border="0">
<script language="javascript">
<!-- Begin
for (r = 0; r <= 5; r++) {
document.write('<tr>');
for (c = 0; c <= 5; c++) {
document.write('<td align="center">');
document.write('<a href="javascript:showimage('+((6*r)+c)+')" onClick="document.f.b.focus()">');
document.write('<img src="http://korea.internet.com/images/javascript/javascript_image0.gif" name="img'+((6*r)+c)+'" border="0">');
document.write('</a></td>');
}
document.write('</tr>');
}
// End -->
</script>
</table>
<input type="button" value=" " name="b" onClick="init()">
</form>
</center>
</body>
</html>
☞ 성의 있는 글 하나가 큰 힘이 됩니다. 무성의 게시글,댓글은 신고바랍니다.
☞ 본 게시판에서 모발이식 수술 후기는 신고 바랍니다. (삭제 및 탈퇴)

댓글

  • 최신순
  • 추천순

    모발이식 포토&후기

    1 16

    우리동네 모발이식 병원지도

    병원지도