<?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: Updated Scriplaculous Sortable Demo</title>
	<atom:link href="http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 07 Sep 2010 05:02:56 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris P</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-303550</link>
		<dc:creator>Chris P</dc:creator>
		<pubDate>Thu, 27 May 2010 14:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-303550</guid>
		<description>Hi

Great piece of code, however I&#039;m getting an error in Firefox (using firebug) of sections.each is not a function

It works in IE8 but not Firefox 3+ and Chrome. Any ideas?

Many thanks

Chris</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Great piece of code, however I&#8217;m getting an error in Firefox (using firebug) of sections.each is not a function</p>
<p>It works in IE8 but not Firefox 3+ and Chrome. Any ideas?</p>
<p>Many thanks</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-284119</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 23 Oct 2009 16:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-284119</guid>
		<description>If you are able to help me resolve these issues, I would appreciate it. I would even compensate your for your time, if you can show me my example working (via screencast video or something).

Example and code found at: http://www.paulwesson.com/sortable/


The Problems
- onload, I have to click the expand (+) icon twice to get it to open

- In &#039;Topic 1&#039; I need to be able to drag an entry into &#039;Topic 2&#039;
without &#039;Topic 2&#039; being open. On dragging something over a collapsed
container, I&#039;d like that container to automatically expand and allow
me to drop the item into it.

- If both Topics are closed and you expand Topic 2, then Topic 1, you
are unable to drag an item out of Topic 1 into Topic 2

Again, any help would be most helpful.

Thanks
Paul</description>
		<content:encoded><![CDATA[<p>If you are able to help me resolve these issues, I would appreciate it. I would even compensate your for your time, if you can show me my example working (via screencast video or something).</p>
<p>Example and code found at: <a href="http://www.paulwesson.com/sortable/" rel="nofollow">http://www.paulwesson.com/sortable/</a></p>
<p>The Problems<br />
- onload, I have to click the expand (+) icon twice to get it to open</p>
<p>- In &#8216;Topic 1&#8242; I need to be able to drag an entry into &#8216;Topic 2&#8242;<br />
without &#8216;Topic 2&#8242; being open. On dragging something over a collapsed<br />
container, I&#8217;d like that container to automatically expand and allow<br />
me to drop the item into it.</p>
<p>- If both Topics are closed and you expand Topic 2, then Topic 1, you<br />
are unable to drag an item out of Topic 1 into Topic 2</p>
<p>Again, any help would be most helpful.</p>
<p>Thanks<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jojiju</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-258334</link>
		<dc:creator>jojiju</dc:creator>
		<pubDate>Mon, 27 Apr 2009 12:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-258334</guid>
		<description>nice tutorial, I really like it, one question what about two column layout.</description>
		<content:encoded><![CDATA[<p>nice tutorial, I really like it, one question what about two column layout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advanced Scriplaculous Sortable Demo Fix &#124; EyedMax's Pit</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-257867</link>
		<dc:creator>Advanced Scriplaculous Sortable Demo Fix &#124; EyedMax's Pit</dc:creator>
		<pubDate>Mon, 20 Apr 2009 00:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-257867</guid>
		<description>[...] There is a good example of using nested Scriplaculous Sortables. With one little flaw - Scriplaculous ver 1.6.1 used, and [...]</description>
		<content:encoded><![CDATA[<p>[...] There is a good example of using nested Scriplaculous Sortables. With one little flaw &#8211; Scriplaculous ver 1.6.1 used, and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-232623</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 30 Oct 2008 14:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-232623</guid>
		<description>This thread may be dead, not sure, but if anyone sees this...

There appears to be a bug here with IE7. In your example when you drag an item from one topic to another and place it on top of an existing item (just in the right spot), one or more items disappear. If you rearrange that group, they re-appear.

Does anyone have an idea what the problem is?</description>
		<content:encoded><![CDATA[<p>This thread may be dead, not sure, but if anyone sees this&#8230;</p>
<p>There appears to be a bug here with IE7. In your example when you drag an item from one topic to another and place it on top of an existing item (just in the right spot), one or more items disappear. If you rearrange that group, they re-appear.</p>
<p>Does anyone have an idea what the problem is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scottg</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-121576</link>
		<dc:creator>scottg</dc:creator>
		<pubDate>Mon, 11 Feb 2008 16:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-121576</guid>
		<description>Has anyone managed to add a delete item from the list working? If so can you post the code?
I tried adding a checkbox to the list items so that I could select multiple list items and then a submit button to delete the selected items, The problem is that I cant get the check boxes to work when they are in the list, when you click on them nothing gets checked. (the same thing happens with the test/demo scripts, the check boxes are not selectable)</description>
		<content:encoded><![CDATA[<p>Has anyone managed to add a delete item from the list working? If so can you post the code?<br />
I tried adding a checkbox to the list items so that I could select multiple list items and then a submit button to delete the selected items, The problem is that I cant get the check boxes to work when they are in the list, when you click on them nothing gets checked. (the same thing happens with the test/demo scripts, the check boxes are not selectable)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Churchill</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-100941</link>
		<dc:creator>Richard Churchill</dc:creator>
		<pubDate>Thu, 29 Nov 2007 03:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-100941</guid>
		<description>Hi Greg,

Found you articles and excellent example on Sortables really useful, thanks for spending the time.  I had a need for the boxes to be horizontal and went on my own little journey getting it to work, which I&#039;ve blogged.  I couldn&#039;t find any horizontal examples in my endless searching so I&#039;ve extended your example with credit to yourself.  Hopefully it will help someone else.

My extension into horizontal Sortables: http://blog.richardchurchill.co.uk/post/2007/11/Scriptaculous-Drag-And-Drop-Sortables-a-horizontal-example.aspx


Many Thanks</description>
		<content:encoded><![CDATA[<p>Hi Greg,</p>
<p>Found you articles and excellent example on Sortables really useful, thanks for spending the time.  I had a need for the boxes to be horizontal and went on my own little journey getting it to work, which I&#8217;ve blogged.  I couldn&#8217;t find any horizontal examples in my endless searching so I&#8217;ve extended your example with credit to yourself.  Hopefully it will help someone else.</p>
<p>My extension into horizontal Sortables: <a href="http://blog.richardchurchill.co.uk/post/2007/11/Scriptaculous-Drag-And-Drop-Sortables-a-horizontal-example.aspx" rel="nofollow">http://blog.richardchurchill.co.uk/post/2007/11/Scriptaculous-Drag-And-Drop-Sortables-a-horizontal-example.aspx</a></p>
<p>Many Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dani</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-2/#comment-99710</link>
		<dc:creator>Dani</dc:creator>
		<pubDate>Sat, 24 Nov 2007 03:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-99710</guid>
		<description>So I have everything with the dragability working, I just cannot figure out how to update my database, here is the JS I used:

/*
 Debug Functions for checking the group and item order
 */
 function getGroupOrder() {
  var sections = document.getElementsByClassName(&#039;section&#039;);
  var alerttext = &#039;&#039;;
  sections.each(function(section) {
   var sectionID = section.id;
   var order = Sortable.serialize(sectionID);
   alerttext += sectionID + &#039;: &#039; + Sortable.sequence(section) + &#039;\n&#039;;
  });
  return false;
  var options = {
  method : &#039;post&#039;,
  parameters : Sortable.serialize(&#039;alerttext&#039;)
  };
  new Ajax.Request(&#039;reorder.php&#039;, options);
 }


Here is the PHP code:

$value) {

$sql= &quot;UPDATE menuitems SET (menuType,menuOrder) VALUES (&#039;$value&#039;,&#039;$i&#039;)&quot;;
			if (!mysql_query($sql,$connect))
			{
			die(&#039;Error: &#039; . mysql_error());
			}
$i++;
}


?&gt;


I don&#039;t know how to test if the PHP is even getting the results over to it.</description>
		<content:encoded><![CDATA[<p>So I have everything with the dragability working, I just cannot figure out how to update my database, here is the JS I used:</p>
<p>/*<br />
 Debug Functions for checking the group and item order<br />
 */<br />
 function getGroupOrder() {<br />
  var sections = document.getElementsByClassName(&#8217;section&#8217;);<br />
  var alerttext = &#8221;;<br />
  sections.each(function(section) {<br />
   var sectionID = section.id;<br />
   var order = Sortable.serialize(sectionID);<br />
   alerttext += sectionID + &#8216;: &#8216; + Sortable.sequence(section) + &#8216;\n&#8217;;<br />
  });<br />
  return false;<br />
  var options = {<br />
  method : &#8216;post&#8217;,<br />
  parameters : Sortable.serialize(&#8217;alerttext&#8217;)<br />
  };<br />
  new Ajax.Request(&#8217;reorder.php&#8217;, options);<br />
 }</p>
<p>Here is the PHP code:</p>
<p>$value) {</p>
<p>$sql= &#8220;UPDATE menuitems SET (menuType,menuOrder) VALUES (&#8217;$value&#8217;,'$i&#8217;)&#8221;;<br />
			if (!mysql_query($sql,$connect))<br />
			{<br />
			die(&#8217;Error: &#8216; . mysql_error());<br />
			}<br />
$i++;<br />
}</p>
<p>?&gt;</p>
<p>I don&#8217;t know how to test if the PHP is even getting the results over to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-1/#comment-94339</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Sun, 28 Oct 2007 21:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-94339</guid>
		<description>Is it possible to allow elements to be dropped onto the page itself aswell as sections?</description>
		<content:encoded><![CDATA[<p>Is it possible to allow elements to be dropped onto the page itself aswell as sections?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/comment-page-1/#comment-87005</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Sat, 08 Sep 2007 19:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregphoto.net/index.php/2006/05/30/updated-scriplaculous-sortable-demo/#comment-87005</guid>
		<description>Hello Greg,

Should be a fairly easy question for ya.... In the getGroupOrder() =&gt; sections.each loop for debugging this, how would I get the h3 handle name to display rather than the section.id?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello Greg,</p>
<p>Should be a fairly easy question for ya&#8230;. In the getGroupOrder() =&gt; sections.each loop for debugging this, how would I get the h3 handle name to display rather than the section.id?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
