LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2010, 10:10 AM   #1
abanksob1
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
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
 
Old 01-13-2010, 10:27 AM   #2
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
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.
 
Old 02-04-2010, 06:39 AM   #3
abanksob1
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 02-04-2010, 08:11 PM   #4
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
Quote:
Originally Posted by abanksob1 View Post
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
Wow, that's awful. Well you could try this tutorial:
http://www.youtube.com/watch?v=JXdkbhdmUMs
 
Old 02-05-2010, 08:10 AM   #5
abanksob1
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
its not quite what i was looking for ...do you have any other suggestion?
 
Old 02-05-2010, 09:24 AM   #6
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: OpenBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 440

Rep: Reputation: 57
I'm not sure - it depends on what you didn't like about that

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.
 
  


Reply

Tags
javascript, popup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which email client prints calendar/contact in booklet form & does multiple pop accts? hey_tonite! Linux - Software 0 04-22-2009 04:12 AM
pop up a window manojg Linux - Newbie 6 03-07-2006 08:01 AM
tk pop up window is dead munichtexan Linux - Software 0 11-29-2005 09:26 PM
Pop up Window (do you know what it means) xpression Linux - Newbie 3 09-18-2005 10:16 AM
Look up record pop up window. agallant Programming 0 08-04-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration