본문 바로가기

paran/[ Script ]

배경화면 고정시키기

<body bgproperties="fixed"> 삽입하기

<body>와 </body> 사이에 아래의 소스를 넣으세요

<script language="JavaScript1.2">

if (document.all)

document.body.style.cssText="background:white url(
그림경로) no-repeat fixed left top"

</script>


위 소스중에 'center top' 부분을 위치에 맞게 알맞게 수정하십시오

각각 위치에 따라 ( left top, center top, right top, left center ,
center center, right center, left bottom , center bottom, right bottm)

태그를 바꿔서 넣어 주시면 되지요.