Alert error pening separated Window using Javascript syntax

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
User avatar
trytrix
Super Advanced
Super Advanced
Posts: 92
Joined: Thu Sep 26, 2002 9:46 pm
Location: Flanders / Belgium
Contact:

Alert error pening separated Window using Javascript syntax

Post by trytrix »

Hi,
I've customised a bit the "openNewWindow" function
calling it in on of the menu-items (see below)<br><br>

_______________________________________________<br>
function openNewWindow(winURL,winConfig)<br>
{<br>
mmConfig=""<br>
mmConfig+=winConfig<br>
var mmWin=open(winURL,"",mmConfig);<br>
alert(mmWin);<br>
mmWin.focus();<br>
}<br>
________________________________________________<br><br>

,"<center>Onze nieuwsbrief","javascript:openNewWindow<br>(\"MailingList.html\",\"height=500,width=500,toolbar=no,location=no,<br>directories=no,menubar=no,resizable=no,scrollbars=no,status=no\")",,,0<br>
___________________________________________________<br><br>


The Url is shown in a small customised window as expected, but ..<br>
after windows shows up I receive an alert error saying:<br><br>

[Object]<br><br>
Image (alt+p)


Any idea ??

Greetings,

Trytrix

[/img]
Post Reply