<?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 for zarjay.net</title>
	<atom:link href="http://zarjay.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://zarjay.net</link>
	<description>My name&#039;s JR. I write about stuff.</description>
	<lastBuildDate>Tue, 17 Apr 2012 14:43:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on The -webkit- Controversy by JR</title>
		<link>http://zarjay.net/2012/02/29/the-webkit-controversy/comment-page-1/#comment-200</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Tue, 17 Apr 2012 14:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=1574#comment-200</guid>
		<description>I&#039;m a web developer, and I agree with you. There are a lot of factors: Clients, bosses, time, standards, browsers, user demographic, etc. But at the end of the day, it&#039;s the web developer who makes the website, and we should take responsibility for our actions. If we make a website that only works in IE or only works in Chrome, it&#039;s our fault if the Web suffers from our actions. It happened with IE6, and it&#039;s happening again with Webkit, which is why there&#039;s an initiative to fix Webkit-biased code on Github: 
http://codepo8.github.com/prefix-the-web/

So of course, there are a lot of factors, and there&#039;s enough blame to go around, but if a developer makes a Webkit-only website and is too lazy to add a -moz- prefix or use -prefix-free or use a CSS preprocessor or use one of the many other solutions out there that makes it easy to support other browsers, that&#039;s being lazy.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a web developer, and I agree with you. There are a lot of factors: Clients, bosses, time, standards, browsers, user demographic, etc. But at the end of the day, it&#8217;s the web developer who makes the website, and we should take responsibility for our actions. If we make a website that only works in IE or only works in Chrome, it&#8217;s our fault if the Web suffers from our actions. It happened with IE6, and it&#8217;s happening again with Webkit, which is why there&#8217;s an initiative to fix Webkit-biased code on Github: <br />
<a href="http://codepo8.github.com/prefix-the-web/" rel="nofollow">http://codepo8.github.com/prefix-the-web/</a></p>
<p>So of course, there are a lot of factors, and there&#8217;s enough blame to go around, but if a developer makes a Webkit-only website and is too lazy to add a -moz- prefix or use -prefix-free or use a CSS preprocessor or use one of the many other solutions out there that makes it easy to support other browsers, that&#8217;s being lazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The -webkit- Controversy by Bob Wilson</title>
		<link>http://zarjay.net/2012/02/29/the-webkit-controversy/comment-page-1/#comment-199</link>
		<dc:creator>Bob Wilson</dc:creator>
		<pubDate>Tue, 17 Apr 2012 14:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=1574#comment-199</guid>
		<description>Web Developers are lazy? Really? All of them? Do you think that there may just be some mileage in the old adage of &quot;time costs money&quot;? If the standards bodies cant move fast enough in order to give the browser developers reasonable time to implement new features then the developers, who are the ones that have to deliver a working product for their various bosses, clients, Lords and Masters have to make some very tough decisions. Who is going to pay for them to ensure that their wonderful shopfront (or similar) works in browsers that the vast majority of people don&#039;t use. Ok, so I know its far from ideal but that doesn&#039;t mean they are lazy. 

Written in defence of web developers everywhere by a non-web developer!
Bob Wilson
Nottingham
Uk</description>
		<content:encoded><![CDATA[<p>Web Developers are lazy? Really? All of them? Do you think that there may just be some mileage in the old adage of &#8220;time costs money&#8221;? If the standards bodies cant move fast enough in order to give the browser developers reasonable time to implement new features then the developers, who are the ones that have to deliver a working product for their various bosses, clients, Lords and Masters have to make some very tough decisions. Who is going to pay for them to ensure that their wonderful shopfront (or similar) works in browsers that the vast majority of people don&#8217;t use. Ok, so I know its far from ideal but that doesn&#8217;t mean they are lazy. </p>
<p>Written in defence of web developers everywhere by a non-web developer!<br />
Bob Wilson<br />
Nottingham<br />
Uk</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to Make a Simple Scheduler App by JR</title>
		<link>http://zarjay.net/2010/03/09/using-jquery-to-make-a-simple-scheduler-app/comment-page-1/#comment-198</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Thu, 05 Apr 2012 01:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=556#comment-198</guid>
		<description>You&#039;d have to hack it. Sorry. I built this for a friend, and Ajax wasn&#039;t needed for his use case.</description>
		<content:encoded><![CDATA[<p>You&#8217;d have to hack it. Sorry. I built this for a friend, and Ajax wasn&#8217;t needed for his use case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to Make a Simple Scheduler App by Alex</title>
		<link>http://zarjay.net/2010/03/09/using-jquery-to-make-a-simple-scheduler-app/comment-page-1/#comment-197</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 04 Apr 2012 09:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=556#comment-197</guid>
		<description>Nice work! Is there any ajax native support? Or we have to hack your code? </description>
		<content:encoded><![CDATA[<p>Nice work! Is there any ajax native support? Or we have to hack your code? </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by JR</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-196</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Sat, 04 Feb 2012 05:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-196</guid>
		<description>The code wasn&#039;t designed to store the schedule data or save it to a database, but it could be modified to do so. The code is &lt;a href=&quot;https://bitbucket.org/zarjay/scheduler/src&quot; rel=&quot;nofollow&quot;&gt;freely available&lt;/a&gt; if you&#039;d like to give it a shot. Otherwise, these &lt;a href=&quot;http://www.web-delicious.com/4-best-javascript-jquery-event-calendar-planner-scheduler/&quot; rel=&quot;nofollow&quot;&gt;jQuery event plugins&lt;/a&gt; may suit your needs better.

I may update the scheduler app with some more features eventually, but it&#039;s very low on my priority list right now. Although if you&#039;d like, feel free to make &lt;a href=&quot;https://bitbucket.org/zarjay/scheduler/issues/new&quot; rel=&quot;nofollow&quot;&gt;a feature request&lt;/a&gt;. Hope that helps!</description>
		<content:encoded><![CDATA[<p>The code wasn&#8217;t designed to store the schedule data or save it to a database, but it could be modified to do so. The code is <a href="https://bitbucket.org/zarjay/scheduler/src" rel="nofollow">freely available</a> if you&#8217;d like to give it a shot. Otherwise, these <a href="http://www.web-delicious.com/4-best-javascript-jquery-event-calendar-planner-scheduler/" rel="nofollow">jQuery event plugins</a> may suit your needs better.</p>
<p>I may update the scheduler app with some more features eventually, but it&#8217;s very low on my priority list right now. Although if you&#8217;d like, feel free to make <a href="https://bitbucket.org/zarjay/scheduler/issues/new" rel="nofollow">a feature request</a>. Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by Paulo Quicoli</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-186</link>
		<dc:creator>Paulo Quicoli</dc:creator>
		<pubDate>Wed, 18 Jan 2012 10:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-186</guid>
		<description>Your Scheduler is great! It fits some of my needs, but I don&#039;t know about others. For example, is there a way to retrieve entries from a database and also, to save all entries to a database? I&#039;m not an javascript expert. Is there events like &quot;ondeleteentry&quot; or &quot;onaddentry&quot;? 

Thanks for your great work!</description>
		<content:encoded><![CDATA[<p>Your Scheduler is great! It fits some of my needs, but I don&#8217;t know about others. For example, is there a way to retrieve entries from a database and also, to save all entries to a database? I&#8217;m not an javascript expert. Is there events like &#8220;ondeleteentry&#8221; or &#8220;onaddentry&#8221;? </p>
<p>Thanks for your great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by JR</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-185</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Fri, 13 Jan 2012 01:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-185</guid>
		<description>Sorry, my scheduler app doesn&#039;t really support something like that. Although, maybe &lt;a href=&quot;http://arshaw.com/fullcalendar/ &quot; rel=&quot;nofollow&quot;&gt;this jQuery plugin&lt;/a&gt; could suit your needs better. :)</description>
		<content:encoded><![CDATA[<p>Sorry, my scheduler app doesn&#8217;t really support something like that. Although, maybe <a href="http://arshaw.com/fullcalendar/ " rel="nofollow">this jQuery plugin</a> could suit your needs better. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by Electro_caine</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-184</link>
		<dc:creator>Electro_caine</dc:creator>
		<pubDate>Tue, 10 Jan 2012 02:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-184</guid>
		<description>Hi....Thanks for this nice tuts....if i needed to display the scheduler in month or year view???
...any idea about how to do that?</description>
		<content:encoded><![CDATA[<p>Hi&#8230;.Thanks for this nice tuts&#8230;.if i needed to display the scheduler in month or year view???<br />
&#8230;any idea about how to do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by JR</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-183</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Wed, 13 Jul 2011 02:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-183</guid>
		<description>Sorry, I renamed the directory since then. Here&#039;s a newer link:
http://code.zarjay.net/scheduler/src</description>
		<content:encoded><![CDATA[<p>Sorry, I renamed the directory since then. Here&#8217;s a newer link:<br />
<a href="http://code.zarjay.net/scheduler/src" rel="nofollow">http://code.zarjay.net/scheduler/src</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by JR</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-182</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Wed, 13 Jul 2011 02:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-182</guid>
		<description>Sorry, I don&#039;t have any plans to WordPress-ify it :)</description>
		<content:encoded><![CDATA[<p>Sorry, I don&#8217;t have any plans to WordPress-ify it :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by oscil8</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-181</link>
		<dc:creator>oscil8</dc:creator>
		<pubDate>Tue, 12 Jul 2011 01:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-181</guid>
		<description>@anash go back a directory i.e. https://bitbucket.org/zarjay and work your way to the source from there</description>
		<content:encoded><![CDATA[<p>@anash go back a directory i.e. <a href="https://bitbucket.org/zarjay" rel="nofollow">https://bitbucket.org/zarjay</a> and work your way to the source from there</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wanting a Nintendo DS by Praxis 2 practice test</title>
		<link>http://zarjay.net/2006/03/26/wanting-a-nintendo-ds/comment-page-1/#comment-5</link>
		<dc:creator>Praxis 2 practice test</dc:creator>
		<pubDate>Wed, 29 Jun 2011 02:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/2006/03/26/31#comment-5</guid>
		<description> In case you are looking for low-priced Nintendo DS Lite Consoles, your main right time to is merely regarding just right.</description>
		<content:encoded><![CDATA[<p> In case you are looking for low-priced Nintendo DS Lite Consoles, your main right time to is merely regarding just right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Super Mario Bros?  Call the Bomb Squad! by Deathangel4160</title>
		<link>http://zarjay.net/2006/04/16/super-mario-bros-call-the-bomb-squad/comment-page-1/#comment-16</link>
		<dc:creator>Deathangel4160</dc:creator>
		<pubDate>Sat, 28 May 2011 03:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/2006/04/16/56#comment-16</guid>
		<description>that was my sister! :D</description>
		<content:encoded><![CDATA[<p>that was my sister! :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by anash</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-180</link>
		<dc:creator>anash</dc:creator>
		<pubDate>Fri, 27 May 2011 00:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-180</guid>
		<description>nice app how do i get the code its not available on the bitbucket link you sent</description>
		<content:encoded><![CDATA[<p>nice app how do i get the code its not available on the bitbucket link you sent</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by Matthew Taylor</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-179</link>
		<dc:creator>Matthew Taylor</dc:creator>
		<pubDate>Sun, 15 May 2011 19:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-179</guid>
		<description> Any chance we can get this as a WordPress plugin?  :)</description>
		<content:encoded><![CDATA[<p> Any chance we can get this as a WordPress plugin?  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to Make a Simple Scheduler App by JR</title>
		<link>http://zarjay.net/2010/03/09/using-jquery-to-make-a-simple-scheduler-app/comment-page-1/#comment-171</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Fri, 13 May 2011 19:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=556#comment-171</guid>
		<description>Do you mean how to prevent duplicates? addEntries() could be modified to filter out cells that contain matching children. It would work similar to this example: http://jsfiddle.net/zarjay/CUEjp/http://jsfiddle.net/zarjay/CUEjp/</description>
		<content:encoded><![CDATA[<p>Do you mean how to prevent duplicates? addEntries() could be modified to filter out cells that contain matching children. It would work similar to this example: http://jsfiddle.net/zarjay/CUEjp/http://jsfiddle.net/zarjay/CUEjp/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using jQuery to Make a Simple Scheduler App by Wul142</title>
		<link>http://zarjay.net/2010/03/09/using-jquery-to-make-a-simple-scheduler-app/comment-page-1/#comment-170</link>
		<dc:creator>Wul142</dc:creator>
		<pubDate>Thu, 12 May 2011 21:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=556#comment-170</guid>
		<description>is this possiable to check which cell is pre-selected and wont put multi massages on same cell. Aslo, how can i pass the time table and email the content to myself?


thanks
</description>
		<content:encoded><![CDATA[<p>is this possiable to check which cell is pre-selected and wont put multi massages on same cell. Aslo, how can i pass the time table and email the content to myself?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Motorola Cliq FAQ by JR</title>
		<link>http://zarjay.net/2009/12/24/motorola-cliq-faq/comment-page-1/#comment-159</link>
		<dc:creator>JR</dc:creator>
		<pubDate>Sun, 08 May 2011 13:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=327#comment-159</guid>
		<description>This might help: 

http://www.motorola.com/staticfiles/Support/Experiences/sdcards/US-EN/tmo/cliq/downgrade-to-cupcake.html</description>
		<content:encoded><![CDATA[<p>This might help: </p>
<p><a href="http://www.motorola.com/staticfiles/Support/Experiences/sdcards/US-EN/tmo/cliq/downgrade-to-cupcake.html" rel="nofollow">http://www.motorola.com/staticfiles/Support/Experiences/sdcards/US-EN/tmo/cliq/downgrade-to-cupcake.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Motorola Cliq FAQ by Italyanguy</title>
		<link>http://zarjay.net/2009/12/24/motorola-cliq-faq/comment-page-1/#comment-158</link>
		<dc:creator>Italyanguy</dc:creator>
		<pubDate>Sun, 08 May 2011 09:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=327#comment-158</guid>
		<description>Is there a way to remove 2.1?   It is the worst upgrade ever.  my phone is so slow with it hard to find contacts or do mass texts phone just shuts off randomly programs just open such as alarm of which I had never used or opened  .  Any suggestions</description>
		<content:encoded><![CDATA[<p>Is there a way to remove 2.1?   It is the worst upgrade ever.  my phone is so slow with it hard to find contacts or do mass texts phone just shuts off randomly programs just open such as alarm of which I had never used or opened  .  Any suggestions</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updating My Scheduler App with More CSS and JavaScript Goodness by Wul142</title>
		<link>http://zarjay.net/2010/05/01/updating-my-scheduler-app-with-more-css-and-javascript-goodness/comment-page-1/#comment-178</link>
		<dc:creator>Wul142</dc:creator>
		<pubDate>Fri, 06 May 2011 23:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://zarjay.net/?p=599#comment-178</guid>
		<description>hi man i really like your code. also i changed your code a bit tomeet my requirement. However, it didnt work somehow for deleting individual item.

here is my code for scheduler.js


$(function() {

    

    // Initialize some jQuery objects

    var 

        $error = $(&#039;#error&#039;),

        $info = $(&#039;#info&#039;),

        $entry_section = $(&#039;#add-entry-section&#039;),

        $entry_name = $(&#039;#entry-name&#039;),

        $schedule = $(&#039;#schedule&#039;),

        $clone = $(&#039;#clone&#039;),

        $generate = $(&#039;#generate&#039;);

    

    // Start the setup

    init();

    

    // Setup code

    function init() {

        // Hide Stuff

        $error.hide();

        $info.hide();


        // Make the table cells selectable

        $schedule.selectable({

            filter: &#039;td&#039;

        });


        // Whenever entries are created, let them be deletable

        $(&#039;.deletable&#039;).live(&#039;click&#039;, removeEntry);

        

        // Activate buttons

        //$(&#039;#add-entry&#039;).click(openEntrySection);


        

        $(&#039;#save&#039;).click(addEntries);

        $(&#039;#cancel&#039;).click(closeEntrySection);

        $(&#039;#add-entry-form&#039;).submit(addEntries);

        $(&#039;#add-row&#039;)

            .click(addRow)

            .hover(addRowHighlight, addRowUndoHighlight);

        $(&#039;#remove-row&#039;)

            .click(removeRow)

            .hover(removeRowHighlight, removeRowUndoHighlight);

        $(&#039;#remove-entries&#039;)

            .click(removeEntries)

            .hover(removeEntriesHighlight, removeEntriesUndoHighlight);

        $(&#039;#generate&#039;).click(generateSchedule);

        


        

        // Prevent text selection on double-click

        $(&#039;.actions a&#039;)

            .attr(&#039;unselectable&#039;,&#039;on&#039;)

            .css(&#039;MozUserSelect&#039;,&#039;none&#039;)

            .bind(&#039;selectstart.ui&#039;, function() {

                return false;

            });

    }

    

    // Add a row to the table

    function addRow() {

        $schedule.find(&#039;tbody&#039;).append(&#039;&#039;);

        addRowUndoHighlight();

        addRowHighlight();

        return false;

    }

    

    // Highlight bottom row of table to cue user of add action

    function addRowHighlight() {

        $schedule.find(&#039;tbody tr:last-child *&#039;).addClass(&#039;adding&#039;);

    }

    

    // Undo highlight

    function addRowUndoHighlight() {

        $schedule.find(&#039;tbody tr *&#039;).removeClass(&#039;adding&#039;);

    }

    

    // Delete last row from the table

    function removeRow() {

        $schedule.find(&#039;tbody tr&#039;).last().remove();

        removeRowUndoHighlight();

        removeRowHighlight();

        return false;

    }

    

    // Highlight row to be deleted to cue user of delete action

    function removeRowHighlight() {

        $schedule.find(&#039;tbody tr:last-child *&#039;).addClass(&#039;deleting&#039;);

    }

    

    // Undo highlight

    function removeRowUndoHighlight() {

        $schedule.find(&#039;tbody tr *&#039;).removeClass(&#039;deleting&#039;);

    }

    

    // Show &quot;add entry&quot; section

    function openEntrySection() {

        // Prevent entry deletion when section is open

        $schedule.find(&#039;.entry&#039;).removeClass(&#039;deletable&#039;).removeAttr(&#039;title&#039;);

        

        // Show section

        $entry_section.slideDown(function() {

            $entry_name.focus();

        });

        

        // Make the table cells selectable

        $schedule.selectable({

            filter: &#039;td&#039;

        });

        

        return false;

    }

    

    // Hide &quot;add entry&quot; section

    function closeEntrySection() {

        

        // Get rid of selectables

        $schedule.selectable(&#039;destroy&#039;);

        $(&#039;.ui-selected&#039;).removeClass(&#039;ui-selected&#039;);

        

        

        // Make entries deletable

        $schedule.find(&#039;.entry&#039;).addClass(&#039;deletable&#039;).attr(&#039;title&#039;,&#039;Click to delete&#039;);


        // Make the table cells selectable

        $schedule.selectable({

            filter: &#039;td&#039;

        });

        


        return false;

    }

    

    // Add entries to table

    function addEntries() {

        // Get the input text

        var entryValue = &quot;OK&quot;;;

        entryValue = $.trim(entryValue);

        

        // Get selected table cells

        var $selected = $(&#039;.ui-selected&#039;);

        

        if (!entryValue) {

            $error.message(&quot;&quot;, &quot;You didn&#039;t enter a name.&quot;);

        } else if (!$selected.length) {

            $error.message(&quot;&quot;, &quot;You didn&#039;t select anything.&quot;);

        } else {

            // Add entry to each selected cell

            var entry = &#039;&#039; + entryValue + &#039;&#039;;

            $selected.append(entry);

            

            // Close the section

            //closeEntrySection();



        $(&#039;.ui-selected&#039;).removeClass(&#039;ui-selected&#039;);

            

            $info.message(&quot;&quot;, entryValue + &quot; has been added.&quot;);

        }

        


        return false;

    }


    

    // Delete entry from the table

    function removeEntry() {

        $(this).effect(&#039;explode&#039;, 500, function() {

            $(this).remove();

        });

    }

    

    // Delete all entries from the table

    function removeEntries() {

        // Find all entries

        var $entries = $schedule.find(&#039;.entry&#039;);

        

        // Delete them

        $entries.fadeOut(function() {

            $entries.remove();

        });

        

        return false;

    }

    

    // Highlight entries to be deleted to cue user of deletion action

    function removeEntriesHighlight() {

        $(&#039;.entry&#039;).addClass(&#039;deleting&#039;);

    }

    

    // Undo highlight

    function removeEntriesUndoHighlight() {

        $(&#039;.entry&#039;).removeClass(&#039;deleting&#039;);

    }


    

    // Generate a schedule from the table

    function generateSchedule() {

        // Clone the table

        $clone.empty()

        $schedule.clone().removeAttr(&#039;id&#039;).removeClass(&#039;ui-selectable&#039;).addClass(&#039;cloned&#039;).appendTo($clone);

        

        // Remove input fields

        // Prevent entries from deletion

        // Display random entry for each cell

        $clone

            .find(&#039;input&#039;).each(function(index) {

                var text = $(this).val();

                $(this).replaceWith(&#039;&#039; + text + &#039;&#039;);

            }).end()

            .find(&#039;.deletable&#039;).removeClass(&#039;deletable&#039;).removeAttr(&#039;title&#039;).end()

            .find(&#039;.ui-selectee&#039;).removeClass(&#039;ui-selectee&#039;).end()

            .find(&#039;.ui-selected&#039;).removeClass(&#039;ui-selected&#039;).end()

            .find(&#039;.cloned tbody td&#039;).randomChild();

            

        return false;

    }


});


;(function($) {

    /* 

     * Random Child (0.1)

     * by Mike Branski (www.leftrightdesigns.com)

     * mikebranski@gmail.com

     *

     * Copyright (c) 2008 Mike Branski (www.leftrightdesigns.com)

     * Licensed under GPL (www.leftrightdesigns.com/library/jquery/randomchild/gpl.txt)

     */

    $.fn.randomChild = function(settings) {

        return this.each(function(){

            var c = $(this).children().length;

            var r = Math.ceil(Math.random() * c);

            $(this).children().hide().parent().children(&#039;:nth-child(&#039; + r + &#039;)&#039;).show();

        });

    };


    // My extensions

    $.fn.message = function(strongText, plainText) {

        return this.each(function() {            

            $(this)

                .empty().fadeIn()

                .html(&#039;&lt;strong&gt;&#039; + strongText + &#039;&lt;/strong&gt; &#039; + plainText + &#039;&#039;)

                .delay(2000).fadeOut();

        });

    };

})(jQuery);

</description>
		<content:encoded><![CDATA[<p>hi man i really like your code. also i changed your code a bit tomeet my requirement. However, it didnt work somehow for deleting individual item.</p>
<p>here is my code for scheduler.js</p>
<p>$(function() {</p>
<p>    // Initialize some jQuery objects</p>
<p>    var </p>
<p>        $error = $(&#8216;#error&#8217;),</p>
<p>        $info = $(&#8216;#info&#8217;),</p>
<p>        $entry_section = $(&#8216;#add-entry-section&#8217;),</p>
<p>        $entry_name = $(&#8216;#entry-name&#8217;),</p>
<p>        $schedule = $(&#8216;#schedule&#8217;),</p>
<p>        $clone = $(&#8216;#clone&#8217;),</p>
<p>        $generate = $(&#8216;#generate&#8217;);</p>
<p>    // Start the setup</p>
<p>    init();</p>
<p>    // Setup code</p>
<p>    function init() {</p>
<p>        // Hide Stuff</p>
<p>        $error.hide();</p>
<p>        $info.hide();</p>
<p>        // Make the table cells selectable</p>
<p>        $schedule.selectable({</p>
<p>            filter: &#8216;td&#8217;</p>
<p>        });</p>
<p>        // Whenever entries are created, let them be deletable</p>
<p>        $(&#8216;.deletable&#8217;).live(&#8216;click&#8217;, removeEntry);</p>
<p>        // Activate buttons</p>
<p>        //$(&#8216;#add-entry&#8217;).click(openEntrySection);</p>
<p>        $(&#8216;#save&#8217;).click(addEntries);</p>
<p>        $(&#8216;#cancel&#8217;).click(closeEntrySection);</p>
<p>        $(&#8216;#add-entry-form&#8217;).submit(addEntries);</p>
<p>        $(&#8216;#add-row&#8217;)</p>
<p>            .click(addRow)</p>
<p>            .hover(addRowHighlight, addRowUndoHighlight);</p>
<p>        $(&#8216;#remove-row&#8217;)</p>
<p>            .click(removeRow)</p>
<p>            .hover(removeRowHighlight, removeRowUndoHighlight);</p>
<p>        $(&#8216;#remove-entries&#8217;)</p>
<p>            .click(removeEntries)</p>
<p>            .hover(removeEntriesHighlight, removeEntriesUndoHighlight);</p>
<p>        $(&#8216;#generate&#8217;).click(generateSchedule);</p>
<p>        // Prevent text selection on double-click</p>
<p>        $(&#8216;.actions a&#8217;)</p>
<p>            .attr(&#8216;unselectable&#8217;,'on&#8217;)</p>
<p>            .css(&#8216;MozUserSelect&#8217;,'none&#8217;)</p>
<p>            .bind(&#8216;selectstart.ui&#8217;, function() {</p>
<p>                return false;</p>
<p>            });</p>
<p>    }</p>
<p>    // Add a row to the table</p>
<p>    function addRow() {</p>
<p>        $schedule.find(&#8216;tbody&#8217;).append(&#8221;);</p>
<p>        addRowUndoHighlight();</p>
<p>        addRowHighlight();</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Highlight bottom row of table to cue user of add action</p>
<p>    function addRowHighlight() {</p>
<p>        $schedule.find(&#8216;tbody tr:last-child *&#8217;).addClass(&#8216;adding&#8217;);</p>
<p>    }</p>
<p>    // Undo highlight</p>
<p>    function addRowUndoHighlight() {</p>
<p>        $schedule.find(&#8216;tbody tr *&#8217;).removeClass(&#8216;adding&#8217;);</p>
<p>    }</p>
<p>    // Delete last row from the table</p>
<p>    function removeRow() {</p>
<p>        $schedule.find(&#8216;tbody tr&#8217;).last().remove();</p>
<p>        removeRowUndoHighlight();</p>
<p>        removeRowHighlight();</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Highlight row to be deleted to cue user of delete action</p>
<p>    function removeRowHighlight() {</p>
<p>        $schedule.find(&#8216;tbody tr:last-child *&#8217;).addClass(&#8216;deleting&#8217;);</p>
<p>    }</p>
<p>    // Undo highlight</p>
<p>    function removeRowUndoHighlight() {</p>
<p>        $schedule.find(&#8216;tbody tr *&#8217;).removeClass(&#8216;deleting&#8217;);</p>
<p>    }</p>
<p>    // Show &#8220;add entry&#8221; section</p>
<p>    function openEntrySection() {</p>
<p>        // Prevent entry deletion when section is open</p>
<p>        $schedule.find(&#8216;.entry&#8217;).removeClass(&#8216;deletable&#8217;).removeAttr(&#8216;title&#8217;);</p>
<p>        // Show section</p>
<p>        $entry_section.slideDown(function() {</p>
<p>            $entry_name.focus();</p>
<p>        });</p>
<p>        // Make the table cells selectable</p>
<p>        $schedule.selectable({</p>
<p>            filter: &#8216;td&#8217;</p>
<p>        });</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Hide &#8220;add entry&#8221; section</p>
<p>    function closeEntrySection() {</p>
<p>        // Get rid of selectables</p>
<p>        $schedule.selectable(&#8216;destroy&#8217;);</p>
<p>        $(&#8216;.ui-selected&#8217;).removeClass(&#8216;ui-selected&#8217;);</p>
<p>        // Make entries deletable</p>
<p>        $schedule.find(&#8216;.entry&#8217;).addClass(&#8216;deletable&#8217;).attr(&#8216;title&#8217;,'Click to delete&#8217;);</p>
<p>        // Make the table cells selectable</p>
<p>        $schedule.selectable({</p>
<p>            filter: &#8216;td&#8217;</p>
<p>        });</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Add entries to table</p>
<p>    function addEntries() {</p>
<p>        // Get the input text</p>
<p>        var entryValue = &#8220;OK&#8221;;;</p>
<p>        entryValue = $.trim(entryValue);</p>
<p>        // Get selected table cells</p>
<p>        var $selected = $(&#8216;.ui-selected&#8217;);</p>
<p>        if (!entryValue) {</p>
<p>            $error.message(&#8220;&#8221;, &#8220;You didn&#8217;t enter a name.&#8221;);</p>
<p>        } else if (!$selected.length) {</p>
<p>            $error.message(&#8220;&#8221;, &#8220;You didn&#8217;t select anything.&#8221;);</p>
<p>        } else {</p>
<p>            // Add entry to each selected cell</p>
<p>            var entry = &#8221; + entryValue + &#8221;;</p>
<p>            $selected.append(entry);</p>
<p>            // Close the section</p>
<p>            //closeEntrySection();</p>
<p>        $(&#8216;.ui-selected&#8217;).removeClass(&#8216;ui-selected&#8217;);</p>
<p>            $info.message(&#8220;&#8221;, entryValue + &#8221; has been added.&#8221;);</p>
<p>        }</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Delete entry from the table</p>
<p>    function removeEntry() {</p>
<p>        $(this).effect(&#8216;explode&#8217;, 500, function() {</p>
<p>            $(this).remove();</p>
<p>        });</p>
<p>    }</p>
<p>    // Delete all entries from the table</p>
<p>    function removeEntries() {</p>
<p>        // Find all entries</p>
<p>        var $entries = $schedule.find(&#8216;.entry&#8217;);</p>
<p>        // Delete them</p>
<p>        $entries.fadeOut(function() {</p>
<p>            $entries.remove();</p>
<p>        });</p>
<p>        return false;</p>
<p>    }</p>
<p>    // Highlight entries to be deleted to cue user of deletion action</p>
<p>    function removeEntriesHighlight() {</p>
<p>        $(&#8216;.entry&#8217;).addClass(&#8216;deleting&#8217;);</p>
<p>    }</p>
<p>    // Undo highlight</p>
<p>    function removeEntriesUndoHighlight() {</p>
<p>        $(&#8216;.entry&#8217;).removeClass(&#8216;deleting&#8217;);</p>
<p>    }</p>
<p>    // Generate a schedule from the table</p>
<p>    function generateSchedule() {</p>
<p>        // Clone the table</p>
<p>        $clone.empty()</p>
<p>        $schedule.clone().removeAttr(&#8216;id&#8217;).removeClass(&#8216;ui-selectable&#8217;).addClass(&#8216;cloned&#8217;).appendTo($clone);</p>
<p>        // Remove input fields</p>
<p>        // Prevent entries from deletion</p>
<p>        // Display random entry for each cell</p>
<p>        $clone</p>
<p>            .find(&#8216;input&#8217;).each(function(index) {</p>
<p>                var text = $(this).val();</p>
<p>                $(this).replaceWith(&#8221; + text + &#8221;);</p>
<p>            }).end()</p>
<p>            .find(&#8216;.deletable&#8217;).removeClass(&#8216;deletable&#8217;).removeAttr(&#8216;title&#8217;).end()</p>
<p>            .find(&#8216;.ui-selectee&#8217;).removeClass(&#8216;ui-selectee&#8217;).end()</p>
<p>            .find(&#8216;.ui-selected&#8217;).removeClass(&#8216;ui-selected&#8217;).end()</p>
<p>            .find(&#8216;.cloned tbody td&#8217;).randomChild();</p>
<p>        return false;</p>
<p>    }</p>
<p>});</p>
<p>;(function($) {</p>
<p>    /* </p>
<p>     * Random Child (0.1)</p>
<p>     * by Mike Branski (www.leftrightdesigns.com)</p>
<p>     * <a href="mailto:mikebranski@gmail.com">mikebranski@gmail.com</a></p>
<p>     *</p>
<p>     * Copyright (c) 2008 Mike Branski (www.leftrightdesigns.com)</p>
<p>     * Licensed under GPL (www.leftrightdesigns.com/library/jquery/randomchild/gpl.txt)</p>
<p>     */</p>
<p>    $.fn.randomChild = function(settings) {</p>
<p>        return this.each(function(){</p>
<p>            var c = $(this).children().length;</p>
<p>            var r = Math.ceil(Math.random() * c);</p>
<p>            $(this).children().hide().parent().children(&#8216;:nth-child(&#8216; + r + &#8216;)&#8217;).show();</p>
<p>        });</p>
<p>    };</p>
<p>    // My extensions</p>
<p>    $.fn.message = function(strongText, plainText) {</p>
<p>        return this.each(function() {            </p>
<p>            $(this)</p>
<p>                .empty().fadeIn()</p>
<p>                .html(&#8216;<strong>&#8216; + strongText + &#8216;</strong> &#8216; + plainText + &#8221;)</p>
<p>                .delay(2000).fadeOut();</p>
<p>        });</p>
<p>    };</p>
<p>})(jQuery);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 1.873 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-04-30 19:59:12 -->
<!-- Compression = gzip -->
