Skip to content

Instantly share code, notes, and snippets.

@mlncdk
mlncdk / Scroll-dependent-Fixed-Nav.markdown
Created December 2, 2013 10:37
A Pen by Mark Michon.
@mlncdk
mlncdk / index.html
Created January 22, 2013 10:42
A CodePen by Sten Hougaard. Fancybox - iframe in lightbox - A simple boilerplate to using the Fancybox jQuery plugin to open iframe in a lightbox.
<div class="container fluid">
<div class="row">
<h1>Fancybox - iframe in lightbox</h1>
<blockquote>A simple boilerplate to using the Fancybox jQuery plugin to open iframe in a lightbox.</blockquote>
</div>
<div class="row">View my blog <a href="http://www.netsi.dk/wordpress" data-fancybox-type="iframe" class="fancyboxIframe">netsi</a> in an lightbox iFrame, using <a href="http://fancyapps.com/fancybox/" data-fancybox-type="iframe" class="fancyboxIframe">fancybox</a>.
</div>
<div class="row">
<h4>HTML</h4>
<code>&lt;a href="http://www.netsi.dk/wordpress" <strong>data-fancybox-type="iframe" class="fancyboxIframe"</strong>&gt;netsi&lt;/a&gt;</code>
@mlncdk
mlncdk / index.html
Created January 22, 2013 10:41
A CodePen by Sten Hougaard. Fancybox - iframe in lightbox - A simple boilerplate to using the Fancybox jQuery plugin to open iframe in a lightbox.
<div class="container fluid">
<div class="row">
<h1>Fancybox - iframe in lightbox</h1>
<blockquote>A simple boilerplate to using the Fancybox jQuery plugin to open iframe in a lightbox.</blockquote>
</div>
<div class="row">View my blog <a href="http://www.netsi.dk/wordpress" data-fancybox-type="iframe" class="fancyboxIframe">netsi</a> in an lightbox iFrame, using <a href="http://fancyapps.com/fancybox/" data-fancybox-type="iframe" class="fancyboxIframe">fancybox</a>.
</div>
<div class="row">
<h4>HTML</h4>
<code>&lt;a href="http://www.netsi.dk/wordpress" <strong>data-fancybox-type="iframe" class="fancyboxIframe"</strong>&gt;netsi&lt;/a&gt;</code>