상태바에 메세지를 번쩍이게 합니다.데모를 눌러 확인하세요.
| Script Example |
<html> <head><title>데모</title>
<script language="JavaScript">
<!--
var yourwords = "홈제작바이블";
var speed = 150;
var control = 1;
function flash()
{
if (control == 1)
{
window.status=yourwords;
control=0;
}
else
{
window.status="";
control=1;
}
setTimeout("flash();",speed);
}
// -->
</script> </head> <body
onload="flash();">
상태바를 보시오 </body> </html> |
|
|
| 설명 |
| 스크립트 코드를 당신의 홈페이지 head 태그 사이에 삽입하시고 body
태그에 onLoad="flash();"를 삽입합니다. 원하는 메세지로 바꾸어
사용하세요 |
|
|
|
|