Hi Tobias I've made a mtc here:http://sandboxmm.tiddlyspace.com/#SomeTiddlerTitle %20Thumb2 I've added you as a member - feel free to play around. I tried to make a new [[SomeTiddlerTitle]] transclusion which uses NestedSlidersPlugin to create resizable imagebuttons and popups - however I cannot figure out how to replace img src="" with text from a section (!img) from tiddlers fetched with fET... Maybe you can?
The "old" [[SomeTiddlerTitle]] is now called "Thumb2"... Cheers Måns Mårtensson On 11 Sep., 23:34, Tobias Beer <[email protected]> wrote: > Hi Måns, > > Would you have an example of this in action? I prefer to learn by > doing (observing). > > Thanks, Tobias. > > On 11 Sep., 01:56, Måns <[email protected]> wrote: > > > > > Hi Skye> The main constraint with this plugin is that I can´t use tiddler > > > sections ou slices.....image link is in one tiddler and each video > > > code has to be in its own tiddler....not that hard....but it would be > > > so much more efficient if everything was in one tiddler and the > > > PopupPreViewPlugin used sections.........maybe Eric could modifiy the > > > plugin to this end??? > > > I think you could make your own - based on some of Eric's code and > > fET.. > > Sth like: > > [[SomeTiddlerTitle]] > > <<tiddler SomeTiddlerTitle##fet>> > > /% > > > !fet > > <<forEachTiddler where > > 'tiddler.tags.contains(context.viewerTiddler.title)' > > sortBy 'tiddler.title' > > write > > '(index < 20)? "|!"+(index+1)+"| <<tiddler SomeTiddlerTitle##pop with: > > [["+tiddler.title+"]] \>\> |[["+tiddler.title+"]] |\n" : ""' > > begin '"|sortable|k\n" > > +"|| setIcon/~ImgLink |~TitleLink |h\n"' > > end 'count+" tiddlers\n"' none '"no tiddlers \n"'>> > > !pop > > <<tiddler SomeTiddlerTitle##popup with: > > {{store.getTiddlerText("$1##img")}} [[$1]]>> > > !popcode > > <html><a href="javascript:;" class="$4" title="$3" onclick="var > > p=Popup.create(this); if (!p) return; var > > t=store.getTiddlerText('$1'); if (!t) return; p.className+=' $6'; var > > d=createTiddlyElement(p,'div'); d.style.whiteSpace='normal'; > > d.style.width='$5'; d.style.padding='2px'; wikify(t,d); > > Popup.show(p,false); event.cancelBubble = true; if > > (event.stopPropagation) event.stopPropagation(); return(false);">$2</ > > a></html> > > !popup > > {{span{<<tiddler SomeTiddlerTitle##popcode with: [[$2##ToBeRead]] > > [[$2]] tooltip buttonClass 800 sticky>><<setIcon [[$1]]>>}}} <<tiddler > > SomeTiddlerTitle##img with:[[$1]] > > {{store.getTiddlerText("$2##ToBeRead")}}[[$2]]>> > > !img > > [img(3em+,)[$2|$1][$3]] > > !end %/ > > > Try it out - It has two different ways of showing text from the > > section !ToBeRead in a tiddler tagged with [[SomeTiddlerTitle]] by > > hovering (ImgLink) or clicking an image (SetIcon- needs Eric's > > SetIconPlugin installed) > > I borrowed the "popcode" from Eric's ShowPopup > > transclusionhttp://www.tiddlytools.com/#ShowPopup > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/tiddlywiki?hl=en.

