diff --git a/test/reveal.html b/test/reveal.html index 9423975ef6..3bcd44f282 100644 --- a/test/reveal.html +++ b/test/reveal.html @@ -40,29 +40,6 @@

Modal dialogs, or pop-up windows, are handy for prototypin

Example Modal…

-
- -

Using Reveal

-

Reveal is easy to hook up. Include the JS and CSS in your head (both of which are included in foundation.css and foundation.js, if you use the downloaded code pack). You can either call it in the JS or include a "data-reveal-id" parameter. Here are the steps to get started:

- -
Markup
-

Remember: your modal should be at the end of the page, after any of your rows or columns.

- -
Calling Reveal
-

There are two ways to do call a Reveal modal. The first is to attach a handler to something (button most likely) then call Reveal:

- -

The new hotness: just add a data-reveal-id to the object which you want to fire the modal when clicked...

- -

This will launch the modal with the ID "myModal2" without attaching a handler or calling the plugin (since the plugin is always listening for this). You can also pass any of the parameters simply by putting a data-nameOfParameter="value" (i.e. data-animation="fade")

- -

Sizes

-

Out of the box, reveal supports a few different sizes, those are:
small medium large xlarge expand

-
- -

Options

- -

Options can be used on the "data-reveal-id" implementation too, just do it like this:

-