Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (47 sloc) 1.659 kb
<!DOCTYPE html>
* Markup for Dojo Reveal Plugin 1.0
* Copyright 2010, ZURB
* Free to use under the MIT license.
<meta charset="utf-8" />
<title>Reveal Demo</title>
<!-- Attach our CSS -->
<link rel="stylesheet" href="reveal.css">
<!-- Attach necessary scripts -->
<script src="" type="text/javascript"></script>
<script type="text/javascript" src="dojo.reveal.js"></script>
function openModal() {
reveal = new ZURB.Reveal({modalId: "myModal"});
<style type="text/css">
body { font-family: "HelveticaNeue","Helvetica-Neue", "Helvetica", "Arial", sans-serif; }
.big-link { display:block; margin-top: 100px; text-align: center; font-size: 70px;}
<a href="#" class="big-link" dojoType="ZURB.Reveal" modalId="myModal" animation="fadeAndPop">
Fade and Pop Animation
<a href="#" class="big-link" dojoType="ZURB.Reveal" modalId="myModal" animation="fade">
Fade Animation
<a href="#" class="big-link" dojoType="ZURB.Reveal" modalId="myModal" animation="none">
No Animation
<a href="#" class="big-link" onclick="openModal(); return false;">
Open With Script
<div id="myModal" class="reveal-modal">
<h1>Reveal Modal Goodness</h1>
<p>This is a default modal in all its glory, but any of the styles here can easily be changed in the CSS.</p>
<a class="close-reveal-modal">&#215;</a>
Jump to Line
Something went wrong with that request. Please try again.