Last active
August 29, 2015 14:25
-
-
Save bigdawggi/6f4f2ba1bf5329849eac to your computer and use it in GitHub Desktop.
Code structure for displaying inline contents in lightbox
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
<!-- REQUIREMENTS: | |
A link with | |
- a rel of "lightbox" | |
- an href that points to the the ID of the target div | |
- a data-lightbox-type="inline" attribute | |
--> | |
<a href="#popup-links" rel="lightbox" data-lightbox-type="inline">Load Inline HTML</a> | |
<!-- A div with a class of "hide", and an ID that matches the href of the originating link --> | |
<div id="popup-links" class="hide"> | |
<h3>Please choose which site to log into</h3> | |
<a class="btn btn-primary" href="http://google.com/site1">Site 1</a> | |
<a class="btn btn-primary" href="http://google.com/site2">Site 2</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment