Nowadays, Skype is one of the best desktop application to communicate on the . Skype is a and questions are.
How any one show Skype status on web application ?
How any one call, chat or send file to other Skype user from web application ?
Here I write a JavaScript function using jQuery which return any user’s Skype status with specified functionality like call, chat, send file.
For testing this just copy the code below and save as HTML file and run.
No need to download jQuery or other script.
<div id='show_status_1'></div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script> <script> /* **************************************************************** * @skypeId : skype id of the user you want to show status. * * @iconType : which type of skype status icon you want to show. * 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 * * @skypeEvent : which event you want to call on onclick event of skype status icon * caht - Opne chat window * call - Call that user * add - Added that user to contact list * userinfo - Show user info of that user * sendfile - Send selected file to that user * * @statusShowId : id of the HTML element where you want to show the status icon * **********************************************************/ function getSkypeStatus(skypeId,iconType,skypeEvent,statusShowId){ var image = new Image() $(image).attr('src','http://mystatus.skype.com/'+iconType+'/'+skypeId); var src = $(image).attr('src'); var html = skypeId + '<a href="skype:'+skypeId+'?'+skypeEvent+'" onclick="return skypeCheck();"><img src="'+src+'" border="0"></a>'; $('#show_status_1').append(html); } $(function() { getSkypeStatus ('mfsi_subranild','smallicon','chat','show_status_1'); }); </script>