These pages provides demonstrations
of several configurations of the API

Demonstration 3

Following block of messages is requested from this page to the QuickTalk API.
The block of messages is here animated by jQuery UI accordion script. Click the gray zone to expand a message.

<?php
$qtgapi_path = '';
$qtgapi_head = false;
$qtgapi_count = 5; 
$qtgapi_script = '
  <script src="jquery/jquery-1.4.2.min.js" type="text/javascript"></script>
  <script src="jquery/jquery-ui-1.8.2.min.js" type="text/javascript"></script>
  <script  type="text/javascript">
  jQuery(document).ready(function(){
  $(".messages").accordion({ header:"p.messageinfo", navigation:true});
  });
  </script>
  <style type="text/css"> .qtg .messageinfo {cursor:pointer} </style>';
include($qtgapi_path.'qtgapi.php');
?>

Here the jQuery libraries is included simply by the variable $qtgapi_script. The returned block includes the jQuery library reference and the specific javascript code.

Start page | Demo 3 | Demo 4 | Demo 5