Created
August 22, 2012 08:14
-
-
Save makzan/3423705 to your computer and use it in GitHub Desktop.
About Using Reveal Modal in Zurb Foundation CSS Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// About Using Reveal Modal in Zurb Foundation CSS Framework | |
// Show a modal (documented in Foundation doc) | |
$('#modal').reveal(options) | |
// The followings are not documented in Foundation doc. | |
// Close a modal | |
$('#modal').trigger('reveal:close'); | |
// Close all modal | |
$('.reveal-modal').trigger('reveal:close'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment