<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu]]></title>
		<link>http://mifjs.net/forum/</link>
		<description><![CDATA[The most recent topics at Mifjs forum — Mif.Tree, Mif.Menu.]]></description>
		<lastBuildDate>Mon, 23 Aug 2010 14:11:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Support: Mootools dollar safe mode]]></title>
			<link>http://mifjs.net/forum/topic/226/new/posts/</link>
			<description><![CDATA[Please support Mootools dollar safe mode. It is recommended that you use document.id() instead of $() in your class files or wrap them with:

[code]
(function($){
     /* your class files here */
})(document.id);
[/code]

This makes Mootools and your classes safe when used with other JavaScript libraries such as jQuery.]]></description>
			<author><![CDATA[dummy@example.com (madrussa)]]></author>
			<pubDate>Mon, 23 Aug 2010 14:11:29 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/226/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[initRows gone?]]></title>
			<link>http://mifjs.net/forum/topic/221/new/posts/</link>
			<description><![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!]]></description>
			<author><![CDATA[dummy@example.com (Tickthokk)]]></author>
			<pubDate>Thu, 15 Jul 2010 15:05:51 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/221/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Quick tree editing with a small toolbar]]></title>
			<link>http://mifjs.net/forum/topic/220/new/posts/</link>
			<description><![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]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Wed, 14 Jul 2010 20:44:07 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/220/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Finish node renaming on]]></title>
			<link>http://mifjs.net/forum/topic/212/new/posts/</link>
			<description><![CDATA[[code]
Mif.Tree.implement({
    
    // ...
    
    startRename: function(node){
        
        // ...

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

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

thx André ;o)]]></description>
			<author><![CDATA[dummy@example.com (AFiedler)]]></author>
			<pubDate>Thu, 22 Apr 2010 13:54:01 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/212/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Add an selectOnDrag option to Mif.Tree.Drag]]></title>
			<link>http://mifjs.net/forum/topic/210/new/posts/</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 (moro)]]></author>
			<pubDate>Thu, 22 Apr 2010 07:40:18 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/210/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Mif.menu drawed only with css ...]]></title>
			<link>http://mifjs.net/forum/topic/201/new/posts/</link>
			<description><![CDATA[Hello,

It would be nice to have a Mif.menu only drawed using CSS new attributes  for shadow, round corners, ...

Take a look to this resource for shadow
[url]http://markusstange.wordpress.com/2009/02/15/fun-with-box-shadows/[/url]

And these lines do the job for all new modern browser :
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;

Thank you]]></description>
			<author><![CDATA[dummy@example.com (scramatte)]]></author>
			<pubDate>Mon, 22 Mar 2010 12:48:26 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/201/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Mif.Menu: unable to get the current event object whent events fired]]></title>
			<link>http://mifjs.net/forum/topic/203/new/posts/</link>
			<description><![CDATA[Hi,

I'm  unable to get the current event object whent events fired.
I mean that for example when  'show' event is fired  event object passed as argument. 

In my case  I use event delegation and I need this to be able to open correct menu.

In Mif.Menu.js file on line 66 to do the job I've replaced :

return this.fireEvent('show');

by 

return this.fireEvent('show', [ coords.event ]);



Thank you]]></description>
			<author><![CDATA[dummy@example.com (scramatte)]]></author>
			<pubDate>Mon, 22 Mar 2010 12:42:12 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/203/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Only certain nodes have a checkbox and not others]]></title>
			<link>http://mifjs.net/forum/topic/8/new/posts/</link>
			<description><![CDATA[Hello Moro,

Thank you for providing such a great Tree object.

I have a little feature request:
How about being able to set a check box only to certain nodes instead of all or nothing?

Cheers,
Peter]]></description>
			<author><![CDATA[dummy@example.com (scramatte)]]></author>
			<pubDate>Sun, 24 Jan 2010 11:13:07 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/8/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Include the serialize method in the Builder ?]]></title>
			<link>http://mifjs.net/forum/topic/169/new/posts/</link>
			<description><![CDATA[Hello !

May I suggest you to include the serialize in the Mif Builder ? ([url]http://mifjs.net/trunk/tree/Download/Builder/[/url]) ?

Kind regards ! :-)]]></description>
			<author><![CDATA[dummy@example.com (Levure)]]></author>
			<pubDate>Fri, 02 Oct 2009 08:19:05 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/169/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Add multiple checkboxes or radio buttons per node]]></title>
			<link>http://mifjs.net/forum/topic/162/new/posts/</link>
			<description><![CDATA[Hi,

First, thanks for this great piece of js. It saves me a lot of harmful code.

I would like to set multiple checkboxes per node (with dependancies) and add some restriction: only select one or none of them per node, like a radio button.

I understand this is not easy, but is it possible to add this feature ?

Thanks a lot.]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Mon, 21 Sep 2009 08:34:11 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/162/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[maxdepth required]]></title>
			<link>http://mifjs.net/forum/topic/150/new/posts/</link>
			<description><![CDATA[First of all, big thanks for that great stuff.

I'd like to have something like a maxdepth param. It would be great, if one could limit the d'n'd to a certain level easily.

;J]]></description>
			<author><![CDATA[dummy@example.com (jobo)]]></author>
			<pubDate>Wed, 17 Jun 2009 11:06:17 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/150/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[1 Line of display code for highlighting control]]></title>
			<link>http://mifjs.net/forum/topic/125/new/posts/</link>
			<description><![CDATA[Hey, 

Could you change Mif.Tree.Draw.getHTML to include the below span tag and class?  This allows me to highlight the node image and text like they do in vista.  Let me know what ya think.  

Thanks!

Will

Code: All i did was add a [color=blue]span[/color] tag with the class [color=red]'mif-tree-node-content-wrapper'[/color]

[code]
Mif.Tree.Draw.getHTML = function(node,html){
        var prefix=node.tree.DOMidPrefix;
        if($defined(node.state.checked)){
            if(!node.hasCheckbox) node.state.checked='nochecked';
            var checkbox='<span class="mif-tree-checkbox mif-tree-node-'+node.state.checked+'" uid="'+node.UID+'">'+Mif.Tree.Draw.zeroSpace+'</span>';
        }else{
            var checkbox='';
        }
        html=html||[];
        html.push(
        '<div class="mif-tree-node ',(node.isLast() ? 'mif-tree-node-last' : ''),'" id="',prefix,node.UID,'">',
            '<span class="mif-tree-node-wrapper ',node.cls,'" uid="',node.UID,'">',
                '<span class="mif-tree-gadjet mif-tree-gadjet-',node.getGadjetType(),'" uid="',node.UID,'">',Mif.Tree.Draw.zeroSpace,'</span>',
                '<span class="mif-tree-node-content-wrapper" uid="',node.UID,'">',
                    checkbox,
                    '<span class="mif-tree-icon ',node.closeIcon,'" uid="',node.UID,'">',Mif.Tree.Draw.zeroSpace,'</span>',
                    '<span class="mif-tree-name" uid="',node.UID,'">',node.name,'</span>',
                '</span>',
            '</span>',
            '<div class="mif-tree-children" style="display:none"></div>',
        '</div>'
        );
        return html;
    };

[/code]]]></description>
			<author><![CDATA[dummy@example.com (wbarnes)]]></author>
			<pubDate>Wed, 15 Apr 2009 17:01:33 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/125/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Use cookies to remember expanded nodes]]></title>
			<link>http://mifjs.net/forum/topic/13/new/posts/</link>
			<description><![CDATA[It would be nice to store IDs of expanded nodes in cookies to auto-open them if the page is reloaded.

T>]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Fri, 10 Apr 2009 16:10:24 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/13/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Static NODE]]></title>
			<link>http://mifjs.net/forum/topic/114/new/posts/</link>
			<description><![CDATA[I mean by Static NODE, a node that you can't DnD, Rename, Delete ...  
In my case it will usefull because I don't wan't to let changing any main nodes.]]></description>
			<author><![CDATA[dummy@example.com (scramatte)]]></author>
			<pubDate>Fri, 10 Apr 2009 14:11:32 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/114/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Trigger support...]]></title>
			<link>http://mifjs.net/forum/topic/110/new/posts/</link>
			<description><![CDATA[Hello,

I've implemented triggers per node. You can assign a specific handler for each node / event. 

My only problem is that each event fired to the tree should also be fire to the proper node.
For example   "drop", "select",  "click"  ... 

Moro ! I will be happy to help in include this feature in the trunk but we need to discuss it ...

Cheers]]></description>
			<author><![CDATA[dummy@example.com (moro)]]></author>
			<pubDate>Sun, 29 Mar 2009 11:37:52 +0000</pubDate>
			<guid>http://mifjs.net/forum/topic/110/new/posts/</guid>
		</item>
	</channel>
</rss>

