Thanks for the reply. but where should I put this code and how? There is a button in the contact page named "Skypee Status", but how can I put all these code and where?
If you have a flash template embbeded on a site, you can just have this skype status button below the flash object, so , no need to put it inside flash.
Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries
If you have a flash template embbeded on a site, you can just have this skype status button below the flash object, so , no need to put it inside flash.
I embed the code in the index.html page , kindly view is it all-right I have some confusion till , please take a look in the front page.
I like when the user view this page he clicked this button open to start chat with the person having Skypee Id "berjozkin_23" , this is the code I pasted in the index.html page
Code:
<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
('berjozkin_23','dropdown-trans','chat','show_status_1');
});
</script>
Kindly look into here Where I am doing wrong. I think the button is not working properly.
Well, if you wait for me, while I install Skype and try to help you with that, because i'm not a skype person, so, I'm doing research. I found that site i gave you, to create a status button , that it was what you asked for in first place. Now you want to be able to chat in there, so, let my "try" to understand that code, and see what it needs to be fixed. Regards
Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries
Thanks for this link and I managed to show the status in the web, but the problem is there is one spot over the " Skype Status Button" ( Refer my attached image). I tried but failed to remove it. If you kindly look into my code I think you can solve this one. Here is my code that I am using.
Here you can find one spot over the "Skype status button"
This is the code, I think something is wrong here.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<style type="text/css">
body {
background-color: #14191E;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#face {
float: left;
height: 20px;
width: 460px;
}
#shout {
float: right;
margin-right: 10px;
}
#show_status_1{
float:left;
margin-left:300px;
}
</style>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="980" height="705">
<param name="movie" value="main_v8.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="main_v8.swf" width="980" height="705">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
</tr>
<tr>
<td>
<div id="face">
<div class="fb-like" data-href="http://www.flashybee.com/" data-send="false" data-width="450" data-show-faces="true" data-colorscheme="dark"></div>
</div>
<!-----------
<div id="shout">
<embed src='http://www.shoutcast.com/media/popupPlayer_V19.swf?stationid=http://yp.shoutcast.com/sbin/tunein-station.pls?id=731538&play_status=1' quality='high' bgcolor='#14191E' width='200' height='50' name='popupPlayer_V19' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' ></embed>
</div>
-------------->
</td>
</tr>
<tr>
<td><div id="facebookimage"><img src="images/facebook-images.png" /></div></td></tr>
</table>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</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('berjozkin_23','dropdown-trans','chat','show_status_1');
});
</script>
</body>
</html>