75 lines
2.9 KiB
HTML
75 lines
2.9 KiB
HTML
<!doctype html>
|
|
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
|
|
<html class="no-js" lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
<title>Foundation for Sites Testing</title>
|
|
<link href="../assets/css/foundation.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<div class="grid-container">
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell">
|
|
|
|
|
|
<p><button class="button" data-open="exampleModal1">Modal at the top of screen</button></p>
|
|
|
|
<div class="reveal" id="exampleModal1" data-reveal data-v-offset="0">
|
|
<h1>Awesome. I Have It.</h1>
|
|
<p class="lead">Your couch. It is mine.</p>
|
|
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
|
|
<button class="close-button" data-close aria-label="Close modal" type="button">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
|
|
<p><button class="button" data-open="exampleModal2">Modal 600px from top</button></p>
|
|
|
|
<div class="reveal" id="exampleModal2" data-reveal data-v-offset="600">
|
|
<h1>Awesome. I Have It.</h1>
|
|
<p class="lead">Your couch. It is mine.</p>
|
|
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
|
|
<button class="close-button" data-close aria-label="Close modal" type="button">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
|
|
|
|
<p><button class="button" data-open="exampleModal3">Modal 600px from side</button></p>
|
|
|
|
<div class="reveal" id="exampleModal3" data-reveal data-h-offset="600">
|
|
<h1>Awesome. I Have It.</h1>
|
|
<p class="lead">Your couch. It is mine.</p>
|
|
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
|
|
<button class="close-button" data-close aria-label="Close modal" type="button">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
|
|
<p><button class="button" data-open="exampleModal4">Modal closes by hitting esc</button></p>
|
|
|
|
<div class="reveal" id="exampleModal4" data-reveal data-close-on-esc="true">
|
|
<h1>Awesome. I Have It.</h1>
|
|
<p class="lead">Your couch. It is mine.</p>
|
|
<p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p>
|
|
<button class="close-button" data-close aria-label="Close modal" type="button">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script src="../assets/js/vendor.js"></script>
|
|
<script src="../assets/js/foundation.js"></script>
|
|
<script>
|
|
$(document).foundation();
|
|
</script>
|
|
</body>
|
|
</html>
|