Zstyles
02-10-2007, 02:05 PM
Hi All,
I thought I had it all worked out, nice js menu etc,
var submenu_vid = {"Video" : "vid.htm",
"Foto's" : "foto.htm" };
but I decided to open the page in a new window:
var submenu_vid = {"Video" :"javascript: onClick=window.open('vid.htm',' ',' ');",
"Foto's" : "foto.htm" };
The page opens in a new window, but the old page turns blank and just displays: [object]
What did I forget ?
What does this mean ?
Thanks for any help :thumbsup:
I thought I had it all worked out, nice js menu etc,
var submenu_vid = {"Video" : "vid.htm",
"Foto's" : "foto.htm" };
but I decided to open the page in a new window:
var submenu_vid = {"Video" :"javascript: onClick=window.open('vid.htm',' ',' ');",
"Foto's" : "foto.htm" };
The page opens in a new window, but the old page turns blank and just displays: [object]
What did I forget ?
What does this mean ?
Thanks for any help :thumbsup: