<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - two drag and drop functions]]></title>
		<link>http://mifjs.net/forum/topic/186/</link>
		<description><![CDATA[The most recent posts in two drag and drop functions.]]></description>
		<lastBuildDate>Thu, 07 Jan 2010 19:59:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: two drag and drop functions]]></title>
			<link>http://mifjs.net/forum/post/700/#p700</link>
			<description><![CDATA[don't understand where is problem and for why 2 functions, just add if check:
[code]
onComplete: function(){
   if(presed_something){
        //do presed action
   }else{
       //do another action
   }
}
[/code]]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Thu, 07 Jan 2010 19:59:00 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/700/#p700</guid>
		</item>
		<item>
			<title><![CDATA[two drag and drop functions]]></title>
			<link>http://mifjs.net/forum/post/696/#p696</link>
			<description><![CDATA[Hello,

I want to make use of two different drag and drop functions in my tree. 

So I want to use two times : 

[code]

new Mif.Tree.Drag(this, {
                
                onComplete:
                              
                                ...

[/code]

But I want to differ them. That means that the user has the choice which one of these two should be called. I thought that it would be a good idea that he is choosing by pressing a certain key on the keyboard.

So I want that when he presses 'STRG+X' while dragging the first drag and drop function is called. And when he is pressing nothing, the second one.

Is it possible to do something like that??]]></description>
			<author><![CDATA[dummy@example.com (jonathan)]]></author>
			<pubDate>Fri, 01 Jan 2010 19:23:22 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/696/#p696</guid>
		</item>
	</channel>
</rss>

