hello,
i have this page where if you leave the page or close the page a pop-up will generate. the pop-up has a button on it to go back to that original page. the code i have works fine if the user just leaves the main page, but i can't figure out how to get it to regenerate the page if the user closes the main page. if that makes any sense and you have some ideas, let me know.
thanks,
derek
i have the following script on my page:
<script language="JavaS cript">
function goto_applicatio n()
{
window.opener.f ocus();
window.opener.l ocation.href='w ww.google.com';
window.close();
}
</script>
and then the link looks like this:
<a href="javascrip t: goto_applicatio n();">click here</a>
i have this page where if you leave the page or close the page a pop-up will generate. the pop-up has a button on it to go back to that original page. the code i have works fine if the user just leaves the main page, but i can't figure out how to get it to regenerate the page if the user closes the main page. if that makes any sense and you have some ideas, let me know.
thanks,
derek
i have the following script on my page:
<script language="JavaS cript">
function goto_applicatio n()
{
window.opener.f ocus();
window.opener.l ocation.href='w ww.google.com';
window.close();
}
</script>
and then the link looks like this:
<a href="javascrip t: goto_applicatio n();">click here</a>
Comment