<?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://www.mifjs.net/forum/feed/atom/"/>
	<updated>2011-09-29T14:29:03Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/</id>
		<entry>
			<title type="html"><![CDATA[How to embed Mif.Tree]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/258/new/posts/"/>
			<summary type="html"><![CDATA[Hello,

I wanted to use Mif.Tree to create a tree view on a webpage. I wrote the following HTML doc:
[code]
<html>
<head>
<script type="text/javascript" src="libs/mootools-core-1.3.2-full-compat.js"></script>
<script type="text/javascript" src="libs/mif.tree-v1.2.6.4.js"></script>
<script type="text/javascript" src="tree.js"></script>
</head>
<body>
    <h1>Simple Tree example</h1>
    <div id="tree_container"></div>
</body>
</html>[/code]

But the only visible thing is the text "Simple Tree example" - nothing else. Even the examples doesn't work (also tested on a friends PC).
Can someone please help me with embedding Mif.Tree?

Thanks

IT]]></summary>
			<author>
				<name><![CDATA[Tigunn]]></name>
				<uri>http://mifjs.net/forum/user/217/</uri>
			</author>
			<updated>2011-09-29T14:29:03Z</updated>
			<id>http://mifjs.net/forum/topic/258/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Hide/Disable root element]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/265/new/posts/"/>
			<summary type="html"><![CDATA[Ive been fiddling with the Mif.tree data structure. So far i can load any tree of data as long as it has a single root node. If I have two nodes in the javascript array, both as top level nodes, only the first node is shown. A small example:

Currently:
- Root
--- node 1
--- node 2
--- node 3 

Preferred:
- node 1
- node 2
- node 3

My question is, is there an elegant way to achieve the above preferred structure?

Thanks for the wonderful tree so far.]]></summary>
			<author>
				<name><![CDATA[Panoramix]]></name>
				<uri>http://mifjs.net/forum/user/229/</uri>
			</author>
			<updated>2011-08-06T19:17:09Z</updated>
			<id>http://mifjs.net/forum/topic/265/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Click handler on node]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/264/new/posts/"/>
			<summary type="html"><![CDATA[Hi,

I just started using the Tree plugin, and very impressed with it so far!

I'm running into a problem with implementing the tree: how do I combine a click event with the drag and drop functionality?

I want to use a click handler on a tree node to open up a new tab in a tabpanel. I haven't found a specific 'click'-event, so instead I'm using the 'select'-event. However one of the problems with this is that it doesn't combine well with the drag and drop functionality: the select event fires straight after I start dragging (and fires each times the dragging node hovers over another node).

What's the preferred way to listen for an actual click (or double click) event on tree nodes?]]></summary>
			<author>
				<name><![CDATA[michiel]]></name>
				<uri>http://mifjs.net/forum/user/227/</uri>
			</author>
			<updated>2011-08-03T12:41:52Z</updated>
			<id>http://mifjs.net/forum/topic/264/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[load page after drag 'n drop a node]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/262/new/posts/"/>
			<summary type="html"><![CDATA[hi,
i need to load a page after dnd 
		      new Mif.Tree.Drag(this, {
				beforeDrop: function(current, target, where){
					if(confirm('sposto "'+current.name+'" in "'+target.name+'"?')){
						this.drop(current,target);
                                                var req = new Request('index.php');
                                                req.load();
					}else{
						this.emptydrop();
					}
				}
			});

probably I haven't understood the mechanism of event, can you help me or give same links for examples?

thanks a lot

Umberto]]></summary>
			<author>
				<name><![CDATA[umberto]]></name>
				<uri>http://mifjs.net/forum/user/213/</uri>
			</author>
			<updated>2011-07-10T18:09:26Z</updated>
			<id>http://mifjs.net/forum/topic/262/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Expand tree branch]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/260/new/posts/"/>
			<summary type="html"><![CDATA[hi, i'd wish to know if there's a way to expand the tree until a certain branch using a function.

i mean: i'd wish "find" a branch inside the tree, can i expand to the result?

ie clicking on a button and the tree expands until the branch i wanted


is that possible?]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/214/</uri>
			</author>
			<updated>2011-06-28T04:19:39Z</updated>
			<id>http://mifjs.net/forum/topic/260/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Custom project?]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/259/new/posts/"/>
			<summary type="html"><![CDATA[i was wondering if your team is involved in custom works too. It's a project based on mootools, and is involving a category tree management. 

I would have contacted you per email but i can not find a contact form  on your website

Let me know (my email from profile is valid)

Regards
Andrei]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/218/</uri>
			</author>
			<updated>2011-06-27T19:26:13Z</updated>
			<id>http://mifjs.net/forum/topic/259/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[get partially checked with getChecked() ?]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/261/new/posts/"/>
			<summary type="html"><![CDATA[Hi,
looking at the demo found here:

[url]http://mifjs.net/tree/Demos/index.html#CheckboxDeps[/url]

expand the node  "books" and select a child, then hit "get Checked" - it wont print out the partially selected parent.

Expand the node "node 1.6" and select the child "node 1.6.2" and hit "get Checked" and it WILL print out the parent.

Im only seeing the first behaviour in my setup, but I need the second!

My question is this: is there a way to report back ALL checked items, both partially checked and fully checked?

Thanks so much for a great class,
Jacob]]></summary>
			<author>
				<name><![CDATA[jboyo]]></name>
				<uri>http://mifjs.net/forum/user/205/</uri>
			</author>
			<updated>2011-06-24T01:23:44Z</updated>
			<id>http://mifjs.net/forum/topic/261/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[load only a branch at time]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/257/new/posts/"/>
			<summary type="html"><![CDATA[hi, i have a very nested tree, and i'd wish to load only a branch at time.

how can i do that?]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/214/</uri>
			</author>
			<updated>2011-06-16T10:57:30Z</updated>
			<id>http://mifjs.net/forum/topic/257/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[DOM Tree example in Firefox]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/255/new/posts/"/>
			<summary type="html"><![CDATA[Windows XP
Firefox 3.6.16

[url]http://mifjs.net/tree/Demos/index.html#HTMLTree[/url]

The " html" node can not be clicked sometimes.

错误： too much recursion
源文件：http://mifjs.net/tree/assets/scripts/mootools.js
行：1205]]></summary>
			<author>
				<name><![CDATA[mominet]]></name>
				<uri>http://mifjs.net/forum/user/209/</uri>
			</author>
			<updated>2011-05-03T06:17:48Z</updated>
			<id>http://mifjs.net/forum/topic/255/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[support mootools 1.3]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/239/new/posts/"/>
			<summary type="html"><![CDATA[now mif.tree-v1.2.6.4 may not support mootools 1.3?]]></summary>
			<author>
				<name><![CDATA[Bloodsucker]]></name>
				<uri>http://mifjs.net/forum/user/188/</uri>
			</author>
			<updated>2011-04-22T16:32:41Z</updated>
			<id>http://mifjs.net/forum/topic/239/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[documentation not rendering]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/242/new/posts/"/>
			<summary type="html"><![CDATA[I cant see any documentation in any browser (IE7+, Opera, Safari, Chrome, FF4, etc)
The first few charatcers of the page seem to be gibberish.
Then the page breaks.

Any idea how to just download the docs for offline usage?]]></summary>
			<author>
				<name><![CDATA[Bloodsucker]]></name>
				<uri>http://mifjs.net/forum/user/202/</uri>
			</author>
			<updated>2011-04-19T18:38:04Z</updated>
			<id>http://mifjs.net/forum/topic/242/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Please help with hasCheckbox property to ungrey and enable dynamically]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/237/new/posts/"/>
			<summary type="html"><![CDATA[In my json declaration for these checkbox tree nodes I declared by default as "hasCheckbox" : false.  How do I programmatically based on met condition to enable the checkbox so that it's not greyed out.  I tried the below code but did NOT work:

Mif.id(nodeId).hasCheckbox = true; // didn't do anything, i.e. this did NOT redraw the node and still greyed out

then I tried the below and did NOT work or enabled, i.e. still greyed out:

var node = Mif.id("AFI"); 
node['hasCheckbox'] = true;
Mif.Tree.Draw.update(node);

Thank you.]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/184/</uri>
			</author>
			<updated>2011-04-04T20:26:22Z</updated>
			<id>http://mifjs.net/forum/topic/237/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[help with drop]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/238/new/posts/"/>
			<summary type="html"><![CDATA[hello, 

i am dropping an element from a tree to another
both tree are structured in folders and file 

if i drag a file from a tree to another and the file is already in the folder that i want to drop it than the file will be two times in that folder.

all files in the tree are having data => array('id' => fileID)

so when i drag a file i want to search in the node where i want to drop it.i wanna see if the file is there.only if the folder does not have that file id should let me drop it.

can anybody help me?

please excuze my english.

thank you]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/187/</uri>
			</author>
			<updated>2011-04-04T20:19:20Z</updated>
			<id>http://mifjs.net/forum/topic/238/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Dynamic menu entries]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/240/new/posts/"/>
			<summary type="html"><![CDATA[I have a Mif.Tree with folders and files, and use Mif.Menu to do some operations on these elements.
I need to do Rename and Remove for folders, and only Remove for files.

How can i tell Mif.Menu that if the node is type=='file', i don't want the Rename option to show up?
Is there a beforeSomething event, or how can i manipulate the entries in the menu?

Thanks!]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/192/</uri>
			</author>
			<updated>2011-04-04T20:11:46Z</updated>
			<id>http://mifjs.net/forum/topic/240/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Reload a tree]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/topic/243/new/posts/"/>
			<summary type="html"><![CDATA[Im pretty confused: I need to refresh a tree based on new data, so I thought I should just say

tree.load({"json": myDataIsHere})

but instead of reloading the tree, it just adds another one.

Am I missing something obvious?
Thanks,
J]]></summary>
			<author>
				<name><![CDATA[moro]]></name>
				<uri>http://mifjs.net/forum/user/202/</uri>
			</author>
			<updated>2011-04-04T20:02:39Z</updated>
			<id>http://mifjs.net/forum/topic/243/new/posts/</id>
		</entry>
</feed>

