Display skype status image on your website
Skype status class can display your skype status as skype image on your website and update it automatically using specified update interval. This class also provides option to use skype functions on displayed status image, like call, chat, add to contacts, show profile, send voicemail or file.
Note that you must enable "Allow my online status to be shown on the web" in your skype privacy settings, or your status will be shown as offline.
Package contains skype_status.js and skype_status.packed.js (packed javascript), and one example file - example.html (to demonstrate how to use this package).
Contents
Download
Example codes
<html> <head> </head> <body> <div id='skype_status'></div> <script src="./skype_status.packed.js" type="text/javascript"></script> <script> var sk = new skype_status("skype_status", { /*************************************** * Your skype username * Multiple usernames can be provided in array * to create multi user chat, conference call, etc * but only first user will be used to get online status ****************************************/ skype_name: "ar2rsawseen", /*************************************** * Possible types of images: * balloon - Balloon style * bigclassic - Big Classic Style * smallclassic - Small Classic Style * smallicon - Small Icon (transparent background) * mediumicon - Medium Icon * dropdown-white - Dropdown White Background * dropdown-trans - Dropdown Transparent Background ****************************************/ image: "balloon", /*************************************** * Possible types of actions: * "" - Empty, no action. * call - Call to user * chat - Open chat window * add - Add to skype * userinfo - Open user profile * voicemail - Leave voicemail (Only if you have voicemail subscription) * sendfile - Send file to user ****************************************/ action: "call", //how often to recheck skype status in miliseconds update: 10000 } ); </script> </body> </html>
Examples in action
Method list
Constructor
| Method name | new skype_status(id, config) |
| Description | Creates class instance with provided configuration |
| Input parameters | string id - ID of element where to display skype status json config - json structure with configuration:
|
Latest changes
None for now
Rate us
Try it out and Rate on JSclasses.org
Support
JS classes support forum or comments below
You may also be interested in:
Powered by BlogAlike.com










