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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
└── assets/ | |
├── css/ | |
├── img/ | |
│ ├── fancybox | |
│ ├── flexslider | |
│ └── ico | |
└── js/ |
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
<script src="assets/js/jquery.fancybox.pack.js"> | |
<script src="assets/js/jquery.fancybox-media.js"></script> |
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
<link rel="stylesheet" href="assets/css/jquery.fancybox.css"> |
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
<div class="grid"> | |
<div class="one-third"> | |
<h4>Column One</h4> | |
<p>Insert content here.</p> | |
</div><!-- /.one-third --> | |
<div class="one-third"> | |
<h4>Column Two</h4> | |
<p>Insert content here.</p> |
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
<div class="grid"> | |
<div class="one-half"> | |
<h4>Column One</h4> | |
<p>Insert content here.</p> | |
</div><!-- /.one-half --> | |
<div class="one-half"> | |
<h4>Column Two</h4> | |
<p>Insert content here.</p> |
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
<script> | |
$(document).ready(function () { | |
// modal for general content (fancyBox) | |
if ($(".fancybox").length > 0) { | |
$(".fancybox").fancybox({ | |
maxWidth: 800, | |
maxHeight: 600 | |
}); | |
} |
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
<a href="#modal-content" class="fancybox">modal inline</a> | |
<div id="modal-content" style="display: none;"> | |
Content goes here. | |
</div> |
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
<a href="image.jpg" title="Caption Goes Here" class="fancybox">modal image</a> |
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
<div class="image-gallery outline-pad"> | |
<a class="fancybox" rel="gallery1" href="large-image-1.jpg" title="Caption Text Goes Here"><img src="thumbnail-image-1.jpg" alt=""></a> | |
<a class="fancybox" rel="gallery1" href="large-image-2.jpg" title="Caption Text Goes Here"><img src="thumbnail-image-2.jpg" alt=""></a> | |
<a class="fancybox" rel="gallery1" href="large-image-3.jpg" title="Caption Text Goes Here"><img src="thumbnail-image-3.jpg" alt=""></a> | |
</div> |
OlderNewer