웹마스터 팁

===========================================================

예제보기: 미리보기 http://my.dreamwiz.com/dong0987/study23.htm

=============================================================
<HEAD>와 </HEAD> 사이에 넣어주세요.
=============================================================
<SCRIPT LANGUAGE="JavaScript">

<!--
var a,b,go,word;

function greenlight(word){
a="윤미네집일까요? "; // 흘러내릴시 글
word.style.color="pink"; // 마우스 갖다 댈때 색상
linkSwitch();
}

function linkSwitch(){
clearTimeout(go);
b=a;
a=a.substring(1,100)+a.charAt(0);
esh.innerText=a;
go=setTimeout("linkSwitch()",100);
}

function stp(word){
clearTimeout(go);
esh.innerText=" http://yoonmi.waa.to"; // 마우스 떼고나서 의 글
word.style.color="blue"; // 마우스 뗄데 색상
}

//-->
</SCRIPT>


=================================================================
<body> </body> 사이에 삽입합니다.
=================================================================


========= 링크와 함께 삽입시 =====================================


<A HREF="http://yoonmi.waa.to" onmouseover="greenlight(this)"; onmouseout="stp(this)";>

<span id="esh">이곳에 마우스를 클릭하세요.span></A>



======= 그냥 글만 삽입하고 싶다면 =================================

<A onmouseover="greenlight(this)" ; onmouseout="stp(this)" ;><span id="esh"><font size="2">이곳에 마우스를 클릭하세요.</font></span>