|
|
|
|
|
|
|
|
|
|
Rajesh Goswami
Total Post:
29
Member Since:
10/19/2010
Points:
151
|
|
How can we remove address bar of browser
|
|
Posted On:
10/29/2010 7:05:09 AM
|
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
|
|
|
|
|
|
|
Awadhendra Tiwari
Total Post:
126
Member Since:
1/19/2011
Points:
893
|
|
Re: How can we remove address bar of browser
|
|
Posted On:
5/20/2011 9:49:42 AM
|
Hi...
Try following code to hide address bar from browser
function openWindow(){
var browser=navigator.appName;
if (browser==”Microsoft Internet Explorer”)
{
window.opener=self;
}
window.open(‘filename.htm’,'null’,'width=900,height=750,
toolbar=no,scrollbars=no,location=no,resizable =yes’);
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height-100);
self.close();
}
May be this solve your problem.
|
|
|
|
|
|
|
|
|
|
|