Navigation Menu
Alphabetical Listing
Site Contents

Site FAQ
About JSS
JavaScript Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript Help
Contribute a script
Technology Jobs

Become a Partner

Internet.commerce

Be a Commerce Partner














Internet.com

IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

Great Sites

DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Social Bookmark

General

Use this script to create a form that will open on top of the existing page, using a hidden DIV. A default link is included to allow for JavaScript being turned off or unavailable.


Contact Information

Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: popOverForm.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


User Comments

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

7. From: Cody
10/07/2008 22:54:54

Does the form need to be in a seperate aspx page? (or html, doent matter) I have followed the instructions and cant get this to work. >:-|

8. From: Lee (Admin)
11/06/2008 11:25:10

No, as shown in the source code for the body, it's on the same page. If you continue to have problems, you will need to post it over on the JavaScript forum. Thanks!

5. From: Tanmoy Ghosh
Java Script html
12/29/2007 00:54:57

How to write a DIV with a SRC properties which will execute the requested page with in the DIV.

6. From: Lee Underwood (Admin)
01/29/2008 12:27:46

Due to the limitations of these comments, you will need to submit your question to the JavaScript Forum for further help.

3. From: shaunmeloy
how to close
12/28/2007 19:07:36

can you tell me how to:

when you click on it it opens to form and i want to be able to click it again and for it to close please tell me how to do this thanks

shaun meloy

4. From: Lee Underwood (Admin)
01/29/2008 12:27:21

Just press the "cancel" button to close it.

1. From: Mike Dragonetti
Pop over form question
12/28/2007 13:57:24

Hi,

I'm new to the web design business. I like this pop over form and I'm thinking of using it. I have a couple of questions:

1) Can this form be expanded to include more fields and questions?

2) Say I have this form at my website, and someone fills it out. How can I get the information gathered by the form?

Thanks in advance, and Happy New Year!
Mike

9. From: Casey
disable bottom window
11/13/2008 18:00:49

Exactly what I'm looking for, but how would I go about disabling (and preferably dimming) the lower window while the popup is active? Then once submitted or canceled, the lower screen is re-enabled and lit back up?

10. From: Lee (Admin)
11/18/2008 11:41:54

Well, there are a few ways to do it. One, you could use the GreyBox technique. Also, here is a tutorial about another method.

2. From: Lee Underwood (Admin)
01/29/2008 12:25:05

First let me say welcome, Mike, to the business!

1) Sure, just set-up the form however you want it to be.

2) In the form portion, <form method="post" id="frm">, you would place the link to your form handler script. If you want further information, you can submit your question to the <a href="http://www.webdeveloper.com/forum/>forum</a> for further help.


Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.