Very helpfull, simple and lightweight jQuery plugin that makes an element as a viewport for displaying elements with absolute position in it. Inspired by working on HTML5 puzzle game.

There are two additional plugins are used in this example: jquery.draggable (for dragging) from the jQuery UI library and my another fancy-pancy plugin named jquery.scraggable (for scrolling).

Similar Posts