best javascript js code to open popup window

 

<script language=”javascript” type=”text/javascript”>
function edit(s)
{
/*alert(s);
return false;*/
window.open(s, “ice”, “width=850, height=600, status=yes, scrollbars=yes,location=0,resizable=1″);
}
</script>
<td width=”45%”><a href=”javascript:void(0)” onClick=”javascript:edit(‘home.php?cat_id=<?php echo $row['cat_id']; ?>&pageno=<?php echo $x; ?>’)”>Terms & Conditions</a></td>
 

Share on Facebook