help me, i want to hide my address bar url in my asp.net website.
+1
A:
you can hide the address bar using javascript
not by Asp.net
window.document.statusbar.enable = false;
anishmarokey
2010-09-15 06:28:34
A:
You may try closing the current window and then opening a new:
var dimensions = 'toolbars=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=yes';
window.opener = self;
window.close();
window.open('http://example.com/foo.htm', '_blank', dimensions);
window.moveTo(0, 0);
window.resizeTo(screen.width, screen.height - 100);
Not guaranteed to be cross browser. It appears to be working on IE.
Darin Dimitrov
2010-09-15 06:32:13
@Roy: you should either write answer or provide help link.. i dont think that its good to only write about someone's answer.
Rajesh Rolen- DotNet Developer
2010-09-15 06:35:40
put it as a comment.don't put it as a answer
anishmarokey
2010-09-15 06:35:54
+6
A:
Try This
window.open('MyPage.aspx','Title','toolbar=no,status=no,resizable=1,scrollbars=1,menubar=no,location=no,width='+screen.width+',height=700');
Pankaj Mishra
2010-09-15 07:08:26