Click to See Complete Forum and Search --> : Java Pop-up window Question


JupiterStroll
07-04-2003, 07:37 PM
Hey everyone,

This question has been bothering me for the longest time now, and no matter how many websites I goto that give Javascript How-to's, I can never seem to find the script for this. So I am going to explain this the best I can, and if anyone understands what I am trying to describe, please reply and tell me how it's done.

What I want to do, is create a link, for example on my website for an "E-mail Me" text link. That, when someone clicks on it, a window will pop-up, and then when that window pops-up, I want it to have a forum field, so someone can enter their email address, name, and question. Then I wanted their to be a button, so it can send me all the info, and then I wanted it to, in the same pop-up window, goto a thank you page, that will either close in a few seconds, or have a button, so the person who sent the information, can close the window themselves.

Now, I know how to use forums and all that, I just want to know how I can make that pop-up window work. And I also wanted that pop-up window, to not have any toolbar information. Just the forum text slots, and down at the bottom, in the right corner, I wanted there to be either an X or a text saying "Close". Incase they just wanted to close the window, and I want THAT to be the only way to close that window.

So, if anyone knows what I am talking about, I really would appreciate if they could get back to me with a How To. And I also didn't just want to use it for an EMAIL ME pop-up window, I wanted to use it for other page information. I wanted to use the pop-up windows as an alternative to having people clicking on links, and having them open up in a seperate frame or on top of one another.

I am really looking forward to hearing from someone, because like I said in the beginning, this has been a problem I cannot seem to overcome or figure out on my own.

Hope I can hear from someone soon, and thank you all in advance. Take care.

Khalid Ali
07-04-2003, 07:48 PM
you can create th epopup window and submit the form using "emailto" for sending an email,however the second part of your question where you want the thank you page to open,thats not possible with JavaScript for that you will have to use server side programming.
In IE you might be able to make it work but that will not be credible enough...
So post again that inly a form that submits using email is good enough in the popup????