serendipity
08-25-2005, 02:40 AM
Hi,
I've got this piece of code below:
function leave() {
window.open('../newindowonexit.html','','toolbar=no,menubar=no,location=no,height=440,width=330');
}
what do I add to to open the new window in exactly the position I want it to open? say right in the middle of the page etc. I know its has something to do with x and y coordinates but I dunno how to put it into code.
thanks for any replies!
I've got this piece of code below:
function leave() {
window.open('../newindowonexit.html','','toolbar=no,menubar=no,location=no,height=440,width=330');
}
what do I add to to open the new window in exactly the position I want it to open? say right in the middle of the page etc. I know its has something to do with x and y coordinates but I dunno how to put it into code.
thanks for any replies!