Home » , » JavaScript Code help IE 6.0 and IE 9.?

JavaScript Code help IE 6.0 and IE 9.?

Written By M.L on திங்கள், 10 அக்டோபர், 2011 | அக்டோபர் 10, 2011

We have an application, which open different websites on button click. This website is opened in Internet Explorer; JavaScript code handles the properties of the new window.
This JavaScript code is placed because client doesn’t want to display the URL of the website opened.

The issue is that this code is working fine with IE 6.0, now some users are migrating to IE 9.0.
And we are getting issue in IE 9.0 like forward\backward button are not visible and scroll bar is not working.
If I remove this below code it works with both IE 6.0 and IE 9.0 fine but the URL is also displayed which client doesn’t want.
I goggled it looks like IE 9.0 has different properties from IE 6.0.

Could anybody please help so that below code or any new code works both in IE 6.0 and IE 9.0?

JavaScript Code for it is below:
var strFeatures = "toolbar=1,location=0,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=" +screen.availWidth +",height="+ screen.availHeight +",top=0,left=0";
Location = 0 hides the URL.

Any help would be appreciated.

0 comments:

கருத்துரையிடுக

Popular Posts

General Category