오

[자바스크립트] 상태표시줄 제어 + 간단한 복사 제어

· 2005-03-30 (수) 11:04:51 · 4041
<head>
<!-- 상태바1 시작-->
<script language="javascript">
var name=" 상태표시줄 메시지 출력제어 "
var text=" "
var step = 0;
function statusbar()
{
text = name;
step++
if (step==5) {step=1}
if (step==1) {window.status='▶▶▶' + text + '◀◀◀'}
if (step==2) {window.status='▷▶▶' + text + '◀◀◁'}
if (step==3) {window.status='▶▷▶' + text + '◀◁◀'}
if (step==4) {window.status='▶▶▷' + text + '◁◀◀'}
setTimeout("statusbar()",100);
}
</script>
<!-- 상태바1 끝-->
<!-- 상태바2 시작-->
<script>
function hidestatus()
{
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<!-- 상태바2 끝-->
<!-- shift키 금지 시작-->
<script language="JavaScript">
function Stopkey() {
if (event.shiftKey)
alert("shift키는 사용하실 수 없답니다.");
}
</script>
<!-- shift키 금지 끝-->
</head>
<body onload="statusbar();" onkeydown="Stopkey()" oncontextmenu="return false" onselectstart="return false" ondragstart="return false"><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
기타
bbbking
05-06-27 조회 8,466
JavaScript 05-06-24 조회 5,622
JavaScript 05-06-24 조회 4,818
기타 05-06-24 조회 5,255
기타 05-06-24 조회 3,319
기타 05-06-24 조회 3,099
기타 05-06-24 조회 4,644
기타 05-06-24 조회 5,093
기타 05-06-24 조회 6,679
JavaScript 05-06-21 조회 8,482
Flash 05-06-20 조회 5,377
기타 05-06-17 조회 6,668
기타 05-06-17 조회 5,287
JavaScript 05-06-17 조회 5,656
기타
bbbking
05-06-16 조회 1.2만
JavaScript 05-06-15 조회 5,958
MySQL 05-06-15 조회 5,988
기타 05-05-04 조회 4,344
JavaScript 05-05-04 조회 4,317
기타 05-05-04 조회 3,726
기타 05-04-26 조회 3,012
기타 05-04-24 조회 3,898
MySQL 05-04-23 조회 5,353
MySQL 05-04-20 조회 6,023
MySQL 05-04-19 조회 1.3만
MySQL 05-04-19 조회 8,177
기타 05-04-14 조회 6,139
기타 05-04-11 조회 5,073
JavaScript 05-04-11 조회 5,415
기타 05-04-11 조회 3,734