Tuesday, January 24, 2012

SharePoint Notification Framework

XSLT and JavaScript work on document object model. Neat feature in SP2010 are the SP.UI classes. These can be handled directly in client side scripts and XSLT produced by SharePoint designer.

Status class;
SP.UI.Status.addStatus('loading...');

Notify class;
SP.UI.Notify.addNotification('loading...',false,"",null);

Interesting part with both are the sub-classes for handling colors, images, transition and placement. I've not found much information regarding these but they are fun to play with! :)