In product info display I want to open a javascript popup; in templates/mytemplate/common/tpl_header.php I've add this:
HTML Code:
<script type="text/javascript" language="javascript">
function ShowMenu(URL, WinTitle, Winwidth, Winheight, WinLeft, WinTop){
attr = "resizable=no,width=" + Winwidth + ",height=" + Winheight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
msgWindow=open(URL, WinTitle, attr);
if (msgWindow.opener == null) msgWindow.opener = self;
}
</script>
after the first ?>
This javascript is called by:
HTML Code:
define('registrati', '...questo prodotto puņ costarti molto meno! <a href="javascript:ShowMenu(\'buono_sconto.htm\',\'buono sconto\',600,500,2,95)"> click qui</a>');
in languages/italian.php
but it don't work in IE, work only in firefox!
Try, please:
http://www.100asa.it/datalogic-kit-t...1mb-p-881.html
Thanks for suggestion