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

I've integrated dd-menu ))) But it will ber very interesting to try integrated context menu smile

2

contextmenu integration example will be soon, mb today or tommorow.

3

How can i bind your winderful context menu to each node of the tree???

I've added new wrapper to tree 'contextmenu'. This works OK, but.... I need to bind user defined menu smile
How can I do that using ???
That's what I've done = this works well smile

    initEvents: function(){
        this.wrapper.addEvents({
            mousemove: this.mouse.bindWithEvent(this),
            mouseover: this.mouse.bindWithEvent(this),
            mouseout: this.mouse.bindWithEvent(this),
            mouseleave: this.mouseLeave.bind(this),
            mousedown: $lambda(false),
            click: this.toggleClick.bindWithEvent(this),
            dblclick: this.toggleDblclick.bindWithEvent(this),
            contextmenu: this.toggleMenu.bindWithEvent(this),
            keydown: this.keyDown.bindWithEvent(this),
            keyup: this.keyUp.bindWithEvent(this)
        });
    },


   toggleMenu: function(event){
        var target=this.mouse.target;
        if((target=='name'||target=='icon')) alert ('!!!!');return;
    }



Is it possible to bind menu do more than one divs on page???