Created
October 19, 2013 10:11
-
-
Save ms2sato/7054040 to your computer and use it in GitHub Desktop.
jQueryMobileでポップアップをJSから呼びたい時。さらにposition-to:'origin'を実現したい時。 ref: http://qiita.com/ms2sato/items/6ce177f12dfb13fba38e
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
$action.bind('vclick', function(event){ | |
$popup.popup('open', { | |
transition: 'pop', | |
positionTo: event.target | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment