JS functions to trigger chat widget

Javascript functions to display and hide the chat widget on your webpage.

Execute the following Javascript functions to trigger the chat widget on your web page.

Opening the chat widget

wn.openWidget(); 

//Opens the chat window but minimizes it when clicked on the cross
wn.openWidget(true)

Hiding the chat widget

wn.hideWidget();

Showing the chat widget

wn.showWidget();

//Shows the chat bubble but minimizes it when clicked on the cross.
wn.showWidget(true)  

Last updated