<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Buta no Ie &#187; API</title>
	<atom:link href="http://singchan.com/tag/api/feed/" rel="self" type="application/rss+xml" />
	<link>http://singchan.com</link>
	<description>The House of Pork and User Experience Development</description>
	<lastBuildDate>Tue, 11 Oct 2011 22:08:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SPC09: Status Bar and Notification APIs</title>
		<link>http://singchan.com/2009/11/03/spc09-status-bar-and-notification-apis/</link>
		<comments>http://singchan.com/2009/11/03/spc09-status-bar-and-notification-apis/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:14:02 +0000</pubDate>
		<dc:creator>Buta</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[las vegas]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[SPC09]]></category>
		<category><![CDATA[status bar]]></category>
		<category><![CDATA[ue]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://singchan.com/?p=86</guid>
		<description><![CDATA[Excuse the really bad screen cap to the right&#8230; the Status Bar and Notifications are two UI elements in SharePoint 2010 which allow us to give the user information in context without distracting them. The Status Bar and Notifications are both exposed as client-side JavaScript APIs. Status Bar The Status Bar lives below the Ribbon [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-88" title="SharePoint 2010 Status Bar and Notification elements" src="http://singchan.com/wordpress/wp-content/uploads/2009/11/statusbar_notification.jpg" alt="SharePoint 2010 Status Bar and Notification elements" width="337" height="113" />Excuse the really bad screen cap to the right&#8230; the Status Bar and Notifications are two UI elements in SharePoint 2010 which allow us to give the user information in context without distracting them. The Status Bar and Notifications are both exposed as client-side JavaScript APIs.</p>
<h3>Status Bar</h3>
<p>The Status Bar lives below the Ribbon and displays persistent information such as page status or web site alerts. It already existed in SharePoint 2007 as an UI element but it&#8217;s functionality was not exposed as an API. It will display an HTML message, which can include links and/or images, on 1 of 4 pre-set background colours depending on the importance of the status defined.</p>
<p>There is a Server API to set statuses at page render time as well as a JavaScript API to dynamically add/remove messages.</p>
<p>The JavaScript API is in the SP.UI.Status namespace and is as follows:</p>
<pre class="brush: plain; title: ; notranslate">SP.UI.Status.addStatus(strTitle, strHtml, atBeginning)
SP.UI.Status.updateStatus(sid, strHtml)
SP.UI.Status.removeStatus(sid)
SP.UI.Status.removeAllStatus(hide)
SP.UI.Status.setStatusPriColor(sid, strColor)
</pre>
<h3>Notifications</h3>
<p>Notifications are brand new to SharePoint 2010 and they are used for transient or semi-transient messages such as action confirmations. Notifications appear on the right side of the page below the ribbon and default to a 5 second display period. Like the Status Bar, the message format is HTML with the ability of including links and/or images.</p>
<p>There is a JavaScript API to add/remove messages. You also have the option to make a Notification &#8220;sticky&#8221; which means it will continue to display until you manually remove it through the API.</p>
<p>Notifications are in the SP.UI.Notify namespace:</p>
<pre class="brush: plain; title: ; notranslate">SP.UI.Notify.addNotification(strTitle, bSticky, tooltip, onclickHandler)
SP.UI.Notify.removeNotification(id)</pre>
]]></content:encoded>
			<wfw:commentRss>http://singchan.com/2009/11/03/spc09-status-bar-and-notification-apis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

