Re: I want to control the popup location

  •  11-04-2004, 10:36 AM

    Re: I want to control the popup location

    Mike:

     
        Currently the CuteChat send the script 'window.open...' to the client and execute .
        You could catch it by this way:
     
    var _myoldopen=window.open;
    window.open=myopen;
    function myopen(a,b,c)
    {
        if(a.toLowerCase().indexOf('chatptop.aspx')!=-1)
        {
                return window.open(a,'myframename');
        }
        return window.open(a,b,c);
    }
     
     
    Hope this helps.
     
    Regards,Terry .
View Complete Thread