Skip to content

davee8k/js-gallery-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-gallery-box - simple jQuery Gallery Box

Description

A simple javascript gallery lightbox. Can display links to images or optionally html content (iframe).

Browser support

Internet Explorer 8 and (almost) anything newer ;)

Options

Name Type Default Description
icons {} {prev: '<', next: '>', close: '×'} icons or text on functional buttons
mark string null custom gallery box element ID
item string a element
iframe string null class marking for non image content. Will be displayed in frame
opener string null custom element for opening gallery
arrows bool true display arrows and allows paging between items
pager bool false show current page / total count of items
modal bool true show gallery modal
shrink bool true scale down large images to fit the screen size
swipe bool true enable touch swipe
duration int 250 time (ms)

Usage

$("#target").galleryBox({});

About

Javascript gallery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published