<?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>Kolodvor &#187; jQuery</title>
	<atom:link href="http://www.kolodvor.net/category/javascript/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kolodvor.net</link>
	<description>ruby, rails, javascript, jquery, ...</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:24:32 +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>MarkItUp: Rails plugin that turns any textarea into a markup editor</title>
		<link>http://www.kolodvor.net/2010/07/05/markitup-rails-plugin-that-turns-any-textarea-into-a-markup-editor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=markitup-rails-plugin-that-turns-any-textarea-into-a-markup-editor</link>
		<comments>http://www.kolodvor.net/2010/07/05/markitup-rails-plugin-that-turns-any-textarea-into-a-markup-editor/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 16:14:09 +0000</pubDate>
		<dc:creator>vlado</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[markitup]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[mark_it_up]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[textarea]]></category>

		<guid isPermaLink="false">http://www.kolodvor.net/?p=254</guid>
		<description><![CDATA[I recently published a plugin that helps you turn any textarea into a markup editor. It is based on excellent markItUp! jQuery plugin. Example The most simple usage with preset defaults &#60;html&#62; &#60;head&#62; &#60;%= javascript_include_tag "path/to/jquery" %&#62; &#60;%= mark_it_up '#miu_test' &#8230; <a href="http://www.kolodvor.net/2010/07/05/markitup-rails-plugin-that-turns-any-textarea-into-a-markup-editor/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently published a plugin that helps you turn any textarea into a markup editor. It is based on excellent <a href="http://markitup.jaysalvat.com">markItUp! jQuery plugin</a>.</p>
<h3>Example</h3>
<p>The most simple usage with preset defaults</p>
<pre class="code">
&lt;html&gt;
&lt;head&gt;
  &lt;%= javascript_include_tag "path/to/jquery" %&gt;
  &lt;%= mark_it_up '#miu_test' %&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;%= form_tag do %&gt;
    &lt;%= text_area_tag "miu_test" %&gt;
  &lt;% end %&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>You can see a lot more cool examples in action on <a href="http://markitup.cingel.hr/">markitup.cingel.hr</a>.</p>
<p>More info</p>
<p><a href="http://markitup.cingel.hr/">markitup.cingel.hr</a><br />
<a href="http://github.com/cingel/mark_it_up">github.com/cingel/mark_it_up</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolodvor.net/2010/07/05/markitup-rails-plugin-that-turns-any-textarea-into-a-markup-editor/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Set focus on first field with jQuery</title>
		<link>http://www.kolodvor.net/2008/01/17/set-focus-on-first-field-with-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=set-focus-on-first-field-with-jquery</link>
		<comments>http://www.kolodvor.net/2008/01/17/set-focus-on-first-field-with-jquery/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 17:50:41 +0000</pubDate>
		<dc:creator>vlado</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[selectors]]></category>

		<guid isPermaLink="false">http://kolodvor.net/2008/01/17/set-focus-on-first-field-with-jquery/</guid>
		<description><![CDATA[f you are using Prototype see this post. Setting focus on the first text field with jQuery is as simple as $("input:text:first").focus(); $("input:text:visible:first").focus(); Find more at http://docs.jquery.com/Selectors Update: If you are on Rails you can use auto_focusable_forms, dependency free plugin &#8230; <a href="http://www.kolodvor.net/2008/01/17/set-focus-on-first-field-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>f you are using <a href="http://www.prototype.org">Prototype</a> see <a href="http://kolodvor.net/2010/01/02/set-focus-on-first-field-with-prototype">this</a> post.</p>
<p>Setting focus on the first text field with <a href="http://www.jquery.com">jQuery</a> is as simple as</p>
<pre class="code">
  <span style="text-decoration:line-through">$("input:text:first").focus();</span>
  $("input:text:visible:first").focus();
</pre>
<p>Find more at <a href="http://docs.jquery.com/Selectors">http://docs.jquery.com/Selectors</a></p>
<p><strong>Update</strong>: If you are on <a href="http://rubyonrails.org">Rails</a> you can use <a href="http://github.com/dcadenas/auto_focusable_forms/tree/master">auto_focusable_forms</a>, dependency free plugin that will focus first input for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolodvor.net/2008/01/17/set-focus-on-first-field-with-jquery/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Blur links with jQuery</title>
		<link>http://www.kolodvor.net/2007/12/08/blurring-links-with-jquery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blurring-links-with-jquery</link>
		<comments>http://www.kolodvor.net/2007/12/08/blurring-links-with-jquery/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 23:30:22 +0000</pubDate>
		<dc:creator>vlado</dc:creator>
				<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://kolodvor.net/2007/12/08/blurring-links-with-jquery/</guid>
		<description><![CDATA[While surfing the Web, you probably noticed the dotted outline, that appears when you click on the link. If your link doesn&#8217;t lead to another page, but instead triggers some event in the same page, outline stays there and looks &#8230; <a href="http://www.kolodvor.net/2007/12/08/blurring-links-with-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While surfing the Web, you probably noticed the dotted outline, that appears when you click on the link. If your link doesn&#8217;t lead to another page, but instead triggers some event in the same page, outline stays there and looks ugly.</p>
<p>For modern browsers you can remove it with simple css:</p>
<pre class="code">
a:focus, a:active {
  outline:none;
}
</pre>
<p>Unfortunately, this won&#8217;t do for IE 6 and earlier.</p>
<p>With jQuery it&#8217;s easy to get rid of the outline in every browser that has JavaScript enabled:</p>
<pre class="code">
$("a").click(function() {
  $(this).blur();
});
</pre>
<p>This will remove outline from the link once he is clicked. You will see the outline when clicking, but it will not stay there.</p>
<p>If you don&#8217;t want to se the outline at all replace click event with focus event:</p>
<pre class="code">
$("a").focus(function() {
  $(this).blur();
});
</pre>
<p>To find more about jQuery Events visit <a href="http://docs.jquery.com/Events">http://docs.jquery.com/Events</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolodvor.net/2007/12/08/blurring-links-with-jquery/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

