prasadcnair
05-26-2008, 08:26 PM
hi all,
this is my code with troubles
echo '<td><a href="javascript:void(0)" onClick="window.open(\'chatSupport.php?cid='.$cid.'\',\'miniwin\',\'toolbar=0,location=0,directories=0,status =0,menubar=0,scrollbars=1,resizable=1,width=500,height=450\')"> Connect </a></td>';
this code opens up new window as per the code, but only once. Later on the content in the first opened window changes and no new windows. I think it will work fine if i could unset the parent-child relationship of windows. i tried window.opener and window.parent.. but still confused.. any help is highly appreciated.
thanks and regards
this is my code with troubles
echo '<td><a href="javascript:void(0)" onClick="window.open(\'chatSupport.php?cid='.$cid.'\',\'miniwin\',\'toolbar=0,location=0,directories=0,status =0,menubar=0,scrollbars=1,resizable=1,width=500,height=450\')"> Connect </a></td>';
this code opens up new window as per the code, but only once. Later on the content in the first opened window changes and no new windows. I think it will work fine if i could unset the parent-child relationship of windows. i tried window.opener and window.parent.. but still confused.. any help is highly appreciated.
thanks and regards