<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating A jQuery Plugin From Scratch</title>
	<atom:link href="http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/feed/" rel="self" type="application/rss+xml" />
	<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/</link>
	<description>John Nunemaker\'s thoughts and such</description>
	<lastBuildDate>Sun, 01 Nov 2009 17:19:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: haberler</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-188018</link>
		<dc:creator>haberler</dc:creator>
		<pubDate>Thu, 23 Jul 2009 22:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-188018</guid>
		<description>@craig its true &quot;Its right now too hard for newbie to understand.&quot;</description>
		<content:encoded><![CDATA[<p>@craig its true &#8220;Its right now too hard for newbie to understand.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wma4432</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-187095</link>
		<dc:creator>wma4432</dc:creator>
		<pubDate>Sun, 12 Jul 2009 09:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-187095</guid>
		<description>Thank you. I&#039;m so tired of reading articles that are trying to explain a subject to others and the try to write the code in 9 characters.  I understand fully how important it is to reduce your code for various reasons. If the intent is to teach someone something new, then make the code easy for them to understand. By you taking the time to include an extra 4 or 5 lines of code to show what is happening internally made this article so clear.  I have read a few articles on creating a plug-in. After reading their articles I never walked away with a clear picture on how to implement. I&#039;m new to Jquery and js but I see how powerful these two can be in creating dynamic web sites and web applications.

once again,
thank you</description>
		<content:encoded><![CDATA[<p>Thank you. I&#8217;m so tired of reading articles that are trying to explain a subject to others and the try to write the code in 9 characters.  I understand fully how important it is to reduce your code for various reasons. If the intent is to teach someone something new, then make the code easy for them to understand. By you taking the time to include an extra 4 or 5 lines of code to show what is happening internally made this article so clear.  I have read a few articles on creating a plug-in. After reading their articles I never walked away with a clear picture on how to implement. I&#8217;m new to Jquery and js but I see how powerful these two can be in creating dynamic web sites and web applications.</p>
<p>once again,<br />
thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-183483</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Tue, 12 May 2009 09:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-183483</guid>
		<description>good effort but your code could be done better. Its right now too hard for newbie to understand.

Your option is not standard as well.</description>
		<content:encoded><![CDATA[<p>good effort but your code could be done better. Its right now too hard for newbie to understand.</p>
<p>Your option is not standard as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waseem</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-181561</link>
		<dc:creator>Waseem</dc:creator>
		<pubDate>Tue, 28 Apr 2009 10:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-181561</guid>
		<description>i noticed for your click events you used return false.
why not use :  e.preventDefault();</description>
		<content:encoded><![CDATA[<p>i noticed for your click events you used return false.<br />
why not use :  e.preventDefault();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: widomin</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-172777</link>
		<dc:creator>widomin</dc:creator>
		<pubDate>Sat, 10 Jan 2009 16:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-172777</guid>
		<description>Thanks for this tutorial.
How could this plugin (like your example) return an internal value. 
For example a setting variable that could change internally.
If defaults.animate change because y create a new  method that make it toggle from false to true, I like to know the value of animate.

something like this:

  $(&#039;a.toggler&#039;).toggler();
   .
   .
   .
  var animateState = $(&#039;a.toggler&#039;).toggler(&quot;state&quot;);

and then animateState now have the value of $.fn.toggler.defauts.animate 


I expect you understand what i tried to say.
Sorry my poor english
Willy</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial.<br />
How could this plugin (like your example) return an internal value.<br />
For example a setting variable that could change internally.<br />
If defaults.animate change because y create a new  method that make it toggle from false to true, I like to know the value of animate.</p>
<p>something like this:</p>
<p>  $(&#8216;a.toggler&#8217;).toggler();<br />
   .<br />
   .<br />
   .<br />
  var animateState = $(&#8216;a.toggler&#8217;).toggler(&#8220;state&#8221;);</p>
<p>and then animateState now have the value of $.fn.toggler.defauts.animate </p>
<p>I expect you understand what i tried to say.<br />
Sorry my poor english<br />
Willy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jnunemaker</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-169850</link>
		<dc:creator>jnunemaker</dc:creator>
		<pubDate>Fri, 05 Dec 2008 16:23:41 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-169850</guid>
		<description>@Craig - there is a method built into jQuery that does html stuff. 

&lt;pre&gt;&lt;code class=&quot;javascript&quot;&gt;$(&#039;element&#039;).html(&#039;&l;p&gt;Some html.&l;/p&gt;&#039;);&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Craig &#8211; there is a method built into jQuery that does html stuff. </p>
<pre><code class="javascript">$('element').html('&#038;l;p>Some html.&#038;l;/p>');</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://addictedtonew.com/archives/414/creating-a-jquery-plugin-from-scratch/comment-page-1/#comment-169811</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 05 Dec 2008 07:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://addictedtonew.com/?p=414#comment-169811</guid>
		<description>Hey... It seems that you are quite jacked when it comes to JQuery plugins, so maybe you will be able to help me out.

How would a person go about changing a standard JS method into a JQuery Plugin (ie.):

//JavaScript -&gt;

function change_innerHTML() {
document.getElementById(&quot;element_to_change&quot;).innerHTML = &quot;XXXXXX&quot;;
}

//HTML -&gt;

YY

Your help will be much appreciated...</description>
		<content:encoded><![CDATA[<p>Hey&#8230; It seems that you are quite jacked when it comes to JQuery plugins, so maybe you will be able to help me out.</p>
<p>How would a person go about changing a standard JS method into a JQuery Plugin (ie.):</p>
<p>//JavaScript -&gt;</p>
<p>function change_innerHTML() {<br />
document.getElementById(&#8220;element_to_change&#8221;).innerHTML = &#8220;XXXXXX&#8221;;<br />
}</p>
<p>//HTML -&gt;</p>
<p>YY</p>
<p>Your help will be much appreciated&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

