Skip to content

Instantly share code, notes, and snippets.

View adamcjoiner's full-sized avatar

Adam C. Joiner adamcjoiner

View GitHub Profile
@adamcjoiner
adamcjoiner / fancybox-inline.html
Last active May 11, 2017 18:51
How to link to inline content using fancybox
<!-- via stackoverflow: http://stackoverflow.com/questions/3963338/loading-inline-content-using-fancybox -->
<!-- Question: How can I load inline (inner-page) content using fancybox? -->
<!-- Answer [Oct 18 '10 at 20:59 by Marko]: The solution is very simple, but took me about 2 hours and half the hair on my head to find it. Simply wrap your content with a (redundant) div that has display: none and Bob is your uncle. -->
<div style="display: none">
<div id="content-div">Some content here</div>
</div>
@adamcjoiner
adamcjoiner / reddit.html
Created March 31, 2017 22:06 — forked from sente/reddit.html
An example of a retrieving data from reddit's JSON(p) api using jquery
<!DOCTYPE html>
<!--
Stuart Powers
http://sente.cc/
http://twitter.com/stuartpowers
-->
<html>
<head>