943,670 Members | Top Members by Rank

Ad:
Aug 15th, 2006
0

How to open a popup page automatically?

Expand Post »
Hi,

I'm trying to make a simple popup page appear every time a user visits a particular page on my website. I want to make sure that the user reads the message in the popup, so I would like the popup to be superimposed on the webpage that called the popup. Basically, I want to have something like the last sample on this website:
http://prototype-window.xilinus.com/samples.html
The only difference is that I want this to happen every time a user goes to the particular page.
Thanks!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
uxohus2b is offline Offline
5 posts
since Jul 2006
Aug 15th, 2006
0

Re: How to open a popup page automatically?

Why would you want to annoy your visitors like that?
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Aug 17th, 2006
0

Re: How to open a popup page automatically?

you can do it by calling a Javascript function which opens the window on the load of the page...
there is an attribute onLoad with the <body tag....you can use that.......

but be very sure that the popup has to open everytime the page is viewed......
Reputation Points: 12
Solved Threads: 2
Light Poster
anuradhu is offline Offline
28 posts
since Apr 2006
Aug 17th, 2006
0

Re: How to open a popup page automatically?

You can use window.open(). I suggest using a DIV, instead. For an example, look at any of my technical articles. Click the header, and a popup regarding the logo appears. All the CSS and scripts can be found by viewing the source on an article page.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Aug 20th, 2006
0

Re: How to open a popup page automatically?

Hi uxohus2b,
As new browsers do have pop-up blocker, then willing to open a new pop-up window is not good idea.

Good luck.
Reputation Points: 55
Solved Threads: 11
Junior Poster
mostafadotnet is offline Offline
157 posts
since Jul 2006
Aug 23rd, 2006
0

Re: How to open a popup page automatically?

Thanks a lot for all your suggestions.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
uxohus2b is offline Offline
5 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: how to print table background color?
Next Thread in HTML and CSS Forum Timeline: browse pop up





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC