Limited offer!

Get a huge collection of PHP scripts in a special bundle!

Mega Sale Price

description

The "Contact Us" button /"Feedback" button/ is located at the right side of the web page and when clicked, a contact form pops up right away allowing users to contact you without even leaving the page.

The contact form consists of fields for name and email, drop-down with reasons for contact and free message text area.

The Sliding Contact Form Script is a FREE script developed and offered by PHPJabbers. You can also try out our fully supported Callback Widget which has an easy Administration page to allow manage the form fields, automated notifications and more advanced options. It also keeps all callback requests stored in a database.

download

To download Sliding Contact Form for FREE you need to login your account.

how to install

1) Download and unzip the script package.

2) Upload the script on your server.

3) Edit form.php file and set your email address, where message will be received, and email subject in the following lines:

define('_EMAIL_TO', 'admin@domain.com');
define('_EMAIL_FROM', 'no-reply@domain.com');
define('_EMAIL_SUBJECT', 'Contact Form');

4) Open the example web page index.html using any web browser.

To load the form on another web page, just add the following code before closing the <body> tag:

<script type="text/javascript" src="embed.js"></script>

If the Contact Form is loaded in a folder on your server, you need to specify the path for the js file. For example:

<script type="text/javascript" src="/FOLDER_NAME/embed.js"></script>

5) If the form is loaded in different file and from another folder on your server, you need to specify the path where the files are located.

In order to make it work, open file "embed.js" and change line 135 to point to your sliding form folder.

It is now like this:
server_url = document.location.href.replace(/([a-z.]+)$/i, '');

change it to
server_url = 'http://YOUR DOMAIN/FOLDER_NAME/';

Special Offer!

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

Mega Sale Bundle Price
138 Comments to "Sliding Contact Form"
  • Jamika Dalgety

    Jamika Dalgety

    February 3, 2021 at 00:14 am

    I have a couple of questions for you

  • wonze

    wonze

    July 21, 2020 at 22:40 pm

    Thanks for the sliding-contact-form.
    It is possible to insert it in joomla 3.x? Please let me know how. It is important.
    Waiting. thanks again

  • Jack

    Jack

    May 10, 2020 at 16:42 pm

    I have upgraded my hosting to SSL and the sliding contact form has stopped working - any ideas as to what needs changing adjusting?
    Thank you

    • Roney Ngala

      Roney Ngala

      November 8, 2020 at 17:01 pm

      To make it work, open the JS file "embed.js" and change the line that reads -->

       server_url = document.location.href.replace(/([a-z.]+)$/i, ''); 
      -- Change it to
       server_url = 'https://your-domain/FOLDER_NAME/'; 

  • Massimo

    Massimo

    April 8, 2020 at 01:12 am

    Image btn_contact.png there is not seen when you open the file when you open the index.html file

  • massimo

    massimo

    April 7, 2020 at 15:30 pm

    I downloaded your free sliding-contact-form script but it doesn't work, it doesn't display the image btn_contact.png Do you download them for free just because they don't work?
    sliding-contact-form does not appear in the product list!
    Regards, Giancarlo

    • GP

      GP

      April 7, 2020 at 21:28 pm

      You can download that file directly from the demo
      http://demo.phpjabbers.com/freescripts/sliding-contact-form/img/btn_contact.png

  • Sagar Gurav

    Sagar Gurav

    March 5, 2020 at 12:39 pm

    Thank you so much for this code. It works perfectly fine. The only problem I have faced is that this script does not work when you switch to HTTPS from HTTP. If you have any way to patch this let me know. Thank you again for the script.

  • Milan

    Milan

    January 5, 2020 at 06:26 am

    This works great but there is one issue with this plugin, it is not good for maintaining the SEO sequence of the web pages as if I am using this on any other pages rather than index.php which pages URL contains - e.g. "https://yourdomainame/new-arrivals-shoes" then it's not working but if I am using URL e.g. "https://yourdomainame/newarrivalsshoes" then it's working fine.
    So can you provide me any solution to rectify and overcome this problem to achieve the desired result with URL "https://yourdomainame/new-arrivals-shoes"
    Regards
    Milan

  • dev

    dev

    September 30, 2019 at 20:43 pm

    how to integrate this in wordpress

  • Arnel

    Arnel

    May 10, 2019 at 02:37 am

    Tried to embed this to a php file and it doesn't work. Is there a work around?

  • Chelsey

    Chelsey

    February 8, 2018 at 22:57 pm

    Are there known compatibility issues with this script and Google Chrome? Whenever our firm attempts to place this script on a website that is running another PHP Script or that has an internal anchor link (services.html#test) the pages do not load. When troubleshooting the issue(s), everything tends to correct itself once the Sliding Contact Form is removed. These issues only appear in Google Chrome.

next

Add your comment

Captcha