Hey,
I don't quite understand. That code should open a new window. Perhaps you want all new windows for all the calls to the function? If so, try:
Code:
function open_window(url) {
var NEW_WIN = null;
NEW_WIN = window.open (url,"","toolbar=no,width=<?php echo $new_window_width ?>,height=<?php echo $new_window_height ?>,directories=no,status=no,scrollbars=yes,resize=no,menubar=no");
}
I didn't quite understand the PHP code b/c it is a serverside language and would be parsed before the javascript, so I took out the +" things. I don't quite understand what you need.
aDog
Bookmarks