Is anyone aware of a way within either ASP or JavaScript to open up a window in IE 5 that has no browser buttons?
By browser buttons, I mean the navigational buttons like "Back" "Forward" "Refresh" etc.
I've found some JavaScript that seems to work somewhat, but I've only been able to make it open up an additional window, and I'm hoping I can find a way to have it affect the current window instead.
Thanks!
Here is that code:
-----------------
<SCRIPT LANGUAGE="JavaScript">
var goodBrowser = 1;
var msg = "This demonstration will work best if you use Netscape Navigator Version 4 (and higher) OR Microsoft Internet Explorer Version 5 (and higher). " +
"Users of other browsers may still view the pages, but some of the features might not work as expected.";
function isNav() {
return (navigator.appName == "Netscape"
}
function isMSIE() {
return (navigator.appName == "Microsoft Internet Explorer"
}
function isNav4Min() {
return (isNav() && parseInt(navigator.appVersion.charAt(0)) >= 4)
}
function isMSIE5Min() {
return (navigator.appVersion.indexOf("MSIE 5" != -1)
}
function newBrowser(URL, windowName, windowAttributes, closePrevious) {
window.open(URL, windowName, windowAttributes)
if (closePrevious == true)
self.close();
return false;
}
function testBrowser() {
if (isMSIE5Min() || isNav4Min()) {
newBrowser('Core/login.htm', 'InterAction', 'scrollbars, status, height=740, width=1020', 0);
}
else return 0;
}
</SCRIPT>
[sig][/sig]
By browser buttons, I mean the navigational buttons like "Back" "Forward" "Refresh" etc.
I've found some JavaScript that seems to work somewhat, but I've only been able to make it open up an additional window, and I'm hoping I can find a way to have it affect the current window instead.
Thanks!
Here is that code:
-----------------
<SCRIPT LANGUAGE="JavaScript">
var goodBrowser = 1;
var msg = "This demonstration will work best if you use Netscape Navigator Version 4 (and higher) OR Microsoft Internet Explorer Version 5 (and higher). " +
"Users of other browsers may still view the pages, but some of the features might not work as expected.";
function isNav() {
return (navigator.appName == "Netscape"
}
function isMSIE() {
return (navigator.appName == "Microsoft Internet Explorer"
}
function isNav4Min() {
return (isNav() && parseInt(navigator.appVersion.charAt(0)) >= 4)
}
function isMSIE5Min() {
return (navigator.appVersion.indexOf("MSIE 5" != -1)
}
function newBrowser(URL, windowName, windowAttributes, closePrevious) {
window.open(URL, windowName, windowAttributes)
if (closePrevious == true)
self.close();
return false;
}
function testBrowser() {
if (isMSIE5Min() || isNav4Min()) {
newBrowser('Core/login.htm', 'InterAction', 'scrollbars, status, height=740, width=1020', 0);
}
else return 0;
}
</SCRIPT>
[sig][/sig]