Hi James, you can use window.scrollTo(0,0). https://developer.mozilla.org/en/Window.scrollBy https://developer.mozilla.org/fr/DOM/window.scrollTo
Yannick ----- Mail original ----- De: "jamesd" <jcdeeri...@yahoo.com> À: svg-developers@yahoogroups.com Envoyé: Vendredi 6 Avril 2012 01:43:11 Objet: [svg-developers] Reverse the Javascript? I have a scroll Down button for a SVG database display. It works great, but I would also like to have an Up button. Anyway to reverse this process? I could not find any info via Google. <script type="text/javascript"> function jumpScroll() { window.scrollBy(0, window.innerHeight); } </script> Thanks; James ------------------------------------ ----- To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: svg-developers-dig...@yahoogroups.com svg-developers-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: svg-developers-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/