<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Add an selectOnDrag option to Mif.Tree.Drag]]></title>
		<link>http://mifjs.net/forum/topic/210/</link>
		<description><![CDATA[The most recent posts in Add an selectOnDrag option to Mif.Tree.Drag.]]></description>
		<lastBuildDate>Thu, 22 Apr 2010 07:40:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add an selectOnDrag option to Mif.Tree.Drag]]></title>
			<link>http://mifjs.net/forum/post/784/#p784</link>
			<description><![CDATA[if you comment
[code]if(target && target.tree) this.tree.select(target);[/code]
you don't see node selection, blue dotted line will work. You can add some style when node in drop inside position:
[code]
onDrop: function(){
    if(this.inside){
        this.inside.getDOM('name').style.border = 'none';
        this.inside = null;
    }
},
onDrag: function(){
    if(this.where == 'inside') {
        if(this.inside) this.inside.getDOM('name').style.border = 'none';
        this.inside = this.target;
        this.target.getDOM('name').style.border = 'dashed 1px green';
    }else if(this.inside){
        this.inside.getDOM('name').style.border = 'none';
        this.inside = null;
    }
}
[/code]]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Thu, 22 Apr 2010 07:40:18 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/784/#p784</guid>
		</item>
		<item>
			<title><![CDATA[Add an selectOnDrag option to Mif.Tree.Drag]]></title>
			<link>http://mifjs.net/forum/post/781/#p781</link>
			<description><![CDATA[Please add an option for disabling auto-select on dragging over an node.
If i comment this line out:

if(target && target.tree) this.tree.select(target);

i don´t see an insertion marker (blue small line) any more.
How should i fix this?

thx André]]></description>
			<author><![CDATA[dummy@example.com (AFiedler)]]></author>
			<pubDate>Fri, 16 Apr 2010 16:25:58 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/781/#p781</guid>
		</item>
	</channel>
</rss>

