Ian Bicking: the old part of his blog


On Firefox 0.9.2 and Mozilla 1.7.1, the "prev" button reloads the page, in addition to cycling the image. I'm not sure why it would do that, but I suspect that it's because you're using the a tag's onclick property over an href javascript link. Try href="javascript:" link instead, even though onclick is abstractly more elegant. Another option might be to use the button tag, although that has issues in IE.

Sweet paint job.
Comment on Javascript Slideshow
by Previous Button Reloads Page