Skip to content

pngnwthbrd/simple-lightbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Lightbox

Is a minimal responsive Lightbox for HTML contents.
DEMO: Simplelightbox Demo site

Howto

Setting up your HTML

insert inside the head section:

<link rel="stylesheet" type="text/css" href="css/simplelightbox.css">

insert before the closing body tag:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="js/jquery.simplelightbox.min.js"></script>

To show the Lightbox ([optional])

$.simplelighbox('open', 'Put your content here!', [options]);

Options can be

{
    popupPosition:  'center',	// position of the lightbox (center, top, bottom)
    speed:          '421'       // animation speed (fade-in / fade-out)
}

About

Simple, slim and response lightbox for html content.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors