본문 바로가기
컴퓨터이야기/JavaScript

document.sytle 속성들

by 변화지시자 2009. 3. 22.
반응형


<SCRIPT LANGUAGE="JavaScript">
<!--
 document.all('아이디 이름').style.visibility = "visible/hidden"
 document.all('아이디 이름').style.cursor = "auto/default/hand/text/wait/help"
 document.all('아이디 이름').style.fontStyle = "italic/normal"
 document.all('아이디 이름').style.fontSize = "9pt"
 document.all('아이디 이름').style.backgroudColor="112233"
 document.all('아이디 이름').style.color = "122cdd"
 document.all('아이디 이름').style.pixelWidth = "100"
 document.all('아이디 이름').style.pixelHeight = "100"
 document.all('아이디 이름').style.left = "100"
 document.all('아이디 이름').style.top = "100"
 document.all('아이디 이름').innerText = "넣을문자"
 document.all('아이디 이름').src = "음악파일"

//-->
</SCRIPT>