It's not working at all. I still get the same thing. let me show you the code so that you can get a better understanding of how it's suppossed to work. Maybe the remedy is right in front of me, I'm just not seeing it! lol
Begin Code
***************************
// set the popup window width and height
var windowW=583 // wide
var windowH=330 // high
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//Set the screen position where the popup should appear.
// See the following settings.
//***************************************************************
//Programmer Specifies Window Position *
// Un-comment Set 1 & Comment Set 2 out*
//Automatically center on screen *
// Un-comment Set 2 & Comment Set 1 out
//**********************************************************
//---------------
//Set 1 |
//---------------
//var windowX = 260 // from left
//var windowY = 100 // from top
//---------------
//Set 2 |
//---------------
var windowX = (screen.width/2)-(windowW/2);
var windowY = (screen.height/2)-(windowH/2);
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// set the url of the page to show in the popup
var urlPop = "The web site.htm"
// set the title of the page
var title = "Calculator"
// set this to true if the popup should close
// upon leaving the launching page; else, false
var autoclose = true
// ============================
// do not edit below this line
// ============================
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false
function openFrameless(){
if (beIE){
JMS = window.open("","popFrameless","fullscreen,"+s)
JMS.blur()
window.focus()
JMS.resizeTo(windowW,windowH)
JMS.moveTo(windowX,windowY)
var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
JMS.document.open();
JMS.document.write(frameString)
JMS.document.close()
} else {
JMS=window.open(urlPop,"popFrameless","scrollbars,"+s)
JMS.blur()
window.focus()
JMS.resizeTo(windowW,windowH)
JMS.moveTo(windowX,windowY)
}
JMS.focus()
if (autoclose){
window.onunload = function(){JMS.close()}
}
}
**********************************
End Code
So there's my java script file. I'll keep trying things, thanks for your help so far though! Anyone who wants to use this code, please feel free to do so! Jay
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"