<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu]]></title>
	<link rel="self" href="http://mifjs.net/forum/feed/atom/"/>
	<updated>2010-07-30T11:02:43Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/</id>
		<entry>
			<title type="html"><![CDATA[cookie storage demo does not work]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/222/new/posts/"/>
			<summary type="html"><![CDATA[it does not work in ie6 and firework3.6(other brower does not test)

attachment is message from firebug]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/153/</uri>
			</author>
			<updated>2010-07-30T11:02:43Z</updated>
			<id>http://mifjs.net/forum/topic/222/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Toggle Tree Features]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/223/new/posts/"/>
			<summary type="html"><![CDATA[Hey there
I've got a problem with the initialisation of advanced features like Sortable.
Is it a Must to initialize and activate these features on Tree initialisation?
There is a request for an application I am working on at the moment to toggle the Sortable function of the tree.
Per default sorting shold be off, users can click a button to turn sorting on and off again.
Is it possible to initiate sorting after the tree has been built?
Or - if not - is it possible to disable the initiated sorting functions to enable it later?

Regards, Michael]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/85/</uri>
			</author>
			<updated>2010-07-25T12:46:07Z</updated>
			<id>http://mifjs.net/forum/topic/223/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[initRows gone?]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/221/new/posts/"/>
			<summary type="html"><![CDATA[Hello,

I was wondering what happened to initRows.  I tried searching and couldn't find anything about it.

I recently updated from an older version and this feature is gone now, and I was getting a good use out of it.

Was there a specific reason it disappeared?

Just curious.  Thanks!]]></summary>
			<author>
				<name><![CDATA[Tickthokk]]></name>
				<uri>http://mifjs.net/forum/user/53/</uri>
			</author>
			<updated>2010-07-15T15:05:51Z</updated>
			<id>http://mifjs.net/forum/topic/221/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Quick tree editing with a small toolbar]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/220/new/posts/"/>
			<summary type="html"><![CDATA[Hello, I'm french, and I use Mif.Tree for my project.

I have made an extension which shows a little toolbar on the right of the selected item.
You can also customize the buttons, their name and their icon, and you can add a fadding effect too (default).

I named this Mif.Tree.QuickToolbar.
I hope it will help open source community ^^

Capture :
[img]http://img145.imageshack.us/img145/7161/capturetq.png[/img]

HTML :
[code]<h1>Mif.Tree quick editing</h1>
<div id="tree_container" class="container"></div>[/code]

JS :
[code]window.addEvent( 'domready', function()
{
    var myTree = new Mif.Tree(
    {
        container: $( 'tree_container' ),
        types: {
            folder: {
                openIcon: 'mif-tree-open-icon',
                closeIcon: 'mif-tree-close-icon'
            }
        },
        dfltType: 'folder',
        height: 18,
        initialize: function()
        {
            new Mif.Tree.QuickToolbar( this, { buttons:
            [{
                action: 'add',
                icon: 'css/add.png',
                title: 'Add a child node'
            },
            {
                action: 'rename',
                icon: 'css/rename.png',
                title: 'Rename this node'
            },
            {
                action: 'remove',
                icon: 'css/remove.png',
                title: 'Delete this node'
            }]});
        }
    });

    myTree.addEvent( 'action', function( action, node )
    {
        if ( action == 'add' )
            node.tree.add( { property: { name: 'newNode' } }, node, 'inside' );
        else if ( action == 'rename' )
            node.rename();
        else if ( action == 'remove' )
            node.remove();
    });

    myTree.load( { url: 'tree.json' } );
});[/code]

CSS :
[code]/*@quicktoolbar*/

.mif-tree-quicktoolbar
{
    display:      inline;
    height:       13px;
    cursor:       default;
    overflow:     hidden;
    font-family:  sans-serif;
    font-size:    11px;
    padding-left: 8px;
    z-index:      1;
}

.mif-tree-quicktoolbar-button
{
    overflow:     hidden;
    height:       13px;
    margin-left:  4px;
    cursor:       pointer;
}[/code]

Icons are found here : [url]http://www.famfamfam.com/lab/icons/silk/[/url]

If you use this script, please give your comments !
Thanks

Cordially,
Charly Lersteau]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/146/</uri>
			</author>
			<updated>2010-07-14T20:44:07Z</updated>
			<id>http://mifjs.net/forum/topic/220/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Can I show check boxes ONLY on leaf nodes?]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/219/new/posts/"/>
			<summary type="html"><![CDATA[Hi,

I'm a newbee to Mif and to MooTools...  I am loving both :)

For my application I only want check boxes on the leaf nodes (the end of the tree branch).  
My tree is 4 levels deep (if that makes any difference) and the leaves are always on level 4.

Can the Mif.Tree do this and if so how?

Thanks]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/145/</uri>
			</author>
			<updated>2010-07-14T20:06:37Z</updated>
			<id>http://mifjs.net/forum/topic/219/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[delete tree]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/15/new/posts/"/>
			<summary type="html"><![CDATA[Hi Moro,

How do you delete the content of a tree? (or subtree)

I have a Mif.Tree object which I populated using load(json...). But I would like to clear it to re-populate it with new data. If I call load twice, the new data is appended to the previous one.

Cheers,
Peter]]></summary>
			<author>
				<name><![CDATA[ordiman85]]></name>
				<uri>http://mifjs.net/forum/user/5/</uri>
			</author>
			<updated>2010-07-10T16:55:37Z</updated>
			<id>http://mifjs.net/forum/topic/15/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Tree: sort after drag]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/218/new/posts/"/>
			<summary type="html"><![CDATA[Hello, first of all: the plugin is awesome, really like it alot.

My question: how to use sorting in combination with drag and drop.

tried something like this:
[code]
onComplete: function(){
    this.current.getParent().sort();
}
[/code]
Please help !
Thx]]></summary>
			<author>
				<name><![CDATA[mrgroovy]]></name>
				<uri>http://mifjs.net/forum/user/144/</uri>
			</author>
			<updated>2010-07-02T11:20:00Z</updated>
			<id>http://mifjs.net/forum/topic/218/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mif.Tree() Never init's with element is null]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/217/new/posts/"/>
			<summary type="html"><![CDATA[what am I missing?

even the simplest:
    sandbox.mooTree = new Mif.Tree({
        container: document.id('my-container-id'),
        forest: true,
        initialize: function(){
            this.initCheckbox('simple');
            new Mif.Tree.KeyNav(this);
        },
    });
errors out with element is null in Mif.Tree at:
...
this.wrapper = new Element('div').addClass('mif-tree-wrapper').injectInside(this.container);
...

I never even get a chance to load any json

container defined as:
<div id="my-container-id"></div>
and is definitely available before the Tree() call  - I've checked.]]></summary>
			<author>
				<name><![CDATA[Codename: Steeve Knight]]></name>
				<uri>http://mifjs.net/forum/user/143/</uri>
			</author>
			<updated>2010-06-19T17:31:40Z</updated>
			<id>http://mifjs.net/forum/topic/217/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[node ID and Selenium]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/216/new/posts/"/>
			<summary type="html"><![CDATA[Hi guys

I am struggling to get Selenium to select the correct node since the "uid" ( found using FireBug) keeps changing after adding another node. <span uid="6" class="mif-tree-name">test node</span>

Is it possible to populate the "uid" based on the id from the SQL database ie <span uid="1" class="mif-tree-name">test node</span>

Regards]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/141/</uri>
			</author>
			<updated>2010-05-31T14:43:31Z</updated>
			<id>http://mifjs.net/forum/topic/216/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Get old parent in Mif.Tree.Drag]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/215/new/posts/"/>
			<summary type="html"><![CDATA[Hi,
how is it possible to get the old parent in MifTree ? I know how to get the new parent (this.current.parentNode in onDrop()), but I don't know how to get the original parent node's name.
Thank you very much in advance,
Jan]]></summary>
			<author>
				<name><![CDATA[jan]]></name>
				<uri>http://mifjs.net/forum/user/115/</uri>
			</author>
			<updated>2010-05-25T10:07:56Z</updated>
			<id>http://mifjs.net/forum/topic/215/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Newbie]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/214/new/posts/"/>
			<summary type="html"><![CDATA[Hi there!

I have been pointed to this js framework as I need a sortable nested list solution.

I have downloaded the tree builder files v1.2.6.1-packed.js, linked in my code and without actually doing anything else I get the error 

--- Line:1 Error Expected ; ---

Have a downloaded the wrong file in error?

Many thanks]]></summary>
			<author>
				<name><![CDATA[Shannow]]></name>
				<uri>http://mifjs.net/forum/user/139/</uri>
			</author>
			<updated>2010-05-14T08:33:34Z</updated>
			<id>http://mifjs.net/forum/topic/214/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Finish node renaming on]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/212/new/posts/"/>
			<summary type="html"><![CDATA[[code]
Mif.Tree.implement({
    
    // ...
    
    startRename: function(node){
        
        // ...

        input.addEvent('blur', this.beforeRenameComplete.bind(this));
        
        // ...
    }

    // ...
});
[/code]

thx André ;o)]]></summary>
			<author>
				<name><![CDATA[AFiedler]]></name>
				<uri>http://mifjs.net/forum/user/133/</uri>
			</author>
			<updated>2010-04-22T13:54:01Z</updated>
			<id>http://mifjs.net/forum/topic/212/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Multi Selcting - Mif Tree]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/211/new/posts/"/>
			<summary type="html"><![CDATA[Is there a way to select multiple nodes in the Mif Tree? I would like to be able to select, then drag and drop multiple items.



Apologies if this has already been discussed.]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/136/</uri>
			</author>
			<updated>2010-04-22T07:40:55Z</updated>
			<id>http://mifjs.net/forum/topic/211/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Add an selectOnDrag option to Mif.Tree.Drag]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/210/new/posts/"/>
			<summary type="html"><![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é]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/133/</uri>
			</author>
			<updated>2010-04-22T07:40:18Z</updated>
			<id>http://mifjs.net/forum/topic/210/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/64/new/posts/"/>
			<summary type="html"><![CDATA[moro,

Can you post an example of how to show MifMenu depending on a clicked MifTree node?

Thank you]]></summary>
			<author>
				<name><![CDATA[duduche1]]></name>
				<uri>http://mifjs.net/forum/user/4/</uri>
			</author>
			<updated>2010-04-06T21:36:21Z</updated>
			<id>http://mifjs.net/forum/topic/64/new/posts/</id>
		</entry>
</feed>
