I've had a complete rethink and a complete re-write. I haven't tested this code with Navigator as I will be using it on explorer based machines exclusively. It may have a problem with screen pos, but I'm not to sure. I've used the most common code I could.
Anyway the new and improved, and also a lot smaller code:
<script ="JavaScript">
<!-- Begin
// PopUp window script.
// R.Barrow '02
// pops up a borderless, untitled window
// at the cursor postion regardless of window size
function popup(t) {
var padamnty=30 //five pixels down from cursor
var padamntx=5 //thirty pixels away from cursor
var h=100 // height
var w=100 // width - there seems to be a minimum
var mx=window.event.screenX // grab relative to screen size coords
var my=window.event.screenY
var left=mx+padamntx; // slap on the padding
var top=my+padamnty;
popWin=open("","Test","fullscreen=yes,status=0,toolbar=0,location=0") // open full screen window to remove title bar
popWin.resizeTo(h,w) // and resize
popWin.moveTo(left,top) // and move to cursor
var text="<html><head><title>Hello</title><body bgcolor=eeeeee style=overflow:hidden><h1>!" // including style=overflow:hidden removes scroll bar
text=text+t+"</h1></body></html>"
popWin.document.write(text) // write the window text
}
function closepopup(){
if(popWin != null && !popWin.closed) popWin.close() // close the popup window
}
<!-- End
</script>
And here's a sample page with script so you can play straight away
<html>
<head>
<title>popuptest</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<script ="JavaScript">
<!-- Begin
// PopUp window script.
// R.Barrow '02
// pops up a borderless, untitled window
// at the cursor postion regardless of window size
function popup(t) {
var padamnty=30 //five pixels down from cursor
var padamntx=5 //thirty pixels away from cursor
var h=100 // height
var w=100 // width - there seems to be a minimum
var mx=window.event.screenX // grab relative to screen size coords
var my=window.event.screenY
var left=mx+padamntx; // slap on the padding
var top=my+padamnty;
popWin=open("","Test","fullscreen=yes,status=0,toolbar=0,location=0") // open full screen window to remove title bar
popWin.resizeTo(h,w) // and resize
popWin.moveTo(left,top) // and move to cursor
var text="<html><head><title>Hello</title><body bgcolor=eeeeee style=overflow:hidden><h1>!" // including style=overflow:hidden removes scroll bar
text=text+t+"</h1></body></html>"
popWin.document.write(text) // write the window text
}
function closepopup(){
if(popWin != null && !popWin.closed) popWin.close() // close the popup window
}
<!-- End
</script>
<table width="100%" border="0">
<tr>
<td><a href="javascript:void(0)" onMouseOver='popup("1")' onMouseOut='closepopup()'>test1</a></td>
<td><a href="javascript:void(0)" onMouseOver='popup("2")' onMouseOut='closepopup()'>test2</a></td>
<td><a href="javascript:void(0)" onMouseOver='popup("3")' onMouseOut='closepopup()'>test3</a></td>
<td><a href="javascript:void(0)" onMouseOver='popup("4")' onMouseOut='closepopup()'>test4</a></td>
</tr>
</table>
</body>
</html>
Edit: Just disabled HTML in this post as the sample was being interpreted as code. Doh!