Microsoft Communicator Presence in Gadget

mcheek

New member
Local time
12:18 PM
Messages
5
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:
[COLOR=#800000]<html>[/COLOR] 
  [COLOR=#800000]<head>[/COLOR] 
  [COLOR=#800000]<script[/COLOR] [COLOR=#ff0000]language[/COLOR]=[COLOR=#0000ff]"JavaScript"[/COLOR][COLOR=#800000]>[/COLOR] 
    [COLOR=#00008b]var[/COLOR] nameCtrl = [COLOR=#00008b]new[/COLOR] [COLOR=#2b91af]ActiveXObject[/COLOR]([COLOR=#800000]"Name.NameCtrl"[/COLOR]); 
  [COLOR=#800000]</script>[/COLOR] 
  [COLOR=#800000]</head>[/COLOR] 
  [COLOR=#800000]<body>[/COLOR] 
  [COLOR=#800000]<span[/COLOR] [COLOR=#ff0000]onmouseover[/COLOR]=[COLOR=#0000ff]"[/COLOR]nameCtrl.[COLOR=#2b91af]ShowOOUI[/COLOR]([COLOR=#800000]'[email protected]'[/COLOR],[COLOR=#800000]0[/COLOR],[COLOR=#00008b]this[/COLOR].offsetLeft,[COLOR=#00008b]this[/COLOR].offsetTop)[COLOR=#0000ff]"[/COLOR][COLOR=#ff0000]onmouseout[/COLOR]=[COLOR=#0000ff]"[/COLOR]nameCtrl.[COLOR=#2b91af]HideOOUI[/COLOR]()[COLOR=#0000ff]"[/COLOR][COLOR=#800000]>[/COLOR] 
    Hover your mouse over this text to retrieve presence information. 
  [COLOR=#800000]</span>[/COLOR] 
  [COLOR=#800000]</body>[/COLOR] 
  [COLOR=#800000]</html>[/COLOR]

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?
 

My Computer My Computer

OS
W7 Enterprise x64
Back
Top