Please try to extend a 'moveTo' method to achieve this functionality.
(function($){
$.extend($.fn.window.methods, {
moveTo: function(jq, param){
return jq.each(function(){
var win = $(this).window('window');
var width = win.outerWidth();
var height = win.outerHeight();
var left = undefined;
var top = undefined;
if (param.indexOf('left') >= 0){
left = $(document).scrollLeft();
}
if (param.indexOf('right') >= 0){
left = $(window).outerWidth() - width + $(document).scrollLeft();
}
if (param.indexOf('top') >= 0){
top = $(document).scrollTop();
}
if (param.indexOf('bottom') >= 0){
top = $(window).outerHeight() - height + $(document).scrollTop();
}
$(this).window('move', {
left: left,
top: top
});
})
}
});
})(jQuery);
Call $('#win').window('moveTo', 'right bottom') to move a window to the right bottom corner. Please refer to
http://jsfiddle.net/22jL2hgt/1/