오늘은 어딜 가볼까? 콤보상자 회전후 이동하기
<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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 355 |
JavaScript
[자바스크립트] 상태표시줄 제어 + 간단한 복사 제어
|
| 352 |
Linux
/etc 디렉토리 아래의 파일들
2
|
| 351 |
기타
shadow 잠금 해제
|
| 350 | |
| 349 |
JavaScript
yum 업데이트 되는곳 7.3 or 페도라
|
| 348 |
MySQL
mysql 링크하기
|
| 347 | |
| 346 |
MySQL
mysql.sock 삭제 하였을 경우
|
| 345 | |
| 344 | |
| 343 |
JavaScript
ps 시 화면 짤리는부분 보이게 하기
|
| 342 | |
| 341 | |
| 340 |
기타
chmod 의 스틱키
|
| 339 |
JavaScript
tripwire 의 twr 파일 보기
|
| 338 |
JavaScript
최근 사용자 접속 리스트 보기
|
| 337 | |
| 336 | |
| 335 |
JavaScript
atd 데몬
|
| 333 |
JavaScript
portmap
|
| 332 | |
| 331 | |
| 330 |
JavaScript
md5sum 사용방법
|
| 329 |
JavaScript
TAR 압축방법
|
| 328 | |
| 325 | |
| 323 | |
| 322 |
JavaScript
umask 설정법
|
| 321 | |
| 320 |
기타
Find 명령어 활용
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기