Chat Software, Flash Chat, PPV, Site Messenger, Live Chat

123 Live Help Chat FAQ

"online/offline" button

How to display "online/offline" button in my webpage?


1. Including following javascript code into your webpage at the proper location will enable the online/offline button there.

Following code should be inserted into <head> tags

<!----------------- 123livehelp head code begin --------------------->
<link rel="stylesheet" href="http://www.yourdomain.com/css/style.css" type="text/css" />
<script language="javascript" src="http://www.yourdomain.com/live_status.js"></script>
<script language="javascript" src="http://www.yourdomain.com/123livehelp.js"></script>
<!----------------- 123livehelp head code end --------------------->

Following code should be inserted into <body> tags
<!----------------- 123livehelp body code begin --------------------->
<script language="javascript">
var button_type=BUTTON_TYPE_IMAGE;
var online_display="http://www.yourdomain.com/img/online.jpg";
var offline_display="http://www.yourdomain.com/img/offline.jpg";
var button_assign_type=BUTTON_ASSIGN_NULL;
var chat_window_skin="violet";
var chat_window_width=495;
var chat_window_height=440;
var enable_invitation=true;
var invitation_popup_type=INVIATION_STYLE_SLIDEDOWN;
var invitation_skin=INVIATION_STYLE_BROWN;
var invitation_dept_id=1;
var define_url = "http://www.yourdomain.com";
livehelp();
</script>
<!----------------- 123livehelp body code end --------------------->


2. Among them, the "live_status.js" will be modified status at real-time by the live help java server. and the path of the "live_status.js" should be predefined in "default.xml".

By default the setting section goes like this:
<!-- The status of the staff( online or offline) will be record in a file if enable= "On",
if enable="Off", then no record will be generated. By default it's "On".
live-status-file: The path name of the staff status record file.
By default it's "", indicating default html directory, and the name of the record file is "live_status.js". -->
<live-status-file enable="on"></live-status-file>

For example, if your apache is installed in the directory "/var/www/html", you can then configure the path to: <live-status-file enable="on">/var/www/html/live_status.js</live-status-file>
Video Tour DownloadBuy License NowRent Hosting15-day Trial Hosting for 123 Live Help
Products Chat Software
3rd Party Chat Plug-in & Chat Modules
Dating Software About Us
Flash Chat Software
PPV Chat Software
Web Messenger Software
Live Help Chat Software
PHP Chat Scripts
Facebook Messenger
Online Webcam Chat Software
Site Messenger Software
Java Chat Server
Online Chat Software
Free Video Chat Rooms
WordPress Chat Plugin
phpBB Chat Module
SMF Chat Module
Joomla Chat Module
Mambo Chat Module
IPB Chat Module
TypePad Chat Widget
vBulletin Chat Module
DotNetNuke Chat Module
Drupal Chat Module
Moodle Chat Module
e107 Chat Module
SkaDate Chat Addon
Datingpro Chat Module
Dolphin Chat Module
phpFoX Chat Module
JomSocial Chat
Contact us
Company Blog
Partnership
Affiliate
Forum

Share 123 Flash Chat:

Copyright © TopCMM Software Limited 2001-2013 All Rights Reserved. Privacy policy | Terms of Use | SiteMap | Links