how to make a pop up window form
hi i v been trying to make a pop up window or form for my user once they get to my index page then a form comes in the middle of the screen asking questions . also i want a pop up form to pop up when some one is trying to exit my page to pop up can some one please help me
http://moverscommunity.com http://moverscommunity.com/movers_blog |
I'm sure you have a good reason to do that - it's generally kinda tacky.
Use the onLoad method to get it to show up immediately: http://www.java-scripts.net/javascri...d-Pop-Up.phtml Use the onUnload method to do the opposite: http://www.javascript-coder.com/wind...dow-open.phtml Just a word of advice though - people tend to hate that. |
thanks for the replay how ever i was thinking
of something more elegant and better check out this site
http://www.hwsinet.com/ when you go to that site after a few seconds a page come up asking to donate and the back ground goes dark ...i need a pop up scrip like that can you please help me shawn@moverscommunity.com |
Quote:
http://www.youtube.com/watch?v=JXdkbhdmUMs |
its not quite what i was looking for ...do you have any other suggestion?
|
I'm not sure - it depends on what you didn't like about that :D
Basically, no matter what you do, you'll need to just hook into one of those document methods to call your javascript. I recommend you search the internet for 'pop up' 'javascript' and 'grey out' or something: http://www.google.com/search?q=javas...ient=firefox-a There are 128,000 hits. Hopefully one of them will do what you're looking for. If not, you may wish to hire a web programmer. |
All times are GMT -5. The time now is 07:52 AM. |