Thank you !

for the moment I'm expremienting with this one :
http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
which is more simpler than treeTable (my ultimate goal)

It gives me that :
(function($) {
if (Story.prototype.tDrag_refreshTiddler == undefined)
Story.prototype.tDrag_refreshTiddler = Story.prototype.refreshTiddler;

Story.prototype.refreshTiddler = function
(title,template,force,customFields,defaultText){
        var elem = this.tDrag_refreshTiddler.apply(this,arguments);
        if(elem){
                var tables = elem.getElementsByTagName("TABLE");
                for(var i=0; i<tables.length; i++){
                        if(hasClass(tables[i],"dragable")){
                                var idi = "drag-"+i;
                                var table_i = tables[i];
                                table_i.id = idi;
                                $('#'+idi).tableDnD();
                        }
                }
        }
        return elem;
};

})(jQuery);

which work fine : the "dragable" table lines can be dragged !
now my problem is that I want to write the changes in the tiddler.
I know it's not easy, but is there a "clean" way to do that ?
somebody known ?
Is there a plugin that does something similar which can help me ?

regards,
Yoann

On Jun 11, 8:20 pm, FND <[email protected]> wrote:
> Sorry for the late response.
>
> > I would like to integrate it in TiddlyWiki, but ...
> > Can you give me some advice on the best syntax to handle it ?
>
> It might be best to ask end-users about this.
> Perhaps you could use a leading column to indicate level:
>      |*|#A-1|
>      |**|#B-1|
>      |**|#B-2|
>      |*|#A-2|
> That way they would still be valid and readable tables even if the
> plugin is not installed.
>
> > is there a doc somewhere on the jQuery plugin integration ?
>
> There's this walkthrough:
>      http://groups.google.com/group/TiddlyWikiDev/t/6814fe3964b5fdfc
>
> However, there's no magic to it; jQuery plugins are just JavaScript
> code, so they can be included pretty much like any existing code out there.
>
> -- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to