Is my slide-to-anchor jQuery routine a correct use of JavaScript, or is there a better way?
- by Stuart Robson
I'm currently working on a project with a one page design that'll slide up and down between sections on an <a href> link...
Currently, i have it written as follows:
<ul>
<li><a href="javascript:void(0)" onClick="goToByScroll('top')">home</a></li>
<li><a href="javascript:void(0)"…