상태표시줄 제어 + 간단한 복사 제어 하기 입니다. 정보
JavaScript 상태표시줄 제어 + 간단한 복사 제어 하기 입니다.
본문
<!-- 상태바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키 금지 끝-->
0
댓글 0개