웹마스터 팁

미리보기  http://www.kmsmaru.com/java_sous/pa-1.htm


<html>

<body>

<style>
.bgimages img {cursor:hand}
</style>
<script language="JavaScript1.2">
<!--
function tile(){
if (!document.all)
return
var source=event.srcElement
if (source.tagName=="IMG")
document.body.style.backgroundImage="url("+source.src+")"
}

function restore(){
document.body.style.backgroundImage=''
}
document.body.onclick=restore
//-->
</script>

<span class="bgimages" onClick="tile();event.cancelBubble=true"><img src="../java_sous/backgr10.jpg" width="101" height="102"><img src="../java_sous/backgr11.jpg" width="101" height="102"><br><img src="../java_sous/backgr14.jpg" width="101" height="102"><img src="../java_sous/backgr13.jpg" width="101" height="102"></span>
</body>
</html>