
<script type="text/javascript">
function stayput() {
if (document.layers) {
document.layers['layerName'].pageX = window.pageXOffset + 10;
document.layers['layerName'].pageY = window.pageYOffset + 10;
}
if (document.all) {
document.all['layerName'].style.posLeft = document.body.scrollLeft + 450;
document.all['layerName'].style.posTop = document.body.scrollTop + 150;
}
if(document.getElementById){
document.getElementById("layerName").style.left = document.body.scrollLeft + 450;
document.getElementById("layerName").style.top = document.body.scrollTop + 150;
}
}
onscroll=stayput
</script>
Place your contents within the following DIV tags
<DIV ID="layerName" STYLE="position:absolute; left:450px; top:150px"> Your Stuff Here </DIV>
Scroll the page and see the Devil image stay put.