FireGestures.BrowserPosition = function (x) {
window.resizeTo(1280, screen.availHeight);
window.screenX = x;
window.screenY = 0;
};
FireGestures.generatePopup(event,
[
{ label: "Left" ,oncommand: "this.BrowserPosition(0);" },
{ label: "Center" ,oncommand: "this.BrowserPosition((screen.width - 1280)/2);" },
{ label: "Right" ,oncommand: "this.BrowserPosition(screen.width-1280);" }
]
);
FireGestures :: Make Scripts
FireGestures :: Get Scripts -> [Popup] Resize Window