<?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:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" 	>
<channel>
	<title>Comments on: script.aculo.us &#8211; Sortable.create move Element Up and Down with Arrows</title>
	<atom:link href="http://www.neotrinity.at/2007/06/26/scriptaculous-move/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/</link>
	<description>my adventures and everyday&#039;s life</description>
	<lastBuildDate>Fri, 30 Jul 2010 00:34:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<image><url>http://www.neotrinity.at/feeds/favicon.jpg</url><title>travellin' meets real life</title><width>40</width><height>40</height><link>http://www.neotrinity.at/</link></image>
	<item>
		<title>By: Berny</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-274</link>
		<dc:creator>Berny</dc:creator>
		<pubDate>Sat, 22 Mar 2008 16:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-274</guid>
		<description>hi nick!

i already implemented your requirements in my wordpress plugins &lt;a href=&quot;/projects/#wordpress_timezonecalculator&quot; rel=&quot;nofollow&quot;&gt;timezonecalculator&lt;/a&gt; and &lt;a href=&quot;/projects/#wordpress_generalstats&quot; rel=&quot;nofollow&quot;&gt;generalstats&lt;/a&gt;. maybe you want to have a look.

berny</description>
		<content:encoded><![CDATA[<p>hi nick!</p>
<p>i already implemented your requirements in my wordpress plugins <a href="/projects/#wordpress_timezonecalculator" rel="nofollow">timezonecalculator</a> and <a href="/projects/#wordpress_generalstats" rel="nofollow">generalstats</a>. maybe you want to have a look.</p>
<p>berny</p>
]]></content:encoded>
<geo:lat>15</geo:lat><geo:long>100</geo:long>	</item>
	<item>
		<title>By: nickmorss</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-272</link>
		<dc:creator>nickmorss</dc:creator>
		<pubDate>Wed, 19 Mar 2008 15:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-272</guid>
		<description>Hi davo,

im trying to work on a drag and dropable / sortable list which allows me to also move data into another list.

the idea is that the user drags the items into an intially blank list they want to use and then they can sort them there.

any ideas on how i can chianve this?

Nick</description>
		<content:encoded><![CDATA[<p>Hi davo,</p>
<p>im trying to work on a drag and dropable / sortable list which allows me to also move data into another list.</p>
<p>the idea is that the user drags the items into an intially blank list they want to use and then they can sort them there.</p>
<p>any ideas on how i can chianve this?</p>
<p>Nick</p>
]]></content:encoded>
<geo:lat>54</geo:lat><geo:long>-2</geo:long>	</item>
	<item>
		<title>By: Berny</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-218</link>
		<dc:creator>Berny</dc:creator>
		<pubDate>Thu, 08 Nov 2007 12:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-218</guid>
		<description>hi davo!

sorry, i don&#039;t know a way to get the element id while dragging. - perhaps you should have a look in the &lt;a target=&quot;_blank&quot; href=&quot;http://github.com/madrobby/scriptaculous/wikis&quot; rel=&quot;nofollow&quot;&gt;script.aculo.us wiki&lt;/a&gt;.

berny</description>
		<content:encoded><![CDATA[<p>hi davo!</p>
<p>sorry, i don&#8217;t know a way to get the element id while dragging. &#8211; perhaps you should have a look in the <a target="_blank" href="http://github.com/madrobby/scriptaculous/wikis" rel="nofollow">script.aculo.us wiki</a>.</p>
<p>berny</p>
]]></content:encoded>
<geo:lat>47.2</geo:lat><geo:long>13.2</geo:long>	</item>
	<item>
		<title>By: davo</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-217</link>
		<dc:creator>davo</dc:creator>
		<pubDate>Thu, 08 Nov 2007 02:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-217</guid>
		<description>Hi is there anyway for me to get the id of the element that was moved in the onupdate function? this is when they drag the element to another position as i need to check attributes of only that element before i finish the onupdate function</description>
		<content:encoded><![CDATA[<p>Hi is there anyway for me to get the id of the element that was moved in the onupdate function? this is when they drag the element to another position as i need to check attributes of only that element before i finish the onupdate function</p>
]]></content:encoded>
<geo:lat>-27</geo:lat><geo:long>133</geo:long>	</item>
	<item>
		<title>By: Berny</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-196</link>
		<dc:creator>Berny</dc:creator>
		<pubDate>Sat, 22 Sep 2007 18:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-196</guid>
		<description>hi nikk!

thanks for your contribution. - nice you refactored my source code.

i changed the algos in &lt;a href=&quot;http://www.neotrinity.at/projects/#wordpress&quot; rel=&quot;nofollow&quot;&gt;my wordpress plugins&lt;/a&gt; after adoption and credited you with your homepage. the new versions will be published in the upcoming weeks...

berny</description>
		<content:encoded><![CDATA[<p>hi nikk!</p>
<p>thanks for your contribution. &#8211; nice you refactored my source code.</p>
<p>i changed the algos in <a href="http://www.neotrinity.at/projects/#wordpress" rel="nofollow">my wordpress plugins</a> after adoption and credited you with your homepage. the new versions will be published in the upcoming weeks&#8230;</p>
<p>berny</p>
]]></content:encoded>
<geo:lat>47.2</geo:lat><geo:long>13.2</geo:long>	</item>
	<item>
		<title>By: Nikk Folts</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-195</link>
		<dc:creator>Nikk Folts</dc:creator>
		<pubDate>Fri, 21 Sep 2007 17:22:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-195</guid>
		<description>I abstracted your&#039;s a little to make it much shorter:


function moveUp(list, row) {
	moveRow(list, row, 1);
}

function moveDown(list, row) {
	moveRow(list, row, -1);
}

function moveRow(list, row, dir) {
var sequence=Sortable.sequence(list);
	for (var j=0; j&lt;sequence.length; j++) {
		var i = j - dir;
		if (sequence[j]==row &amp;&amp; i &gt;= 0 &amp;&amp; i &lt;= sequence.length) {
			var temp=sequence[i];
			sequence[i]=row;
			sequence[j]=temp;
			break;
		}
	}
	Sortable.setSequence(list, sequence);
}


Hope you find it as useful as I found yours...</description>
		<content:encoded><![CDATA[<p>I abstracted your&#8217;s a little to make it much shorter:</p>
<p>function moveUp(list, row) {<br />
	moveRow(list, row, 1);<br />
}</p>
<p>function moveDown(list, row) {<br />
	moveRow(list, row, -1);<br />
}</p>
<p>function moveRow(list, row, dir) {<br />
var sequence=Sortable.sequence(list);<br />
	for (var j=0; j&lt;sequence.length; j++) {<br />
		var i = j &#8211; dir;<br />
		if (sequence[j]==row &amp;&amp; i &gt;= 0 &amp;&amp; i &lt;= sequence.length) {<br />
			var temp=sequence[i];<br />
			sequence[i]=row;<br />
			sequence[j]=temp;<br />
			break;<br />
		}<br />
	}<br />
	Sortable.setSequence(list, sequence);<br />
}</p>
<p>Hope you find it as useful as I found yours&#8230;</p>
]]></content:encoded>
<geo:lat>38</geo:lat><geo:long>-97</geo:long>	</item>
	<item>
		<title>By: Berny</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-174</link>
		<dc:creator>Berny</dc:creator>
		<pubDate>Wed, 11 Jul 2007 09:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-174</guid>
		<description>hi joel!

i totally agree, Sortable.sequence is not documented at all. - i got all my infos from &lt;a target=&quot;_blank&quot; href=&quot;http://github.com/madrobby/scriptaculous/wikis&quot; rel=&quot;nofollow&quot;&gt;the  scriptaculous wiki&lt;/a&gt;. you could perhaps post your question there or do reverse engineering (like me)...

berny</description>
		<content:encoded><![CDATA[<p>hi joel!</p>
<p>i totally agree, Sortable.sequence is not documented at all. &#8211; i got all my infos from <a target="_blank" href="http://github.com/madrobby/scriptaculous/wikis" rel="nofollow">the  scriptaculous wiki</a>. you could perhaps post your question there or do reverse engineering (like me)&#8230;</p>
<p>berny</p>
]]></content:encoded>
<geo:lat>47.2</geo:lat><geo:long>13.2</geo:long>	</item>
	<item>
		<title>By: joelbloch</title>
		<link>http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-173</link>
		<dc:creator>joelbloch</dc:creator>
		<pubDate>Tue, 10 Jul 2007 19:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.neotrinity.at/2007/06/26/scriptaculous-move/#comment-173</guid>
		<description>Hello,
Thanks a lot for your example, it is very helpfull. I am currently discovering scriptaculous, and all the effects which can be added in javascript.
I must say I am little confused about Sortable.setSequence, escape, unescape, Sortable.sequence... I can&#039;t find any documentation on these methods. Would you have some?

Thanks and regards,
Joel</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Thanks a lot for your example, it is very helpfull. I am currently discovering scriptaculous, and all the effects which can be added in javascript.<br />
I must say I am little confused about Sortable.setSequence, escape, unescape, Sortable.sequence&#8230; I can&#8217;t find any documentation on these methods. Would you have some?</p>
<p>Thanks and regards,<br />
Joel</p>
]]></content:encoded>
<geo:lat>46</geo:lat><geo:long>2</geo:long>	</item>
</channel>
</rss>
