I'm trying to do a simple javascript...
What it does:
If a person views my page and exits without clicking any links, a popup window comes up. But if they click a link, no popup comes up when the page unloads.
I know its something with onClick="set a variable'
then a function that is called in onUnload that checks the var value, but since I do not know Javascript at all I am lost.
Any help is appreciated, thanks.
What it does:
If a person views my page and exits without clicking any links, a popup window comes up. But if they click a link, no popup comes up when the page unloads.
I know its something with onClick="set a variable'
then a function that is called in onUnload that checks the var value, but since I do not know Javascript at all I am lost.
Any help is appreciated, thanks.

Comment