-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f787ba
commit ab08651
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Saga-Gallery Examples</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/5.0.0/normalize.css"> | ||
<link href="../dist/saga-gallery.min.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
<ul id="gallery"> | ||
<li> | ||
<img src="http://placehold.it/350x350/2ecc71/ecf0f1" alt="Product Image 1"> | ||
<div class="saga-description"><h3>Lorem</h3><p>Ipsum dolor sit amet</p></div> | ||
</li> | ||
<li><img src="http://placehold.it/350x350/3498db/ecf0f1" alt="Product Image 2"></li> | ||
<li><img src="http://placehold.it/350x350/e67e22/ecf0f1" alt="Product Image 3"></li> | ||
<li><img src="http://placehold.it/350x350/e74c3c/ecf0f1" alt="Product Image 4"></li> | ||
</ul> | ||
|
||
<script src="../dist/saga-gallery.min.js"></script> | ||
<script> | ||
var gallery = new SagaGallery('gallery', { | ||
onOpen: function() { | ||
console.log('open'); | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> |