Is it possible to cancel the scrolling when the up/down arrows is pressed ? By default, IE scroll the page.
I tried :
<body onscroll="return false;" >
and
functionX()
{
...
window.event.cancelBubble = true;
}
document.onkeydown = functionX;
and even : (but the functionX is executed before the scroll)
functionX()
{
...
window.scrollTo(initialY)
}
document.onkeydown = funtionX;
other ideas ?
thanks!
I tried :
<body onscroll="return false;" >
and
functionX()
{
...
window.event.cancelBubble = true;
}
document.onkeydown = functionX;
and even : (but the functionX is executed before the scroll)
functionX()
{
...
window.scrollTo(initialY)
}
document.onkeydown = funtionX;
other ideas ?
thanks!