|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
After posting my first stupid question and getting such a quick response, I thought I'd try again.
This time I'm having problems with a pop-up window java script on my home page: http://www.min-eng.com it's only supposed to pop up once ever for each visitor, but it pops up every time. Why?!? Thanks for any help....
__________________
www.min-eng.com |
|
||||
|
Harry,
I just looked at your site and it worked correctly for me. I only have IE 6.0 on this machine, however. Good luck, Dennis
__________________
"Go sell crazy someplace else, lady! We're all stocked up here." - Jack Nicholson in "As Good As It Gets" Affordable Iowa Custom Web Design |
|
||||
|
The pop-up opend only once for me in IE6 and Netscape6 on WinXP.
When you are viewing the page, are you looking at it from the server or locally on your hard drive?
__________________
Tom Corwine Please review my site at http://www.santaslane.com?source=WebPro and be sure to check out http://www.corwine.tv <--- It's fixed now. |
|
|||
|
Make sure that cookies are allowed, and not being deleted between sessions either.
If browser is not 'cookie friendly', then the popup will launch every time you visit, because it uses a cookie on the client browser to remember visits. I just checked, and the script works in IE6. It only reappears if I delete the cookie. Your script is working properly! |
|
||||
|
Hi Amanda,
Mik made the important point about the visitor's browser being able to accept cookies, if they don't, then the popup will appear every time they visit your homepage. I think the script could be improved; after the popup loads, I click the link in the popup, and a new window (call.html) opens in a new location. So I now have three separate windows open. The homepage, the popup, and the target page! :O A script I came across on simplythebest.net seems to work a lot better. "An auto close popup window script. The popup window automatically closes once you click on a link. The script shows the new page in the main window." I realise you've chosen to use a popup to attract people's attention, but remember a lot of site visitors get extremely irritated by popups.. especially if they're loading automatically! - hence the popularity of popup blockers. So possibly the best solution would be to have a "feature" spot on your homepage to highlight particular events. Hope that helps, Paul |
|
|||
|
Thanks everyone
I have a sneaky suspicion that my boss (who reported that the ad kept popping up all the time)probably has cookies blocked. I'll have to check his computer for him. Paul - that looks like a great script, and just what I need. Thanks a lot.
__________________
www.min-eng.com |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |