오늘은 어딜 가볼까? 콤보상자 회전후 이동하기
<HTML>
<HEAD>
<TITLE> 이신디 </TITLE>
</HEAD>
<BODY>
<CENTER><H3>오늘은 어디를 가볼까? 무작정 가보자</H3></CENTER>
<!------ 아래의 방식으로 BODY 부분에 스크립트나 태그를 붙여 넣으세요 ------>
<script>
var count=0
function dothis(){
setTimeout("document.wheel.wheel2.selectedIndex =1000",100)
setTimeout("document.wheel.wheel2.selectedIndex =count",200)
setTimeout("document.wheel.wheel2.selectedIndex =1000",300)
setTimeout("document.wheel.wheel2.selectedIndex =count",400)
setTimeout("document.wheel.wheel2.selectedIndex =1000",500)
setTimeout("document.wheel.wheel2.selectedIndex =count",600)
setTimeout("window.location=document.wheel.wheel2.options[document.wheel.wheel2.selectedIndex].value",800)
}
function animate(){
var countfinal=Math.round(Math.random()*(document.wheel.wheel2.length-1))
document.wheel.wheel2.selectedIndex =count
if (count==countfinal){
dothis()
return
}
if (count<document.wheel.wheel2.length)
count++
else
count=0
setTimeout("animate()",50)
}
</script>
<p align=center>
<form method="POST" name="wheel">
<div align="center">
<center>
<p>
<select name="wheel2" size="8">
<option value="http://esindi.com">이신디</option>
<option value="http://www.imbc.com">엠비쒸 홈페이지</option>
<option value="http://www.daum.net">한메일.넷</option>
<option value="http://www.dreamwiz.com">드림위즈</option>
<option value="http://www.myfolder.net">프로그램 다운로드</option>
<option value="http://www.ahnlab.com">안철수 연구소</option>
<option value="http://www.microsoft.com">마이크로 소프트</option>
<option value="http://www.netscape.com">네츠케이프</option>
</select>
</p>
</center></div>
<div align="center">
<center>
<p>
<input type="button" value="!!!!!!!!! 돌아랏 !!!!!!!!" name="B1" onClick="animate()">
</p>
</center>
</div>
</form>
</BODY>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
<HEAD>
<TITLE> 이신디 </TITLE>
</HEAD>
<BODY>
<CENTER><H3>오늘은 어디를 가볼까? 무작정 가보자</H3></CENTER>
<!------ 아래의 방식으로 BODY 부분에 스크립트나 태그를 붙여 넣으세요 ------>
<script>
var count=0
function dothis(){
setTimeout("document.wheel.wheel2.selectedIndex =1000",100)
setTimeout("document.wheel.wheel2.selectedIndex =count",200)
setTimeout("document.wheel.wheel2.selectedIndex =1000",300)
setTimeout("document.wheel.wheel2.selectedIndex =count",400)
setTimeout("document.wheel.wheel2.selectedIndex =1000",500)
setTimeout("document.wheel.wheel2.selectedIndex =count",600)
setTimeout("window.location=document.wheel.wheel2.options[document.wheel.wheel2.selectedIndex].value",800)
}
function animate(){
var countfinal=Math.round(Math.random()*(document.wheel.wheel2.length-1))
document.wheel.wheel2.selectedIndex =count
if (count==countfinal){
dothis()
return
}
if (count<document.wheel.wheel2.length)
count++
else
count=0
setTimeout("animate()",50)
}
</script>
<p align=center>
<form method="POST" name="wheel">
<div align="center">
<center>
<p>
<select name="wheel2" size="8">
<option value="http://esindi.com">이신디</option>
<option value="http://www.imbc.com">엠비쒸 홈페이지</option>
<option value="http://www.daum.net">한메일.넷</option>
<option value="http://www.dreamwiz.com">드림위즈</option>
<option value="http://www.myfolder.net">프로그램 다운로드</option>
<option value="http://www.ahnlab.com">안철수 연구소</option>
<option value="http://www.microsoft.com">마이크로 소프트</option>
<option value="http://www.netscape.com">네츠케이프</option>
</select>
</p>
</center></div>
<div align="center">
<center>
<p>
<input type="button" value="!!!!!!!!! 돌아랏 !!!!!!!!" name="B1" onClick="animate()">
</p>
</center>
</div>
</form>
</BODY>
</HTML><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 5396 | 기타 |
슈퍼스타맨
|
4개월 전 | 349 | |
| 5395 | PHP |
untitled
|
5개월 전 | 822 | |
| 5394 | MySQL |
선택과집중
|
5개월 전 | 593 | |
| 5393 | 웹서버 |
techstar
|
8개월 전 | 861 | |
| 5392 |
|
1년 전 | 1217 | ||
| 5391 | 10개월 전 | 1117 | |||
| 5390 | 10개월 전 | 904 | |||
| 5389 | 9개월 전 | 874 | |||
| 5388 | 8개월 전 | 974 | |||
| 5387 | 8개월 전 | 807 | |||
| 5386 | JavaScript |
nekoieye
|
8개월 전 | 971 | |
| 5385 | 웹서버 | 8개월 전 | 989 | ||
| 5384 | JavaScript |
|
9개월 전 | 815 | |
| 5383 | 기타 | 10개월 전 | 1127 | ||
| 5382 | 기타 |
|
10개월 전 | 575 | |
| 5381 | JavaScript | 10개월 전 | 905 | ||
| 5380 | 기타 |
|
10개월 전 | 689 | |
| 5379 | JavaScript | 10개월 전 | 689 | ||
| 5378 | 10개월 전 | 1198 | |||
| 5377 | 기타 |
|
11개월 전 | 760 | |
| 5376 | jQuery |
|
11개월 전 | 574 | |
| 5375 | jQuery |
techstar
|
11개월 전 | 728 | |
| 5374 | 기타 |
|
11개월 전 | 777 | |
| 5373 | MySQL |
|
11개월 전 | 808 | |
| 5372 | 기타 |
|
11개월 전 | 1013 | |
| 5371 | JavaScript |
|
11개월 전 | 726 | |
| 5370 | JavaScript |
|
11개월 전 | 729 | |
| 5369 | PHP |
|
11개월 전 | 1243 | |
| 5368 | PHP | 1년 전 | 1408 | ||
| 5367 | 기타 |
nekoieye
|
1년 전 | 1283 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기