<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: My little contribution to a rails plugin (sort of)</title>
	<atom:link href="http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/feed/" rel="self" type="application/rss+xml" />
	<link>http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/</link>
	<description>programming.design.excerpts of my work.troubleshoot.symptoms.etc</description>
	<lastBuildDate>Mon, 13 Jul 2009 13:33:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thymnmoneew</title>
		<link>http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/#comment-65</link>
		<dc:creator>Thymnmoneew</dc:creator>
		<pubDate>Mon, 13 Jul 2009 13:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=100#comment-65</guid>
		<description>In it something is. Now all is clear, I thank for the help in this question.</description>
		<content:encoded><![CDATA[<p>In it something is. Now all is clear, I thank for the help in this question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drogeidiolo</title>
		<link>http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/#comment-61</link>
		<dc:creator>Drogeidiolo</dc:creator>
		<pubDate>Sat, 11 Jul 2009 06:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=100#comment-61</guid>
		<description>I am sorry, it not absolutely approaches me. Perhaps there are still variants?</description>
		<content:encoded><![CDATA[<p>I am sorry, it not absolutely approaches me. Perhaps there are still variants?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fadhli</title>
		<link>http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/#comment-48</link>
		<dc:creator>Fadhli</dc:creator>
		<pubDate>Mon, 29 Jun 2009 23:44:34 +0000</pubDate>
		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=100#comment-48</guid>
		<description>Hi, darin. Thanks for commenting. To solve your problem, I suggest you could simply put a javascript function call on the onclick option. For example:

concat(content_tag(&quot;div&quot;, &#039;&#039;, :id =&gt; &quot;click_hour&quot;, :onclick =&gt; &quot;click_me();&quot;))

And in your view, you could do a simple script like so


    function click_me() {
      //do some funky stuff
    }


This is the simplest solution I can think of. I hope this could at least help you on your use case.</description>
		<content:encoded><![CDATA[<p>Hi, darin. Thanks for commenting. To solve your problem, I suggest you could simply put a javascript function call on the onclick option. For example:</p>
<p>concat(content_tag(&#8220;div&#8221;, &#8221;, :id =&gt; &#8220;click_hour&#8221;, <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nclick =&gt; &#8220;click_me();&#8221;))</p>
<p>And in your view, you could do a simple script like so</p>
<p>    function click_me() {<br />
      //do some funky stuff<br />
    }</p>
<p>This is the simplest solution I can think of. I hope this could at least help you on your use case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darin</title>
		<link>http://bugsneedfix.wordpress.com/2009/06/14/my-little-contribution-to-a-rails-plugin-sort-of/#comment-47</link>
		<dc:creator>darin</dc:creator>
		<pubDate>Mon, 29 Jun 2009 19:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://bugsneedfix.wordpress.com/?p=100#comment-47</guid>
		<description>Hi, and thanks for your contribution. I think i love it... It is exactly what I was looking for.

Could you please clarify something for me?

On (or about) line 63 of weekly_builder/lib/weekly_calendar.rb in the concat(...) section, I am trying to edit the :onlick function to do something else, and can&#039;t seem to get any syntax to work (at all, not even an a page.alert &#039;Why won&#039;t this change&#039;). 

I need it to show/hide a partial instead of going to an href. I have accomplished this on the event.name with  &#039;edit&#039;, :locals =&gt; {:event =&gt; event }  } -%&gt; in the view, but the whole div is perfectly clickable, and I would like to control the action on that instead of only being able to click on the name.

I have googled and cannot seem to find a solution. Everything I try either throws a javascript error, or does nothing once I fix that error...

Any help or direction would be greatly appreciated.
Thanks in advance,
D</description>
		<content:encoded><![CDATA[<p>Hi, and thanks for your contribution. I think i love it&#8230; It is exactly what I was looking for.</p>
<p>Could you please clarify something for me?</p>
<p>On (or about) line 63 of weekly_builder/lib/weekly_calendar.rb in the concat(&#8230;) section, I am trying to edit the <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nlick function to do something else, and can&#8217;t seem to get any syntax to work (at all, not even an a page.alert &#8216;Why won&#8217;t this change&#8217;). </p>
<p>I need it to show/hide a partial instead of going to an href. I have accomplished this on the event.name with  &#8216;edit&#8217;, :locals =&gt; {:event =&gt; event }  } -%&gt; in the view, but the whole div is perfectly clickable, and I would like to control the action on that instead of only being able to click on the name.</p>
<p>I have googled and cannot seem to find a solution. Everything I try either throws a javascript error, or does nothing once I fix that error&#8230;</p>
<p>Any help or direction would be greatly appreciated.<br />
Thanks in advance,<br />
D</p>
]]></content:encoded>
	</item>
</channel>
</rss>
