<script type="text/javascript">
function placeIt() {
if (!document.all) {
document.getElementById("top_bar").style.top = window.pageYOffset +"px"; // For Mozilla etc.
} else {
document.getElementById("top_bar").style.top = document.documentElement.scrollTop +"px"; // For the IE...
}
window.setTimeout("placeIt()", 1);
}
</script>
<body onload="placeIt()">
i got that code. it works perfectly in firefox, but it doesnt stay at the stop when i scroll down in internet explorer... what can i do to make it work for internet explorer too?