I need to create a popup that only closes when someone exits the window, but not when they push the back button of their browser.
Here is the code I am using.
exited = 0;
function popup() {
if(exited)
{
var popurl="herman-popup.html"
winpops = window.open(popurl, "", "width=390 height=490, scrollbars,")
}
}
and I think I need to put some type of statement for windows.history.back() or windows.history.go(-1)
Here is the code I am using.
exited = 0;
function popup() {
if(exited)
{
var popurl="herman-popup.html"
winpops = window.open(popurl, "", "width=390 height=490, scrollbars,")
}
}
and I think I need to put some type of statement for windows.history.back() or windows.history.go(-1)