<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - dnd with custom elements]]></title>
		<link>http://mifjs.net/forum/topic/189/</link>
		<description><![CDATA[The most recent posts in dnd with custom elements.]]></description>
		<lastBuildDate>Sun, 24 Jan 2010 09:21:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/719/#p719</link>
			<description><![CDATA[[url=http://github.com/creaven/miftree/commit/76e68ce59aaa403f08eab6a65a8fd6e7a84c6244]commit 76e68ce59[/url] add drag from element to tree demo.]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Sun, 24 Jan 2010 09:21:09 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/719/#p719</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/712/#p712</link>
			<description><![CDATA[great - thanks!]]></description>
			<author><![CDATA[dummy@example.com (almoehi)]]></author>
			<pubDate>Sat, 23 Jan 2010 01:00:08 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/712/#p712</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/709/#p709</link>
			<description><![CDATA[It's hard to do, there is no built-in methods, I'll try to make a small example of how you can move something in a tree]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Fri, 22 Jan 2010 17:55:39 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/709/#p709</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/706/#p706</link>
			<description><![CDATA[mmh ok how can I do this?

My elements could be anywhere on the page, and should not apear inside the tree.
It should work like a shopping cart where you can drop elements into.]]></description>
			<author><![CDATA[dummy@example.com (almoehi)]]></author>
			<pubDate>Sat, 16 Jan 2010 20:04:35 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/706/#p706</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/705/#p705</link>
			<description><![CDATA[Mif.Tree.Drag.Element is droppable for dragged tree nodes (name may confuse you, but it's so).

How it will work, how you want convert some div or other dom element into tree node?]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Sat, 16 Jan 2010 17:24:43 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/705/#p705</guid>
		</item>
		<item>
			<title><![CDATA[dnd with custom elements]]></title>
			<link>http://mifjs.net/forum/post/704/#p704</link>
			<description><![CDATA[Hi,
i want to be able to drop custom DOM objects into a tree node/folder.

I have elements like this:
<div id="someId" class="folderDropable">some item</div>

experimented with code like this, but can't get it working:
[code]
$$('div.folderDropable').each(function(el){
                el.setStyle('color', 'red');
                dnd = new Mif.Tree.Drag.Element({
                    element: el,
                    options: {
                        onStart: function() {
                            console.log('start dragging');
                        }
                    }
                });
            });
[/code]

any help ?

thanks!]]></description>
			<author><![CDATA[dummy@example.com (almoehi)]]></author>
			<pubDate>Sat, 16 Jan 2010 16:31:45 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/704/#p704</guid>
		</item>
	</channel>
</rss>

