Skip to content

Commit

Permalink
Create MSIE.js
Browse files Browse the repository at this point in the history
  • Loading branch information
robob27 committed Feb 17, 2014
1 parent 829425e commit d807a5c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions MSIE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
$(document).on('ready',function() {
window.resizeTo(400,400);
});

function MSIE(opt) {
var self = this;
this.ready = false;
this.document = null;
this.window = new ActiveXObject("InternetExplorer.Application");
this.timeout = opt.timeout;
this.callbacks = $.Callbacks();
this.navigate=function(nOpt) {
var defaultOpt = {
'timeout':self.timeout,
'done':function(){},
'fail':function(){},
'always':function(){}
};
nOpt = $.extend(defaultOpt,nOpt);

};
this.do=function(dOpt) {
var defaultOpt = {

};
dOpt = $.extend(defaultOpt,dOpt);
if(self.isReady()===false) {
return;
}
};
this.isReady=function() {

}
}

0 comments on commit d807a5c

Please sign in to comment.