Ditch the JavaScript and use good old CSS and HTML to power a dynamic image slider with animated effects. This slider uses the power of :target to swap out the active image when a link along the top is clicked.