|
-
Mar 2nd, 2004, 08:32 AM
#1
Thread Starter
Fanatic Member
Disable explorer menubar
I am developing an intranet site where all users will have explorer using asp and javascript for client stuff.
Is it possible to disable/remove the menu and navbar in explorer in either asp or javascript.
I know I can do it in .net but was wondering if I could do it with either of these languages.
-
Mar 2nd, 2004, 11:50 AM
#2
Frenzied Member
You mean internet explorer, right ?
But yes, it's possible using JavaScript(ASP is server side...), just open the window using:
Code:
window.open("http://www.vbforums.com","my_new_window","toolbar=yes, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes")
If you want this done when a page loads just put it in the body load... like this:
Code:
<html>
<head>
<script>
function newpage() {
window.open("http://www.vbforums.com","my_new_window","toolbar=yes, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes");
window.close;
}
</script>
</head>
<body onLoad="newpage();">
Opening new window...
</body>
</html>
Hope this helps
Cheers!
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|