Skip to content

Instantly share code, notes, and snippets.

View airbr's full-sized avatar
🏠
Working from home

Morgan Murrah airbr

🏠
Working from home
View GitHub Profile
@airbr
airbr / index.html
Created August 1, 2016 16:00 — forked from anonymous/index.html
jQuery Modal Credit @dr Mike Hopper
<div class="bs-example">
<!-- Button HTML (to Trigger Modal) -->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" data-num="0">Question 1</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" data-num="1">Question 2</button>
<!-- Modal HTML -->
<div id="myModal" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">