[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-28 Thread PMario
Hi Bill, I made a video shortly, that describes how to setup a private hoster TW, that can easily publish any tiddler to the TeamWork TW. The only thing I have to do is to add the public/protected bag to my TW recipe. FYI: http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#HowToJoinTeamWork

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-27 Thread wgw
oops! Yes, now I see the revision compare -- excellent! It works perfectly. I suppose the only limitation would be branching for different versions that are developed in parallel (which automatically copy an entire test environment --examples and all), but as it is, it really does everything I nee

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-27 Thread wgw
Thanks Mario, Does TeamWork do a diff on revisions? Could add TiddlyTools' comparebut there is as well more complete (I think) version control here: http://www.lshift.net/blog/2008/07/01/adding-distributed-version-control-to-tiddlywiki I will continue tweaking, and working on my main quiz p

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-27 Thread PMario
I added a new parameter "columnNumber" and some description at the end of the tiddler, bacause the side by side tiddler still should work. <> -m On Jun 26, 9:40 am, wgw wrote: > I think the appropriate solution will finally come to light. Here is > an alternate method with .unwrap(), which doesn

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-26 Thread wgw
I think the appropriate solution will finally come to light. Here is an alternate method with .unwrap(), which doesn't quite do what I want, but doesn't crash either! $.each(items, function(i, itm) { $(itm).unwrap().appendTo("#ListTableColumn");

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread PMario
Cool ! > > var itmfound > $.each(items, function(i, itm) { >itmfound=itm.innerHTML; > > $(""+itmfound+"").appendTo("#ListTableColumn"); > Popping the innerHTML out of that itm object seems to do the tric

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread PMario
Cool ! > >                     var itmfound > >                     $.each(items, function(i, itm) { >                        itmfound=itm.innerHTML; >                         > $(""+itmfound+"").appendTo("#ListTableColumn"); > > Popping the innerHTML out of that itm object seems to do the tr

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread wgw
Mario, Wow! That did it! Thanks so much for all your help. I hope to have a useful macro at the end of it all. I updated the macro on your site (with some other tweaks), so it won't crash now (fingers crossed!). Here is the pertinent bit of code that I klutzed together, following your suggestion

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread wgw
(hope this message isn't a duplicate... I did not see my first reply so I'm resending) Mario, Wow! That did it! Thanks so much for all your help. I hope to have a useful macro at the end of it all. I updated the macro on your site (with some other tweaks), so it won't crash now (fingers crossed!

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread wgw
(hope this message isn't a duplicate... I did not see my first reply so I'm resending) Mario, Wow! That did it! Thanks so much for all your help. I hope to have a useful macro at the end of it all. I updated the macro on your site (with some other tweaks), so it won't crash now (fingers crossed!

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-25 Thread wgw
Mario, Wow! That did it! Thanks so much for all your help. I hope to have a useful macro at the end of it all. I updated the macro on your site (with some other tweaks), so it won't crash now (fingers crossed!). Here is the pertinent bit of code that I klutzed together, following your suggestion

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread PMario
Hi Bill, > I put in a table, and a test tiddler, and get the same behavior. Could > always be my (overloaded) browser I am allmost sure, it is not the browser :) At the first run, I didn't have a look at ListNavPlugin. Now I did. I made a side by side tiddler http://hoster.peermore.com/recip

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread wgw
Great! I put in a table, and a test tiddler, and get the same behavior. Could always be my (overloaded) browser Great idea to have a central place for code work. Thanks! Best, Bill On Jun 24, 12:59 pm, PMario wrote: > Hi, > I did copy your code to the TeamWork TW. It's a sandbox. could y

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread PMario
Hi, I did copy your code to the TeamWork TW. It's a sandbox. could you add some data to reproduce the error. http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#testPlugin regards Mario On Jun 24, 8:01 pm, wgw wrote: > Nice technique! Everything looks right for my problem, however: > > it

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread wgw
Nice technique! Everything looks right for my problem, however: items: [td] i: 0 [li] items: [td] i: 0 [li] that is as it should be (well, I don't quite understand the doubling up; I have a feeling the tiddler is being automatically refreshed at the end of the macro execution...Maybe I should fi

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread PMario
May be also try FireQuery FF-plugin in addition to FireBug -m -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to tiddlywiki...@googlegroups.com. To unsubscribe from this group, send email to tiddlywikidev+unsu

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-24 Thread PMario
Hi, Have you tried something like this? var items = $(text).find("tr td:nth-child(1)"); console.log('items: ', items); // <--!! $.each(items, function(i, itm) { console.log('i: ' + i, $("")); // <--!! $("").text(itm).appendTo(place); }); -m -- You received this message because you are

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-23 Thread wgw
I assumed that the following construct got around that problem: (function($) { //# set up alias ... };)(jQuery); But in any case, the change $ --> jQuery doesn't change the error. Thanks for the suggestion! (I'm all ears!) On Jun 23, 7:13 pm, VJ wrote: > > Here is a problem which I suspect is

[twdev] Re: adaptation of ListNav goes wrong: jQuery problem?

2010-06-23 Thread VJ
> Here is a problem which I suspect is a jquery problem within tw, but > since I'm such a noob, I don't really know. >      $("").attr("id", "listnav-nav").appendTo(place); In TiddlyWiki, you have to spell out "jQuery" and not use the shorthand $. --Jon -- You received this message because you