Note: Try clicking on the link below to test the in-page active anchor in action. You can also view the code from anchor.js.
window.alert