panoet
Regular Member
- Jun 26, 2010
- 242
- 57
The scenario :
1. I've made 1 div "pop up" that hidden.
2. When visitor leaving my page or click on link to other sites, div "pop up" set to visible asking visitor to leave or visiting another page that I've set before
3. When div "pop up" appear, all process "paused". Similar when
in javacript, its will pause all event and then continue when user click OK button.
My problem is at point 3. If I've try to use
, the process still continue. Can anyone help me?
Thank
1. I've made 1 div "pop up" that hidden.
2. When visitor leaving my page or click on link to other sites, div "pop up" set to visible asking visitor to leave or visiting another page that I've set before
3. When div "pop up" appear, all process "paused". Similar when
Code:
alert()
My problem is at point 3. If I've try to use
Code:
onbeforeunload
Thank
Last edited: