PDA

View Full Version : Pop-up ONLY if click the back button? Please help...


1Lit.com
03-10-2002, 22:18/10:18PM
OK, here's the score. Like many other webmasters, I'm paying huge sums to the pay-per-click search engines to draw traffic to my Website. I spend a considerable period of time writing my site descriptions so that people know what they'll encounter when they click-through to my sites.

Nevertheless, upon clicking-through, many people press the back-button after only a few seconds. That equals 5 or 10 cents down the drain for me.

I would like a second bite of the cherry at these surfers. Therefore, could anybody please refer me to the code I can use to ensure a pop-up appears IF somebody doesn't go deeper into my site? Don't want to annoy visitors who are surfing my site...

I know it is possible to ammend the <A HREF> tags to make pop-ups/unders only appear if selected ones are clicked on.

Any way of actioning a pop-up on the back button please?

Thank you in advance for any help with this :)

bigDugan
03-10-2002, 22:33/10:33PM
The pop ups and pop unders that I'm aware of are javascript based only. You could use the onunload event handler (http://www.javascript-page.com/onunload.html) in your body tag to enable a popup after the user leaves the page, via the back button or other methods. But this only works if the user has javascript enabled (as most do).

1Lit.com
03-10-2002, 22:56/10:56PM
Thank you for your response :) Much appreciated.

But this is not selective. I ONLY want a pop-up if the user goes back. Therefore I need a selective event handler that won't make a pop-up appear if the user clicks on the A HREF tags to go deeper into my site.

bigDugan
03-10-2002, 23:08/11:08PM
Sorry, I cant seem to find anything that is triggered only by the back button. Maybe somebody else can. :(

Advisor
04-10-2002, 10:18/10:18AM
If I remember correctly, if you're using Google Adwords they do not allow pop ups to appear with the pages adverstised with their program. So don't use it with them (or read their terms in case I'm remembering incorrectly).

Jill