Presence indicator menu problem in SharePoint 2007 contact web parts -


In SharePoint 2007, I get a problem with the presence indicator when I add more than one contact web part to a page

I noticed that when I added more than one contact, I always got gray bubbles, so I searched around the Internet for a solution. Someone found that the ID of the IIG tag (of the presence indicator bubble) should not be unique. Since SharePoint automatically adds the static ID to the IMG tag, I need to override the ID. I have written this javascript code (actually a copy of the guided function; -)):

  function s4 () (returns ((1 + Math.rendum ()) * 0x10000) 0) .toString (16) .substring (1); } Function guid () {return (S4 () + S4 () + "-" + S4 () + "-" + S4 () + "-" + S4 () + "-" + "S4 +) + S4 ()); } Window.IMNRC = function (native) {return function (name, elem) {if (elem! = Null) {if (elem.id = "contact_im, type = sip") {elem.id = guid (); }} Original (name, amm); }} (Window. IMRC);   

I do not know that this is a good code, but when I added it on the page, the bubble showed a good presence of contact. The only problem with me is that the menu does not work when I hover on the presence indicator it becomes gray and all the links in the menu are not working.

One of my team saw that when the presence was placed above the indicator, contact the tooltip as shown in the contact. The strange thing here is that the name did not match the contact. When he refreshed, he noticed that Tooltip's name changes randomly. So I think this is to play with the ID of the IMG tag with me.

So now I have 2 options: - or I need to start and do not close the id img tag, and find another solution for the presence indicators problem - or I fix the menu problem Have to do.

Can someone help me with any of the 2 options?

Thank you!

One thing that stands out in front of me completely with JavaScript perspective:

If the (> elem.id = "contact_im, type = sip")

should be:

  if (elem.id == "Contact, Type = CIP")   

Why your ID is getting all odd (they are being handed over rather than comparisons).

Comments