Submit your widget

Museum - A zero-clutter jQuery image gallery

Created 5 years ago   Views 16541   downloads 3046    Author mayfer
Museum - A zero-clutter jQuery image gallery
View DemoDownload
64
Share |

A zero-clutter jQuery image gallery.

  • Single file.
  • Works well on desktop & mobile.
  • Clicking the image (or hitting arrow keys) goes to the next one.
  • Clicking outside the image (or hitting escape) closes the overlay.
  • Images can be deep-linked (uses URL hash).
  • The browser back button is respected.

No other animations or styling.

Just add <script src='jquery.museum.js'></script> to your head and initialize it with $.museum($('#relevant-context img'));. Make sure the selected elements are <img> tags.