Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42
Alert error pening separated Window using Javascript syntax
Poster: trytrix
Dated: Thursday September 26 2002 - 22:24:46 BST
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>
(alt+p)
Any idea ??
Greetings,
Trytrix
[/img]