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

That worked perfectly!

Thanks again!

2

try:

this.wrapper.getLast().dispose();

instead:

this.wrapper.innerHTML='';

3

Thank you for the quick response!

I was using innerHTML = '', when I was trying to remove the contents of a tree:
http://mifjs.net/forum/topic/15/

Any advise on keeping the pointer while clearing the tree of nodes/data?

Thanks again smile

4

need more info: demo page or something like it.

Mb it is css issue or you destroy blue line element after tree reloading (using tree.wrapper.innerHTML='') or something else.

Check that div.mif-tree-pointer exists inside div.mif-tree-wrapper

5

If you look at the Tree Drag & Drop demo, whenever you drag something a blue line appears to help display where you would be dropping the item.  At one point it used to work on my copy but I've changed a lot of things and now it doesn't show up anymore.  I've looked through the demos and the documentation but I can't figure out how or where it's showing up from, or how to turn it back on.

Thanks for any assistance!