Access your Activa Live Chat account. Sign In Here »

Activa Live Chat Features

contact us Contact Us by E-mail

call us 888–4–CHAT–44
(888–424–2844)

Free Trial

Get full access to Activa Live Chat for 14-days with a trial sign up.

Customization Request

Use our professionals for custom implementations or design services.

Using Activa Live Chat with AJAX driven Websites.

Activa Live Chat Support » Deployment » How To

Article ID: 19 | Last Modified: 02/19/2008

Activa Live Chat was designed to do most of its initialization work AFTER the content on your page is loaded. Unfortunately, many AJAX applications are also waiting until this moment to start their rendering.

This means that Activa Live Chat can slightly delay your AJAX application from starting (although, only slightly). To prevent this, you can change the location of the Activa Live Chat javascript code within your page:

  1. Move the deployment code to the very bottom of your page, just before the closing </body> tag.
  2. Add the following tags below the deployment code: <script></script>
  3. Move the last line of the button code (it should start with "__ALC_Badges.push"...) in between your new script tags.

That's it. ALC will now be the final script initialized on your site, and the LOAD events that your AJAX is listening for will fire before your buttons are initialized.