Hey there,
I am currently building an external landing page with an embedded Marketo form. I would like to have my page scroll to the bottom after the form is submitted, and after using the "Take User to Defined URL" example in the documentation: http://developers.marketo.com/rest-api/assets/forms/examples/ , it does jump down to the bottom of the page after linking to an anchor.
My question is, can this be made into an animated scroll rather than a jump with JavaScript or JQuery? I don't really have the experience in JS to build something from scratch, and any snippets that I've found and tried using don't work because they no longer override the form's configured followUpUrl.
Any help I can get would be appreciated.
Thanks!
Solved! Go to Solution.
Like this: MktoForms2 :: Scroll after Success
This uses Dustan Kasten's CSSOM smooth scroll polyfill. Obtain the code from smoothscroll/smoothscroll.js at master.
Like this: MktoForms2 :: Scroll after Success
This uses Dustan Kasten's CSSOM smooth scroll polyfill. Obtain the code from smoothscroll/smoothscroll.js at master.
That's fantastic! Thank you so much!