SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
May 18, 2002, 07:54 #1
- Join Date
- Apr 2002
- Location
- UK
- Posts
- 479
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
Pop-up/under only if surfer clicks the back button?
We are paying an enormous amount for traffic from PPCSEs and, of course, a significant number of people don't buy anything from us but just click the back button to return to Overture or wherever.
Therefore I thought it might be a good idea to have a second 'bite of the cherry' by trying to lure them with some other service only if they click the back button. We don't want to present the pop-up/under to a surfer who chooses to go deeper into our site.
I was wondering if anybody knew how we could do this please? Thank you in advance for your help
P.S. I don't want this to become a thread discussing the 'morality' of such a script. The likes of Overture are raking in millions of dollars by deceptively making their results out to be bona fide search listings when they are nothing of the sort.Azam Marketing, Inc.
Award-Winning Digital Marketing and Design Results Since 1997
Click here to read acclaimed online marketing & design blog
-
May 18, 2002, 09:33 #2
- Join Date
- Feb 2002
- Location
- Gatwick, UK
- Posts
- 1,206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
use the window.onunload event to trigger and event.
use the event details to find out if it's a history.back()... msdn.microsoft.com/library should be able to help you with the events property section.
Flawless---=| If you're going to buy a pet - get a Shetland Giraffe |=---
-
May 18, 2002, 09:38 #3
- Join Date
- Feb 2002
- Location
- Gatwick, UK
- Posts
- 1,206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
window.event.srcElement might do it - but i'm not sure, since the back button is, obviously, outside the domain of the dom.
the event.keyCode might supply you it - but i doubt it.
Flawless---=| If you're going to buy a pet - get a Shetland Giraffe |=---
-
May 22, 2002, 11:36 #4
- Join Date
- May 2002
- Location
- Jacksonville, FL
- Posts
- 1,168
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Isn't there a function for when you leave the site? I know I've seen it before.
-
May 22, 2002, 11:50 #5
- Join Date
- Feb 2002
- Location
- Gatwick, UK
- Posts
- 1,206
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
that would be a method, and onunload, and onbeforeunload.
Flawless---=| If you're going to buy a pet - get a Shetland Giraffe |=---
Bookmarks