This scrolls the browser window to ensure that a DOM element is in view.
function fade (
Fades a DOM element in or out.
the element to fade
an object of options to use. This object must have a fade property, which should be either the string ‘in’ or ‘out’, corresponding to the direction of the fade. The second property used here, onComplete, is a function that is called once the fade is complete. This is optional.
function scrollWindowTo (
This scrolls the browser window to ensure that a DOM element is in view. Make sure that the element has been added to the page before calling this function.