SKANK!!!!! 5 Posting Pro in Training
<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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.