<?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>Codrops &#187; jbar</title>
	<atom:link href="http://tympanus.net/codrops/tag/jbar/feed/" rel="self" type="application/rss+xml" />
	<link>http://tympanus.net/codrops</link>
	<description>Useful resources and inspiration for creative minds</description>
	<lastBuildDate>Wed, 23 May 2012 09:46:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>jFeedback: A Minimal jQuery Notification Plugin</title>
		<link>http://tympanus.net/codrops/2009/11/24/jfeedback/</link>
		<comments>http://tympanus.net/codrops/2009/11/24/jfeedback/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 20:36:05 +0000</pubDate>
		<dc:creator>cody</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[jbar]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://tympanus.net/codrops/?p=874</guid>
		<description><![CDATA[Every web developer knows how difficult it can be to decide how to provide feedback to the user in form of an error or a success message. When submitting forms or executing actions on web sites it is of great importance to tell the user if his interaction was successful or not. Often, this essential [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-886 aligncenter" title="jFeedback" src="http://tympanus.net/codrops/wp-content/uploads/2009/11/jFeedback.png" alt="jFeedback" width="335" height="122" /></p>
<p>Every web developer knows how difficult it can be to decide how to provide feedback to the user in form of an error or a success message.</p>
<p>When submitting forms or executing actions on web sites it is of great importance to tell the user if his interaction was successful or not. Often, this essential requirement is implemented in a very verbose way and can sometimes be burdening to the user.</p>
<p>Just take the example of Twitter&#8217;s notification bar which appears every time something gets saved or if we type the password wrong when logging in. Although it is a very elegant solution, one could imagine an even slimmer solution. For a success message this is very simple: the only thing a user needs to know is, if his action was successful, not <strong>what</strong> was successful. A simple green &#8220;OK&#8221; icon could do that job.</p>
<p>In case of an error the user might want to know what went wrong, but it is not always the case that the user needs to see the type of error, e.g. when trying to log in with a wrong password.</p>
<p>Since I already made the notification plugin jBar, I thought that I could create another slimmer notification solution based on it. The notification consists of a simple &#8220;OK&#8221; or &#8220;Error&#8221; icon which the user can decide to click if he is interested in the details of the notification.</p>
<p><span id="more-874"></span></p>
<p>You can call the plugin like this:</p>
<p><code>$(element).feedback()</code></p>
<p>And you can configure the plugin in the following way:</p>
<ol>
<li><strong>color</strong>: text color of the message</li>
<li><strong>background_color</strong>: background color of the bar</li>
<li><strong>position</strong>: position of the icon (bottomright, bottomleft, topright, topleft)</li>
<li><strong>barposition</strong>: position of the bar (bottom, top)</li>
<li><strong>removebutton</strong>: boolean to define if the closing cross in the bar should appear</li>
<li><strong>message</strong>: the notification message</li>
<li><strong>time</strong>: time in milliseconds for the bar/icon to disappear</li>
<li><strong>status</strong>: type of status (error, ok)</li>
</ol>
<p><a class="demo" href="http://tympanus.net/jFeedback/" target="_blank">Try the demo</a><a class="download" href="http://tympanus.net/jFeedback/jFeedback.zip">Download jFeedback</a></p>
<p><div id="bsap_1266918" class="bsarocks bsap_af25dfd2f1908889af7a1aa5f4dcbd9e"></div><div style="clear:both;"></div><br />
<br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://tympanus.net/codrops/2009/11/24/jfeedback/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  tympanus.net/codrops/tag/jbar/feed/ ) in 0.20177 seconds, on May 23rd, 2012 at 2:38 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 23rd, 2012 at 3:38 pm UTC -->
