bigpicture.js is a framework that allows (nearly) infinite panning and infinite zooming in HTML pages.