오

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

· 2005-03-30 (수) 11:04:51 · 2330
<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>
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
05-07-16 조회 4,540
bbbking
05-07-08 조회 2,423
bbbking
05-07-08 조회 2,172
bbbking
05-07-08 조회 7,818
05-07-01 조회 2,389
05-06-30 조회 3,741
05-06-24 조회 4,160
05-06-24 조회 2,416
05-06-21 조회 5,824
05-06-17 조회 3,658
05-06-15 조회 4,508
05-05-04 조회 2,761
05-04-11 조회 3,862
05-04-04 조회 4,254
05-04-02 조회 2,659
05-03-30 조회 2,331
05-03-15 조회 2,530
05-03-15 조회 2,196
05-03-14 조회 1,712
05-03-13 조회 1,896
05-03-13 조회 2,051
05-03-13 조회 1,858
05-03-13 조회 2,124
05-03-13 조회 3,687
05-03-13 조회 2,266