5
The javascript required to open a new popup window is already in xoops.js (line 49):
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();
return (returnwindow != null ? new_window : void(0));
}
Call it with:
<a href="javascript:openWithSelfMain('http://yoursite.com/yourfile.html','YourWindowName',300,200);">Your Popup Linka>
See the FAQ:
How do I make a link open a popup in my page? by Carnuke