<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Flvorful Bloggage: Tag jquery</title>
    <link>http://blog.flvorful.com/articles/tag/jquery</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>EasyHTMLTags: A new jQuery library to create HTML tags easily</title>
      <description>&lt;p&gt;Creating &lt;span class="caps"&gt;HTML&lt;/span&gt; in jquery is a tedious and, quite frankly, boring task.  Coming from a Rails web development background, I always wanted a way to create &lt;span class="caps"&gt;HTML&lt;/span&gt; like Rails does, with a content_tag method helper that can take attributes as has and be passed function blocks to quickly generate &lt;span class="caps"&gt;HTML&lt;/span&gt; within ruby.  This is where the inpsiration for EasyHTMLTags comes from.&lt;/p&gt;


	&lt;h3&gt;Let&amp;#8217;s just dive in.&lt;/h3&gt;


	&lt;p&gt;This plugin isnt anything complicated, just useful, so let&amp;#8217;s see how it works.&lt;/p&gt;


	&lt;p&gt;1.  &lt;a href="http://github.com/flvorful/jQuery-Plugins/raw/master/easy_html/jquery.easy_html_tags.js" title=""&gt;Download&lt;/a&gt; the plugin and install into the appropriate directory.&lt;/p&gt;


	&lt;p&gt;2. Link to the plugin from your &lt;span class="caps"&gt;HTML&lt;/span&gt;&lt;/p&gt;


&lt;pre&gt;
    &lt;code&gt;
&amp;lt;script src="/path/to/javascripts/jquery.easy_html.js" type="text/javascript" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;

&lt;/code&gt;
&lt;/pre&gt;
3. Start creating tags

&lt;pre&gt;
    &lt;code&gt;
$.tag("li")
# =&amp;gt;  "&amp;lt;li&amp;gt;&amp;lt;/li&amp;gt;" 

$.tag("li", "some content")
# =&amp;gt;  "&amp;lt;li&amp;gt;some content&amp;lt;/li&amp;gt;" 

$.tag("li", "some content", { class: "my_class", id: "special_id"})
# =&amp;gt;  "&amp;lt;li class="my_class" id="special_id"&amp;gt;some content&amp;lt;/li&amp;gt;" 

$.tag("li", "some content", { class: "my_class", id: "special_id"}, function() { return $.tag("span", "some extra stuff")})
# =&amp;gt;  "&amp;lt;li class="my_class" id="special_id"&amp;gt;some content&amp;lt;span&amp;gt;some extra stuff&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;" 
&lt;/code&gt;
&lt;/pre&gt;

	&lt;p&gt;That&amp;#8217;s it.  Hope you find it useful.&lt;/p&gt;


&lt;p&gt;Check out the &lt;a href="http://os.flvorful.com/easy_html_tag/docs"&gt;docs&lt;/a&gt; for more information.&lt;/p&gt;

	&lt;p&gt;&amp;#8212;jake&lt;/p&gt;</description>
      <pubDate>Sun, 10 Oct 2010 13:41:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:f6223515-fb10-473d-85ef-b568bfb62f66</guid>
      <author>jake</author>
      <link>http://blog.flvorful.com/articles/2010/10/10/easyhtmltags-a-new-jquery-library-to-create-html-tags-easily</link>
      <category>Rails</category>
      <category>jquery</category>
      <category>rails</category>
      <category>plugins</category>
      <category>easyhtmltags</category>
      <category>html</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Super InPlace Controls upgraded.  Now with Rails 2.3 support</title>
      <description>&lt;h2&gt;Super InPlace Controls has gone through some upgrades.&lt;/h2&gt;


	&lt;h3&gt;We&amp;#8217;ve Moved&lt;/h3&gt;


	&lt;p&gt;First and foremost, we have moved the code from google to github.&lt;/p&gt;


	&lt;p&gt;To install run&lt;/p&gt;


&lt;pre&gt;
&lt;code&gt;
script/plugin install git://github.com/flvorful/super_inplace_controls.git
&lt;/code&gt;
&lt;/pre&gt;

	&lt;h3&gt; Rails 2.3 Support&lt;/h3&gt;


	&lt;p&gt;Tested with Rails 2.3 and 2.1&lt;/p&gt;


	&lt;h3&gt; Better Jquery Support&lt;/h3&gt;


	&lt;p&gt;We have updated the code to work better with jQuery.  Now, in_place_date_selector, uses the jQuery datepicker method if available.  &lt;a href="http://github.com/aaronchi/jrails"&gt;JRails&lt;/a&gt; is required for jquery support.&lt;/p&gt;


	&lt;h3&gt; Better Validation&lt;/h3&gt;


	&lt;p&gt;Validations were a problem with &lt;span class="caps"&gt;SIPC&lt;/span&gt;, but no longer.  Now, if you dont have an error div, &lt;span class="caps"&gt;SIPC&lt;/span&gt; will skip over the rendering of the error box and just add the class &amp;#8220;fieldWithError&amp;#8221; to the proper input tag.&lt;/p&gt;


	&lt;h3&gt; Overall cleanup&lt;/h3&gt;


	&lt;p&gt;Cleaned up the code in general and made it less brittle.&lt;/p&gt;


	&lt;p&gt;Check out the &lt;a href="http://os.flvorful.com/super_in_place_controls/demo"&gt;demos&lt;/a&gt; and the &lt;a href="http://os.flvorful.com/super_in_place_controls/download"&gt;docs&lt;/a&gt; at our &lt;a href="http://os.flvorful.com/"&gt;Open Source Site&lt;/a&gt; and stay tuned for some new plugins we&amp;#8217;ve been working on.&lt;/p&gt;


	&lt;p&gt;&amp;#8212;jake&lt;/p&gt;</description>
      <pubDate>Sun, 08 Nov 2009 17:05:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:399e357c-07bb-4220-9f5f-79357f0dd4c6</guid>
      <author>jake</author>
      <link>http://blog.flvorful.com/articles/2009/11/08/super-inplace-controls-updated</link>
      <category>Rails</category>
      <category>superinplacecontrols</category>
      <category>plugins</category>
      <category>rails</category>
      <category>ruby</category>
      <category>jquery</category>
    </item>
  </channel>
</rss>

