Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Non-Evil Exit Consoles
- From: bob at web-walrus.com (Robert Wall)
- Subject: [Javascript] Non-Evil Exit Consoles
- Date: Fri Apr 25 20:51:05 2003
I'm looking to do an exit console. Here is the basic idea (in English
pseudo-code) of what we want to do:
if the visitor is leaving a page {
if they're going to somewhere else on our site {
do nothing;
}
if they're leaving our site completely {
pop up exit console;
}
}
Just using an onUnload() function to pop up the window gives them the
window every time they click any link or refresh any page on our site,
which gets annoying quickly.
I want them to get the exit page, but only when they navigate completely
away from our site.
Does anybody have any ideas for doing this? Any help you could offer
would be greatly appreciated...
-----
Robert Wall (715) 855-0189
Systems Administrator bob@xxxxxxxxxxxxxx
Web Walrus Media
"Affordable internet solutions for your business"
- Follow-Ups:
- [Javascript] Non-Evil Exit Consoles
- From: Rodney Myers
- [Javascript] Non-Evil Exit Consoles
- Prev by Date: [Javascript] radio button form validation issue
- Next by Date: [Javascript] Non-Evil Exit Consoles
- Previous by thread: [Javascript] radio button form validation issue
- Next by thread: [Javascript] Non-Evil Exit Consoles
- Index(es):