<?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 - MifTree and MifMenu integration]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/topic/64/"/>
	<updated>2010-04-06T21:36:21Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/topic/64/</id>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/780/#p780"/>
			<content type="html"><![CDATA[Thanks, I have redo my code, and now it's ok.
i don't know why with all javascript in "source" folder .... I have the error, with only one "js" no problem.]]></content>
			<author>
				<name><![CDATA[duduche1]]></name>
				<email><![CDATA[duduche1@club.fr]]></email>
			</author>
			<updated>2010-04-06T21:36:21Z</updated>
			<id>http://mifjs.net/forum/post/780/#p780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/779/#p779"/>
			<content type="html"><![CDATA[[quote=Duduche1]Hello, I have a problem with the integration
...
My problem is when I do a rigth-click nearby the label/name of the tree, the menu is visible, if I click on the label/name, nothing to do

The code is ok with a old version of tree+menu, but with the last version, I have this problem.[/quote]
works for me [url]http://mifjs.net/misc/tree_menu/[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2010-04-05T15:47:49Z</updated>
			<id>http://mifjs.net/forum/post/779/#p779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/778/#p778"/>
			<content type="html"><![CDATA[Hello, I have a problem with the integration

I have this definition of a menu :
[code]
    var testMenu = new Mif.Menu().load([
            {
                name: 'open',
                action: function()
                {
                    var current = this.treeItem;
                    if(!current) return;

                    alert('open : ' + current.id);
                }
            },
            {
                name: 'remove',
                disabled: true
            },
            {
                name: 'exit',
                id: 'exit'
            }
        ]);
[/code]
With this event on the tree (otree) : 
[code]
    otree.container.addEvent("contextmenu", function(event)
        {
            var node = otree.mouse.node;
            if(!node) return;

            testMenu.treeItem = node;
            testMenu.show(event);

            return false;
        });
[/code]
My problem is when I do a rigth-click nearby the label/name of the tree, the menu is visible, if I click on the label/name, nothing to do

The code is ok with a old version of tree+menu, but with the last version, I have this problem.]]></content>
			<author>
				<name><![CDATA[Duduche1]]></name>
				<email><![CDATA[duduche1@club.fr]]></email>
			</author>
			<updated>2010-04-03T22:38:45Z</updated>
			<id>http://mifjs.net/forum/post/778/#p778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/753/#p753"/>
			<content type="html"><![CDATA[[url=http://mifjs.net/misc/Mif.TreeMenu/]Mif.Menu 1.2 and Mif.Tree 1.2.6 demo[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2010-02-14T19:42:22Z</updated>
			<id>http://mifjs.net/forum/post/753/#p753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/740/#p740"/>
			<content type="html"><![CDATA[To add/delete nodes with Mif.Menu only do the following:
[code]
  var testMenu=new Mif.Menu({
    list: {
      items: [
      {
        name: 'Add node here',
        onAction: function() {
          var current = this.menu.treeItem;
              if(!current) return;
              tree.add({
                property: {
              name: "testnode"
            }
          }, current, 'inside');
        }
      },
      {
        name: 'Drop this node',
        onAction: function() {
          var current = this.menu.treeItem;
          if (!current) return;
          current.remove();
        }
      }
    ]
  }
});
            
  tree.container.addEvent('contextmenu', function(event){
    var node=tree.mouse.node;
    if(!node) return;
    testMenu.show(event);
    testMenu.treeItem=tree.mouse.node;
    return false;
  });
[/code]]]></content>
			<author>
				<name><![CDATA[jan]]></name>
				<uri>http://mifjs.net/forum/user/115/</uri>
			</author>
			<updated>2010-01-25T21:11:33Z</updated>
			<id>http://mifjs.net/forum/post/740/#p740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/711/#p711"/>
			<content type="html"><![CDATA[Mif.Menu [url=http://github.com/creaven/mifmenu]under development[/url]. If you use old[color=#aaaaaa](because new not exist yet)[/color] menu version all old code will work, because nothing changed :-)]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2010-01-22T21:15:40Z</updated>
			<id>http://mifjs.net/forum/post/711/#p711</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/710/#p710"/>
			<content type="html"><![CDATA[Hi moro,
I've read that Mif.Menu is going to be rewritten, is that already done ? Or is the way of integrating MifTree and MifMenu you provided in 2008 still valid ?
Thanks in advance,
Jan]]></content>
			<author>
				<name><![CDATA[jan]]></name>
				<uri>http://mifjs.net/forum/user/115/</uri>
			</author>
			<updated>2010-01-22T19:03:12Z</updated>
			<id>http://mifjs.net/forum/post/710/#p710</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/239/#p239"/>
			<content type="html"><![CDATA[this demo 1.2.0]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2008-12-04T14:44:20Z</updated>
			<id>http://mifjs.net/forum/post/239/#p239</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/238/#p238"/>
			<content type="html"><![CDATA[good]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2008-12-04T14:43:35Z</updated>
			<id>http://mifjs.net/forum/post/238/#p238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/237/#p237"/>
			<content type="html"><![CDATA[It works ... nice !
Thank you]]></content>
			<author>
				<name><![CDATA[scramatte]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2008-12-04T14:42:55Z</updated>
			<id>http://mifjs.net/forum/post/237/#p237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/236/#p236"/>
			<content type="html"><![CDATA[i'm install ff3.0.4 pc, works for me.

alt+left click - temporal fix for opera, because it's don't support contextmenu event

i don't know how contextmenu event should work on mac os]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2008-12-04T14:39:48Z</updated>
			<id>http://mifjs.net/forum/post/236/#p236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/235/#p235"/>
			<content type="html"><![CDATA[On you must do   CTRL + Left click  to fire contextmenu event ...
I've just discovered it !...

On windows it works with right button

Do this demo use mootools 1.2.1 ?]]></content>
			<author>
				<name><![CDATA[scramatte]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2008-12-04T14:34:35Z</updated>
			<id>http://mifjs.net/forum/post/235/#p235</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/234/#p234"/>
			<content type="html"><![CDATA[I'm running Apple Mac OS X 10.5.5  with latest Firefox ...
I can't open context menu ... neither right or left click  doens't works ...]]></content>
			<author>
				<name><![CDATA[scramatte]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2008-12-04T14:28:34Z</updated>
			<id>http://mifjs.net/forum/post/234/#p234</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/233/#p233"/>
			<content type="html"><![CDATA[all components? u include Mif.Container?
u download this demo [url=http://mifjs.net/misc/treemenu/mif_tree_menu.rar]archive[/url], it's work?]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2008-12-04T14:21:01Z</updated>
			<id>http://mifjs.net/forum/post/233/#p233</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: MifTree and MifMenu integration]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/232/#p232"/>
			<content type="html"><![CDATA[I'm running Mootools 1.2.1  
I've download Mif.Menu from your builder]]></content>
			<author>
				<name><![CDATA[scramatte]]></name>
				<uri>http://mifjs.net/forum/user/38/</uri>
			</author>
			<updated>2008-12-04T14:18:30Z</updated>
			<id>http://mifjs.net/forum/post/232/#p232</id>
		</entry>
</feed>

