Created
September 17, 2013 02:22
-
-
Save mamod/6589362 to your computer and use it in GitHub Desktop.
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
//trigger modal view | |
$('.someElement').click(function(){ | |
$('#modal').modal('view',{ | |
easing : 'linear', | |
position : 'bottom', | |
animation : 'top left', | |
speed : 1000 | |
}); | |
}); | |
//trigger modal close | |
$('.someOtherElement').click(function(){ | |
$('#modal').modal('close'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment