Good code Seth...works great. Thank you and the others for their suggestions
as well.

Robert O.

>-----Original Message-----
>From: Seth Weiss [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 16, 2001 8:26 AM
>To: CF-Talk
>Subject: Re: child window
>
>
>Here is a little snip I use for this -- a little clearer than the
>last post:
><!------------------------------------
><script language=javascript>
>function newwindow(x) {
> childwindow=window.open(
> x,
> 'windowname',
> 'scrollbars=yes,width=460,height=400,toolbar=no')
>
> childwindow.focus()
>}
></script>
>
>//syntax for link
>
><a href="javascript:newwindow('http://whatever')">
>Whatever</a>
>
>----------------------------------->
>
>
>
>
>
>----- Original Message -----
>From: "Robert Orlini" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, April 16, 2001 10:00 AM
>Subject: child window
>
>
>> This isn't a CF question, but does anyone know what to add to a
>pop-window
>> JavaScript code to make the child window stay "module" or on top
>each time
>a
>> link is clicked?
>>
>> Currently when I click each link it puts the child window in the
>background.
>>
>> ----------
>>
>> <script LANGUAGE="JavaScript">
>> <!--
>> function showOverview()
>>
>{window.open('','overview','screenX=200,screenY=200,scrollbars=yes,
>titlebar=
>>
>no,directories=no,toolbar=no,menubar=no,status=no,resizable=yes,wid
>th=600,he
>> ight=500');}//-->
>> </script>
>>
>> <a href="../print/biosauth.htm" target="overview"
>onclick="showOverview()">
>>      American Authors 1600-1900</a>
>>
>>
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to