API - information for webmasters

If you wish to control Lime Talk automaticaly without using Lime Talk client zone, you may use Lime Talk API functions:

Setting widget position

limetalk.api.setPosition('left'); 
limetalk.api.setPosition('right');

Widget properties (expanding, minimizing, color changes)

limetalk.api.chatbox.show();
limetalk.api.chatbox.hide();
limetalk.api.chatbox.setColor('#000000');

Bubble properties (expanding, minimizing, color changes)

limetalk.api.bubble.show();
limetalk.api.bubble.hide();
limetalk.api.bubble.setColor('#000000');

Setting visitor's name and e-mail

limetalk.api.visitor.setDefaults('Name', 'name@email.domain');

If you wish to call any of the above mentioned commands before the widget is loaded (for instance when calling during event <body onload="">), you must wrap the above mentioned commands in function:

limetalk.ready(function() { });

Example:

limetalk.ready(function() { limetalk.api.setPosition('left'); });

To use above mentioned commands you must use the newest version of embedded Lime Talk code on your website. This code is available in Lime Talk client zone in "Preferences"->"Embed widget code on site" since 26th January 2014.