웹마스터 팁

=================================================================
예제보기: http://my.dreamwiz.com/dong0987/study26.htm

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

먼저, 헤드와 헤드 사이에 스크립을 씌운다!


<script language="javascript">
<!--
headstring = "<HTML><HEAD><TITLE>스크립예제</TITLE><HEAD>"
bodystring = "<BODY bgcolor=#ffffff>"
endstring = "</BODY></HTML>"
iswin1 = 0;
function me() {
   if (iswin1==1) return;
   win1 = open ("","","width=250,height=150");
   win1.document.open();
   win1.document.write (headstring);
   win1.document.write (bodystring);
   text1 ="<font color=#FF6699 size=5><b>마우스를 올리면<b> </font><p>";

   text1 += " 이용하기도 편하고~ <p>";
   text1 += " 간편하고 너무이쁜 스크립! <p>";
   text1 = "<center><font size=2 color=#0066cc>" + text1 + "</font></center>";
   win1.document.write (text1);
   win1.document.write (endstring);
   win1.document.close();
   iswin1 = 1;
}
function me1() {
   if (iswin1==0) return;
   win1.close();
   iswin1 = 0;
}  
//-->            
</script>
============================================================
그리고 바디와 바디사이에 새창 링크를 원하는데다가 이렇게 쓴다.
============================================================
<a href="  " onmouseover="me()" onmouseout="me1()" onclick="me1()">마우스 커서를 여기에두세요 ! </a>

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

☆ 윤미의@잠깐 설명 ★

쭉 보시면 알겠지만 스크립 사이에
   text1 += " 이용하기도 편하고~ <p>";
   text1 += " 이용하기도 편하고~ <p>";
이런식으로 있죠?
text1 += "할말 <p>"
오렇게 하면 원하는 글을 추가할수있습니다!
색상이나 모 변조 시켜도 상관 없구용 ~