Skip to content

edenreich/Chat-jQuery-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Chat jQuery Plugin A nice plugin to use a chat application on your website

##How To Use All you need to do is to embed this code between your javascript tags.

$.chat({
	
});

##Available Options you can pass your options as json object to the $.chat() plugin. example:

$.chat({
	'available_option': 'my_option',
});

####The URL to the script where you handle the backend get proccess to get the messages from the database like so:

getURL: 'getMessages.php',

####The URL to the script where you handle the backend post proccess to post the message to the database like so:

postURL: 'postMessages.php',

####The background color you wish for your chat like so:

background: '#47b403',

####The welcome message you wish to display as soon as the user clicks on start like so:

welcome: 'customer team will contact you as soon as possible.',

####The generated token you wish your chat to use for security purposes like so:

_token: $('[name="csrf_token"]').attr('content'),

About

A nice plugin to use a chat application on your website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published