File: example.html

Recommend this page to a friend!
  Classes of Arturs Sosins  >  Skype status  >  example.html  >  Download  
File: example.html
Role: Example script
Content type: text/plain
Description: Example usage
Class: Skype status
Show and update the online status of a Skype user
Author: By
Last change: Comments changed
Date: 11 years ago
Size: 2,444 bytes


Class file image Download
 * This script is developed by Arturs Sosins aka ar2rsawseen,
 * Feel free to distribute and modify code, but keep reference to its creator
 * 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.
 * For more information, examples and online documentation visit: 
<div id='skype_status'></div>
<script src="./skype_status.packed.js" type="text/javascript"></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: "echo123",
		* 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