jlittlejohn
2/27/2013 - 4:10 AM

JS: Browser Back & Forward (Vanilla)

JS: Browser Back & Forward (Vanilla)

function moveBack() { // Simulate Back Button
  history.back();
}
function moveForward() { // Simulate Forward Button
  history.forward();
}