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

GOT IT! aka "The Amazing Power of Posting a Spinning Wheel!"

Highly recommend all modify their Mif libs $()'s to document.id()'s
oi!

2

show full html code or test page

3

what am I missing?

even the simplest:
    sandbox.mooTree = new Mif.Tree({
        container: document.id('my-container-id'),
        forest: true,
        initialize: function(){
            this.initCheckbox('simple');
            new Mif.Tree.KeyNav(this);
        },
    });
errors out with element is null in Mif.Tree at:
...
this.wrapper = new Element('div').addClass('mif-tree-wrapper').injectInside(this.container);
...

I never even get a chance to load any json

container defined as:
<div id="my-container-id"></div>
and is definitely available before the Tree() call  - I've checked.