This should work for you if you are trying to get the window to open when
the page loads.
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function fncNewWindow() {
window.open("adCreation.cfm",
"Create a Video Ad",
"toolbar=no,
width=300,height=450,
directories=no,
status=no,
scrollbars=yes,
resize=no,
menubar=no");
}
//-->
</SCRIPT>
<body onload="javascript:fncNewWindow();">
----- Original Message -----
From: "Stephenie Hamilton" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 4:29 PM
Subject: RE: Js branfart
> Ug!!
> What is wrong with this code? And do I have to put this in the head of
> the html doc?
> Do I need a body onload thingy in there too??
>
> Arg....
> This /last/ little piece and I can be done with this app.
>
> <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
> <!--
> NewWindow = window.open("adCreation.cfm",
> "Create a Video Ad",
> "toolbar=no,
> width=300,height=450,
> directories=no,
> status=no,
> scrollbars=yes,
> resize=no,
> menubar=no");
> //-->
> </SCRIPT>
>
>
> ~~
> Stephenie Hamilton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5