[자바스크립트] 상태표시줄 제어 + 간단한 복사 제어 정보
JavaScript [자바스크립트] 상태표시줄 제어 + 간단한 복사 제어본문
<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>
<!-- 상태바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>
추천
0
0
댓글 0개