Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Closed Thread
How to make popup for leaving users?
Old 03-31-2011, 02:16 PM How to make popup for leaving users?
Novice Talker

Posts: 8
Trades: 0
Hello everyone!
How to create a popup for first time visitors leaving my site? I want to make a message so that there will be some chances of them coming back, and if they come back I don't want that popup to show up for them!
Please help me, thank you!
exoldier is offline
View Public Profile Visit exoldier's homepage!
 
 
Register now for full access!
Old 03-31-2011, 02:36 PM Re: How to make popup for leaving users?
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
There is no quicker way of ensuring someone leaving your site will never come back, and tell others never to arrive then a popup that says, "Are you sure you want to navigate away from this site?" Do NOT do this.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
View Public Profile Visit serandfae's homepage!
 
Old 03-31-2011, 02:37 PM Re: How to make popup for leaving users?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Same code and cookie setting as used for the popup on opening the page, but use the window.close event to trigger the popup.

NB:
The window.close event is not implemented in ALL browsers.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-31-2011, 02:39 PM Re: How to make popup for leaving users?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND!

Even though it is posible, it should ONLY be done where uncompleted input exists or for enforced logouts
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to How to make popup for leaving users?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22862 seconds with 12 queries