How to open a popup page automatically?

Reply

Join Date: Jul 2006
Posts: 5
Reputation: uxohus2b is an unknown quantity at this point 
Solved Threads: 0
uxohus2b uxohus2b is offline Offline
Newbie Poster

How to open a popup page automatically?

 
0
  #1
Aug 15th, 2006
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!
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: How to open a popup page automatically?

 
0
  #2
Aug 15th, 2006
Why would you want to annoy your visitors like that?
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 28
Reputation: anuradhu is an unknown quantity at this point 
Solved Threads: 2
anuradhu anuradhu is offline Offline
Light Poster

Re: How to open a popup page automatically?

 
0
  #3
Aug 17th, 2006
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......
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: How to open a popup page automatically?

 
0
  #4
Aug 17th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 155
Reputation: mostafadotnet is on a distinguished road 
Solved Threads: 10
mostafadotnet's Avatar
mostafadotnet mostafadotnet is offline Offline
Junior Poster

Re: How to open a popup page automatically?

 
0
  #5
Aug 20th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 5
Reputation: uxohus2b is an unknown quantity at this point 
Solved Threads: 0
uxohus2b uxohus2b is offline Offline
Newbie Poster

Re: How to open a popup page automatically?

 
0
  #6
Aug 23rd, 2006
Thanks a lot for all your suggestions.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC