[thelist] Setting Window Attributes
Rob Smith
rob.smith at thermon.com
Tue Apr 30 10:38:01 CDT 2002
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Jay
Attributes available in window.open in Javascript:
toolbar (hidden)
Windows Mac
IE yes yes
NS yes yes
menubar (hidden)
Windows Mac
IE yes no (always displays)
NS yes no (always displays)
status bar (hidden)
Windows Mac
IE yes yes
NS yes yes
location bar (hidden)
Windows Mac
IE yes yes
NS yes yes
scroll bars (hidden)
Windows Mac
IE yes yes
NS yes yes
working example of usage with javascript displaying only toolbar (back,
forward etc.)
<html>
<head><title>Window Popup</title>
<SCRIPT LANGUAGE="JavaScript">
function openwindow() {
var NewWindow;
NewWindow=window.open("","","titlebar=no,menubar=no,toolbar=yes,scrollbars=n
o,resizable=yes");
}
</script>
</head>
<body>
<form>
<input type="button" name="button" value="Pop up HTML Application"
onClick="openwindow()">
</form>
</body>
</html>
hth,
rob
More information about the thelist
mailing list