This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > October 2005 > closing pop up window





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author closing pop up window
yello77

2005-10-31, 6:29 pm

i have a pop up window come up when the Home page is loaded (onload).
my problem is that this site is navigated by the user returning to the Home
page in order to view other pages -
so, each time the user goes back to the Home page another pop up window comes
up.
is there a way to only have the pop up window come up once ( when the user
first comes to the site) and if that pop up window is closed it will not appear
again?

many thanks

NYDude

2005-10-31, 6:29 pm

You could set a 24-hour cookie and if the cookie is found the popup window
can be set to not open or just auto-close.



"yello77" <webforumsuser@macromedia.com> wrote in message
news:dk5s6a$n0a$1@forums.macromedia.com...
>i have a pop up window come up when the Home page is loaded (onload).
> my problem is that this site is navigated by the user returning to the
> Home
> page in order to view other pages -
> so, each time the user goes back to the Home page another pop up window
> comes
> up.
> is there a way to only have the pop up window come up once ( when the user
> first comes to the site) and if that pop up window is closed it will not
> appear
> again?
>
> many thanks
>



Murray *TMM*

2005-10-31, 6:29 pm

Most users won't see it anyhow, since it will be blocked....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"yello77" <webforumsuser@macromedia.com> wrote in message
news:dk5s6a$n0a$1@forums.macromedia.com...
>i have a pop up window come up when the Home page is loaded (onload).
> my problem is that this site is navigated by the user returning to the
> Home
> page in order to view other pages -
> so, each time the user goes back to the Home page another pop up window
> comes
> up.
> is there a way to only have the pop up window come up once ( when the user
> first comes to the site) and if that pop up window is closed it will not
> appear
> again?
>
> many thanks
>



NYDude

2005-10-31, 6:29 pm

Assuming that "most" people will not see it is not a safe approach. It would
make more sense to set a cookie to allow it to only pop open once.



"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk60ta$ed$1@forums.macromedia.com...
> Most users won't see it anyhow, since it will be blocked....
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "yello77" <webforumsuser@macromedia.com> wrote in message
> news:dk5s6a$n0a$1@forums.macromedia.com...
>
>



Murray *TMM*

2005-10-31, 6:29 pm

Think of it this way - why waste the time and effort to do a pop-up onload
at all if a) most people won't see it, and b) you have to fiddle around with
cookies to make it work the way you want. That's my point.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"NYDude" <mitch_001@REMOVEyahoo.com> wrote in message
news:dk61lg$1gv$1@forums.macromedia.com...
> Assuming that "most" people will not see it is not a safe approach. It
> would make more sense to set a cookie to allow it to only pop open once.
>
>
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk60ta$ed$1@forums.macromedia.com...
>
>



NYDude

2005-10-31, 6:29 pm

I totally understand what you are saying, but to be safe why not code the
popup window to only open once per day, that way the people that are not
lumped into the "most" category are nor annoyed.





"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk62mc$2vs$1@forums.macromedia.com...
> Think of it this way - why waste the time and effort to do a pop-up onload
> at all if a) most people won't see it, and b) you have to fiddle around
> with cookies to make it work the way you want. That's my point.
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "NYDude" <mitch_001@REMOVEyahoo.com> wrote in message
> news:dk61lg$1gv$1@forums.macromedia.com...
>
>



Murray *TMM*

2005-10-31, 6:29 pm

> that way the people that are not lumped into the "most" category are nor
> annoyed.


You think? I don't....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"NYDude" <mitch_001@REMOVEyahoo.com> wrote in message
news:dk63nt$4gs$1@forums.macromedia.com...
>I totally understand what you are saying, but to be safe why not code the
>popup window to only open once per day, that way the people that are not
>lumped into the "most" category are nor annoyed.
>
>
>
>
>
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:dk62mc$2vs$1@forums.macromedia.com...
>
>



NYDude

2005-10-31, 10:22 pm

Murray,

You sure seem to want to argue a lot these days.

I guess we can agree to disagree.





"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:dk666u$7qk$1@forums.macromedia.com...
>
> You think? I don't....
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
>
> "NYDude" <mitch_001@REMOVEyahoo.com> wrote in message
> news:dk63nt$4gs$1@forums.macromedia.com...
>
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews