Salvo Posted June 27, 2006 Posted June 27, 2006 Hi all I am tring to open to a new window using the onclick but gives me errors. can you pls check it for me? Thanks Salvo on top page <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=no,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,lef t=150') } //--></script> echo '<tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="java script:popupWindow(\'' . tep_href_link(FILENAME_ACCOUNTS, tep_get_all_get_params(array('cID')) . 'cID=' . $customers['customers_id']) . '\'">' . "\n";
Guest Posted June 27, 2006 Posted June 27, 2006 there is a space in the "java script". Should be javascript.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.