In the end I had to use
instead of
HTML Code:
window.scrollTo(0,0)
as it didn't work in Firefox. Didn't get round to IE.
I was using on this page this page
EDIT: -----------------------------------------------------------------------------
Here's the whole function for future reference.
HTML Code:
<SCRIPT type="text/javascript" language="Javascript">
<!--
// You need to set 'stop_scroll = true' to disable scroll completely
// You can also set to true using a function to disable on an event
var stop_scroll = false ;
function scrolltop(){
if(stop_scroll ==true){
scroll(0,0) ;
}
}
-->
</script>
Your body tag should also look like this:
HTML Code:
<body onscroll="scrolltop();" >
Bookmarks