From: Tyguy7 Date: Mon, 13 Jan 2014 21:58:00 +0000 (-0800) Subject: Added examples_reveal_open_close to the Reveal docs X-Git-Tag: 5.0.3~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4142%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Added examples_reveal_open_close to the Reveal docs --- diff --git a/doc/pages/components/reveal.html b/doc/pages/components/reveal.html index ca92ac229..195f8ccd1 100644 --- a/doc/pages/components/reveal.html +++ b/doc/pages/components/reveal.html @@ -58,6 +58,8 @@ The class options: You can also open and close Reveal via JavaScript: +{{> examples_reveal_open_close}} +
Firing a Reveal Modal with Ajax Content
To launch a modal with content from another page, just add a `data-reveal-ajax` attribute pointing to the url of that page. When clicked, the Reveal modal will be opened with a content from that page. Beware: content of the object from `data-reveal-id` attribute will be overwritten as a result.