Flash Chat, PHP Chat, Chat Software, Live Help Chat, Website Messenger, Java Chat Server

Home » 123 Live Help Chat » FAQ » Online/Offline Button

Submit a Ticket
Request a Call Back
+86-21-64132718 (China)
+1-858-866-9362 (USA)
+44-20-3286-1986 (UK)

123 Live Help Chat

"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>
123 Live Help, Live Chat, Online chat software, Live SupportFree download Live chat software, Online chat software, Live HelpBuy Online chat software, Buy Live Chat, Buy Live Support softwareLive Chat Hosting Service, Online chat software hostingFree Live Help Chat Hosting Service, Free Online Support Chat Host Service, Free Live Chat Hostings
Products Chat Software
3rd Party Chat Plug-in & Chat Modules
Dating Chat Software About Us
Flash Chat Software
Web Messenger Software
Live Help Chat Software
PHP Chat Software
Facebook Messenger
Online Webcam Chat Software
Site Messenger Software
Java Chat Server
Online Chat Software
Free Chat Rooms
phpBB Chat Module
Joomla Chat Module
vBulletin Chat Module
Mambo Chat Module
Drupal Chat Module
Moodle Chat Module
e107 Chat Module
IPB Chat Module
PHP-Nuke Chat Module
DotNetNuke Chat Module
SkaDate Chat Addon
Datingpro Chat Module
Dolphin Chat Module
phpFoX Chat Module
Contact us
Company Blog
Partnership
Affiliate
Forum
Copyright @2001-2010 TopCMM Software Corp. Privacy policy | Terms of Use | SiteMap | Links