No description, website, or topics provided.
JavaScript PHP CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
enhance.gif
giffy.js
giffy.min.js
index.php
internet.gif
library.gif
styles.css

README.md

giffy

Giffy is a library which allows you to open special image links as modals.

Instructions

Giffy does not require any other external libraries to use. To use the library, simply download and link the giffy.js file and initialize giffy. To custom style the giffy elements or the modal, simply edit the giffy.js or create another stylesheet and link it to the main page.

HTML

To use giffy, simply modify the anchor tag by adding a class of giffy, and setting the data-link to your image

<a class = "giffy" href = "#" data-link = "example.gif">example</a>

CSS

To customize giffy, you can create another css file which targets the giffy elements

.giffy{

	text-decoration:none;
	color:#3498db;

}

JS

Initializing giffy is fairly easy.

giffy.init();