Skip to forum content

Mif

— mystic javascript interface

You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields labelled (Required) must be completed before the form is submitted.

Required information for guests



Captcha image. Turn pictures on to see it.
Required information
Optional post settings

Topic review (newest first)

1

works great, thank you

2

try:
tree.drag.setDroppables

3

What im doing wrong? (im testing it in onload event)

tree = new Mif.Tree({
      container: $(containerid),
      forest: true,
      initialize: function(){
        ....
      },
      types: {
        ....
    })
    .addEvent('load', function(){
        tree.setDroppables([...]);
    }
);


// return
Error: tree.setDroppables is not a function

Thanks for help and patience

4

try setDroppables(new_drop_objects)

5

Hi,

i would like to drag&drop node to object/s which does not exists when the mif.tree is generated. These objects are loaded with ajax.

Is there any solution to add these object/s to mif.tree droppables after ajax load?

Thank you

P.S. great work on MIF tree and menu