How can we remove address bar of browser
-
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help, Thanks in advance. -
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help, Thanks in advance.amitrajahuja wrote:
I am trying to remove address bar of browser from javascript.
Then why haven't you asked this in the Javascript forum instead of here? I could be wrong, and can't find a reference now, but I seem to remember reading that Microsoft had removed the ability to do this, on the grounds that users had a right to know the address of whatever page they were on (and maybe re-directed to unwittingly) - call it a security measure.
-
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help, Thanks in advance. -
I am trying to remove address bar of browser from javascript. I am writing the following code
window.open('newWindow.aspx', 'new', 'width=' + width + ', height=' + height + ', toolbar=no,location=0, left=' + left + ',top=' + top + 'screenX=' + left + ',screenY=' + top + ', directories=no, menubar=no,scrollbars=no,resizable=no, status=no');
please help, Thanks in advance.hi, just try this. I think in new versions of IE address bar will be visible ...:~
var strVal = "toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=0,resizable=0," + "width=" + width + ",height=" + height +",left=" + left + ",top=" + top
window.open("newWindow.aspx", "new", strVal);
Sujith My Blog