The popup plugin has the following methods:
open( options )
$( ".selector" ).popup( "open", options );
options is an object literal which may have any of the following properties:
If x or y is missing, and no jQuery selector is given as the value of positionTo, the middle of the window will be used.
transition can be used to override the popup's own transition option. This will result in the popup opening via the transition specified in the call, but the popup's transition option will not be updated.
Similarly, data-position-to can be used to override the popup's default positioning without modifying the value of the popup's positionTo option. The values available for positionTo are the same as those for the popup's positionTo option (see options page).
$( ".selector" ).popup( "close" );
Copyright 2013 The jQuery Foundation