오늘은 어딜 가볼까? 콤보상자 회전후 이동하기
<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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 11040 |
JavaScript
자바스크립트를 이용해 모니터 해상도 구하기
2
|
| 11037 |
JavaScript
모바일 접속시 모바일 페이지로 이동하기
2
|
| 11028 |
MySQL
SQL 문장의 실행순서
8
|
| 11019 |
MySQL
초보자들을 위한 팁(count편)
8
|
| 11017 | |
| 11012 |
MySQL
트리거를 이용한 날짜 자동 업데이트
4
|
| 10999 |
PHP
배열 순서 섞기
12
|
| 10990 |
JavaScript
체크박스 전체선택/해제/반전
8
|
| 10984 |
JavaScript
마우스휠이벤트 등록 및 활용
5
|
| 20478 | |
| 20151 | |
| 10973 |
JavaScript
부분 프린터하기
10
|
| 10970 |
JavaScript
GET으로 넘어온 파라미터 가져오기
2
|
| 10966 |
JavaScript
첨부파일 확장자 체크 [정규식]
3
|
| 10962 |
JavaScript
iframe 아이프레임 투명처리
3
|
| 10961 | |
| 10959 |
PHP
주민번호 검사기
1
|
| 10958 | |
| 10951 |
JavaScript
화면 줌(ZOOM); 필요한분이 있으려나...;
6
|
| 10947 | |
| 10945 | |
| 10944 |
PHP
utf8 체크하기
|
| 20463 | |
| 10943 | |
| 10939 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기