scrollIntoView not working in IE8?

Hey all,

I working on a project for a client and I need a javascript event to fire the scrollIntoView method to pan the browser to a DIV element at the bottom of the page.

My function is as follows:-

function jumpToOtherProducts()
     var x = document.getElementById("product_canvas");

Ive tested this in FF, Chrome and Safari and works fine, but not IE8. Any ideas what I can do about this?

Kind regards and thanks!:slight_smile:

It should work. I tested it here:

But if you want it at the bottom of the page you should remove the “true” argument, as that will align it with the top of the page.

Thats great help, thanks so much !:slight_smile: