I have found the javascript that opens anew popup window and followed a lead in FAQs of how to open a new popup when required.
How do I make the popup be centre of page when opens?
The code in include/xoops.js
*****************
function openWithSelfMain(url,name,width,height,returnwindow) {
var options = "width=" + width + ",height=" + height + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";
var new_window = window.open(url, name, options);
window.self.name = "main";
new_window.focus();
if (returnwindow != null) {
return new_window;
}
}
*****************************
What do I need to change or add?
Thanks in advance
voddie