Forum Moderators: open
Hope this helps!
Welcome to WebmasterWorld, by the way...
[edited by: RonPK at 3:47 pm (utc) on May 1, 2003]
Would this window be able to be manipulated in such a way as to just show the window and no buttons or menu items? As I am very very new to JavaScript, where in my HTML code would this JS go?
Could a Cookie also be used so that the user can choose whether to have this window show again after logon or not? Sorry to be a pain.
Justin
Not with ordniary JavaScript. Maybe there is some magic IE-only code out there, but I'm not too familiar with that.
> Could a Cookie also be used so that the user can choose whether to have this window show again after logon or not?
No. The browser has to be started in order to read the cookie.
Maybe you could elaborate on what the purpose of the window is, so the folks here can come up with suggestions. (and maybe you could answer Korkus's question...)
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function openWin(URL) {
aWindow=window.open(URL,"thewindow","toolbar=no,width=350,height=400,status=no,scollbars=yes,resize=no,menubar=no");
}
//-->
</SCRIPT>
</HEAD>
<BODY onload="javascript:openWin('mozart.html');">
</BODY>
</HTML>
This brings up a large page with a pop-up window. I would like to get rid of the large page behind this pop-up window. Is there anybody out there that could help me with this code? Is there anything in JavaScript or do I need Visual Basic code?
Justin Medcraft
<html>
<head>
<title>macsta HTA Test</title>
<HTA:APPLICATION
ID = "Blandford pop UP"
APPLICATION NAME = "MAC"
BORDER = "thin"
CAPTION = "yes"
SHOWINTASKBAR ="no"
SINGLEINSTANCE = "yes"
SYSMENU = "YES"
WINDOWSTATE = "normal"
SCROLL = "NO"
SCROLLFLAT ="yes"
VERSION = "1"
INNERBORDER = "NO"
SELECTION = "NO"
MAXIMIZEBUTTON = "yes"
MINIMIZEBUTTON = "yes"
NAVIGABLE = "YES"
CONTEXTMENU = "NO"
BORDERSTYLE = "NORMAL"
>
</head>
<body ONLOAD="resizeTo(400,400)">
This will not work directly from a web-page, but will work from the desktop (ie. logon script).
Hope this helps.