go top

MEGA Sale

  • Colection of 65 PHP scripts for $4.29 each

JavaScript Popup Box

Use our FREE JavaScript dialog box to add a popup form on your web pages and ask your visitors for their name and email! The popup box will load automatically in 2 seconds. Submitting the form is mandatory. Users cannot close the popup box and have to provide their details to continue reading.

Version: 1.0 / Downloads: 1,864

JavaScript Popup Box

Share on:

SPECIAL OFFER

Get 65 PHP scripts in a bundle for $4.29 each!

*For a limited time only get the best deal ever on the market!

View Offer

Description

Adding a dialog box or a popup form on your website pages can help you interact with your visitors and improve communication. Our FREE script will enable you to show a dialog box with a simple form a few seconds after the web page is loaded.

The most appealing feature of JavaScript Popup Box is that users cannot close the dialog box. This makes the form mandatory - users have to submit it if they would like to access the full content of your web page.

The popup form consists of a title and 2 fields - for name and email. Both fields are mandatory, and there is an email validation.

You can use the JavaScript popup form to collect visitors' details or ask them to sign up for your newsletter. All user data will be recorded into a TXT file.

What else you can do?
- Edit the popup dialog box CSS styles.
- Change text content.
- Manage the time interval between loading the page and showing up the dialog box.
- Change the data.txt filename.

Download

To download JavaScript Popup Box for FREE you need to login your account.

Share on:

How to Install

Follow the steps below to install our FREE JavaScript Popup Box on your web pages:

1) Log in to your PHPJabbers account and download PopUpDialog.zip file from our website.

2) Unzip the file and upload /dialog/ folder on your website.

3) Edit the web page where you want the popup dialog box to appear and put this line of code:

<script src="dialog/load.js"></script>

at the very bottom of your web page just before the closing </body> tag.

4) Now open your web page and the popup form will appear within 2 seconds. You can configure this interval by editing load.js file line 35
setTimeout(function(){self.loadDialog();}, 2000);

To make it 5 seconds, for example, you need to change this line to
setTimeout(function(){self.loadDialog();}, 5000);

To customize the appearance of the dialog box, you can edit the load.js file and change all CSS styles found between lines 150 and 190. The content of the popup form is generated between lines 209 and 242.

5) Email and Name submitted via the form are saved in a data.txt file located in /dialog/ folder. To change the name of this data text file to something more secure and unique, edit data.php and change line 4
$file = 'data.txt';

Need advanced web form processors?

PHP scripts that will enable you to manage your website forms:

  • PHP Contact Form Generator

    PHP Contact Form Generator

    A PHP contact form script that allows you to create any kind of web form.

    User License
    $19.00
  • Callback Widget

    Callback Widget

    Place a discreet request callback button on your website and interact with your leads.

    User License
    $19.00
  • PHP Comment Script

    PHP Comment Script

    Set up a comment box and allow your visitors post their comments.

    User License
    $19.00
  • PHP Review Script

    PHP Review Script

    The PHP Review Script is a web tool that lets you enable customers to review products and services.

    User License
    $39.00

Commercial PHP Scripts

Buy all 65 scripts in a bundle for $4.29 each. Learn more