homepage Welcome to WebmasterWorld Guest from 54.226.136.179
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Pop up Question
How do I get it to not pop up again once closed.
J_Mac

10+ Year Member



 
Msg#: 1025 posted 4:11 am on Dec 17, 2003 (gmt 0)

How do I get a pop up window to not pop up once a visitor closes it moves on then returns to the main page or uses the refresh button?

My intention is that they not be bothered with it once they decide to close it.

Any help is appreciated.

 

HocusPocus

10+ Year Member



 
Msg#: 1025 posted 1:18 pm on Dec 17, 2003 (gmt 0)

Just a suggestion but you could use javascript cookies.

jim_w

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1025 posted 1:21 pm on Dec 17, 2003 (gmt 0)

Personally, I would get rid of the pop-up. According to Bloomberg, 20% of Internet users already have a pop-up blocker and the next release of IE will have one in it as well.

krieves

10+ Year Member



 
Msg#: 1025 posted 3:15 pm on Dec 17, 2003 (gmt 0)

One way to do it without cookies would be to create hidden field on the main page that get populated from the popup. The code that launches the popup should look to this flag to determine whether or not to launch the popup.

J_Mac

10+ Year Member



 
Msg#: 1025 posted 11:13 pm on Dec 17, 2003 (gmt 0)

Thanks HOCUSPOCUS. I found a script that uses javascript cookies. I think it will do.

Personally, I would get rid of the pop-up.

I don't care for them myself but I can't ignore the fact that when I stopped using them to promote my most profitable line, I saw sales decrease to 30% of what they normally were.

Like them or not they do work.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved