MochaUI.mainWindow = function(){
new MochaUI.Window({ id: 'mainWindow', title: 'ePinoy Business Directory', closable: false, resizable: true, maximizable: true, y: 85, x: 20, loadMethod: 'iframe', contentURL: '../../../directory/index.php', /*contentURL: 'http://directory.epinoybiz.com/',*/ scrollbars: true, padding: { top: 10, right: 10, bottom: 10, left: 10 }, width: 700, height: 390 });
};
By the way, since the app I modified is intentionally loaded in a mochaui window, and this app has links to initiate calls to another mochaui windows in its parent, so, simply need to include the mootools.js and construct your event binding codes.
I hope this will save a bit of time for those who'll wonder why their codes don't work ;)
No comments:
Post a Comment