I have a short script that works in an HTML page and pulls a person's communicator presence given their email address. When I try this in a gadget, it just won't work the same. Here is the code.
Code:
<html>
<head>
<script language="JavaScript">
var nameCtrl = new ActiveXObject("Name.NameCtrl");
</script>
</head>
<body>
<span onmouseover="nameCtrl.ShowOOUI('test@example.com',0,this.offsetLeft,this.offsetTop)"onmouseout="nameCtrl.HideOOUI()">
Hover your mouse over this text to retrieve presence information.
</span>
</body>
</html> If nothing else, I would like to just display the presence color of the person. Does anyone have any experience with this JS object to help me out?