To enable the Skype4COM for IE delete the following registry key: HKLMSOFTWAREMicrosoftInternet ExplorerActiveX Compatibility{830690FC-BF2F-47A6-AC2D-330BCB402664}
The following HTML code shows how to use it from IE javascript.
CODE
<html>
//Start Skype using the Skype4COM.Client object method
<body onload="Skype.Client.Start(); Skype.Attach();">
//Load the Skype4COM object
<object classid="clsid:830690fc-bf2f-47a6-ac2d-330bcb402664" name="Skype" width="0" height="0" id="Skype">
<span class="c1">Failed to load Skype4COM control.</span>
</object>
//Here I listen for a change in api status
</script><script language="JavaScript" type="text/JavaScript" for="Skype" event="AttachmentStatus(Status)">
//pop an alert to show that it works
alert('Attachment Status changed to:' + Skype.Convert.AttachmentStatusToText(Status));
</script>
//Here I listen for a change in user status
<script language="JavaScript" type="text/JavaScript" for="Skype" event="UserStatus(Status)">
//pop an alert to show that it works
alert('User Status changed to:' + Skype.Convert.UserStatusToText(Status));
</script>
//Here I listen for a change in call status
<script language="JavaScript" type="text/JavaScript" for="Skype" event="CallStatus(Call, Status)">
//pop the callerid info and call status to show that it works
alert('Caller Id: ' + Call.PartnerHandle);
alert('Call Status: ' + Skype.Convert.CallStatusToText(Status));
</script>
</body>
</html>