[imp] onclick - JavaScript at menu.php
mfred
impquest at tplus.at
Thu Nov 27 01:33:24 PST 2003
Hi,
I want to define a new Button in Imp
this is what I have done (but not working as wanted):
$_menu[] = array(
'url' => '',
'text' => 'test',
'icon' => 'important.gif',
'icon_path' => '/horde/imp/graphics/',
'target' => '_blank',
'onclick' =>
'window.open('targeturl','_blank','width=550,height=430,left=300,top=100')'
);
As the html code works
<a href=""
onClick="window.open('targeturl','_blank','width=550,height=430,left=300,top
=100')">test</a>
I can't see why I get a parse error in Imp.
Aim is to not only open a new page but to have it as popup without
address-field and with given size.
Please help me
rgds,
mfred
More information about the imp
mailing list