Here's a script you can use as well that works with Internet Explorer that
opens a modal Pop-Up window:

function openWindowm( pageToLoad, winName, width, height, center) {
    args = "dialogWidth:" + width + "px;" 
    + "dialogHeight:" + height + "px;" 
    + "status:0;" 
        + "help:0;"
        + "center:1;"

    window.showModalDialog( pageToLoad,winName,args );
        }

Still, the best is to use:

<body onload="window.focus();"> 

method...

-----Original Message-----
From: Alex [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 07, 2001 6:49 AM
To: CF-Talk
Subject: Re: <a href target= question


<body   onBlur="self.focus()">

On Thu, 6 Dec 2001, Gonzo Rock wrote:

> I have an app that users get help in...
> via a url with a target="help_window" 
> 
> How can I get that help_window to pop to the top if the user leaves it 
> open and continues with the app?
> 
> The problem is that subsequent clicks on help populate the window but 
> the user is clueless, thinking that nothing is happening because it is 
> buried and he can't see it refreshed with new help info.
> 
> thanks,
> Gonzo
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to