[tw] Re: Rename Macro (Script)
Hi Mike, Can you describe, what you want it to do? -m On Apr 10, 11:19 pm, Mike eris...@gmail.com wrote: Not Working. . . newReminderscript place.firstChild.title=newReminder form; // place.firstChild.macroName=newReminder form; place.lastChild.style.fontSize=1%; /script macroName is wrong. . . I thought it would be label, but no luck Any Ideas? Mike -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Another question regarding ToggleTiddlerTags
In the interest of providing a complete solution, I also changed var show=config.options.chkHideTiddlerTags?'none':'inline'; to var show=config.options.chkHideTiddlerTags?'inline':'none'; because the tags are hidden by default. This way when you first click on the tags button, the first action is to display, not hide as in the original plugin. w On Apr 10, 6:55 pm, whatever kbrezov...@gmail.com wrote: Ha, I solved it! As I looked around the plugin some more, it finally dawned on me that it uses the CSS property display and that it toggles it on and off. So if I wanted the divs to load hidden, I had to change the property in the stylesheet for .tagged from inline to none. I also changed in the plugin var show=config.options.chkHideTiddlerTags?'none':'block'; to var show=config.options.chkHideTiddlerTags?'none':'inline'; so the divs are displayed inline instead of as blocks (because I'm using the TiddlyPedia theme). w On Apr 9, 9:48 pm, whatever kbrezov...@gmail.com wrote: Okay, ToggleTiddlerTags hides the tags (which are shown at startup). What I want is that the tags are hidden on startup and are only shown after clicking the link. So basically, the initial onload behavior needs to be just the opposite. I've played around with the plugin, but I couldn't get it to work. Any help? w -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: List tags by how many tiddlers *and subtiddlers* they've got
Hi, May be TagglyTagging from MPTW [1] would be of interest. The footer contains the tagged as information. May be Group or SiteMap could do your job. The structure there is not very deep. You can have a look at my FreeStyle TW [2] where the MainMenu generates a bigger list. regards Mario [1] http://mptw.tiddlyspot.com/#[[TagglyTagging%20FAQ]] [2] http://freestyle.tiddlyspot.com/#MainMenu On Apr 9, 12:53 pm, twgrp matiasg...@gmail.com wrote: Can't find this in archives or in e.g the many forEachTiddler examples [1]. The idea is to get a list over tags ranked by domain size. I.e for a certain tag, how many tiddlers are tagged with it (let's say it's 3) plus the number of tiddlers tagged with the names of *those* 3 tiddlers (let's say it's 15)... plus how many tiddlers are tagged with those 15 tiddlers... plus... well you get it. The end result for that particular tag is then 3+15+... = TagDomain size The purpose is to see what tags that are important topics in the TW. I've found many variants[2] ranking by how many tiddlers that are *directly* tagged with a certain tag, but this is a bit misleading here, like the tip of an ice berg. I think what is needed is some kind of tree traversing, counting leafs. I think the tag/tiddler-names must be stored and continually compared, or it would probably turn circular. Any help appreciated! Thank you! :-) [1]http://tiddlywiki.abego-software.de/#ForEachTiddlerExamples [2] for example: * the built-in Tags listing, in the sidebar tabs *http://tiddlywiki.abego-software.de/#[[List%20all%20Tiddlers%2C%20grouped%20by%20Tags]] *http://www.tiddlytools.com/#RelatedTiddlersPlugin *http://www.tiddlytools.com/#TagCloudPlugin *http://www.tiddlytools.com/#TagGridPluginInfo -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Rename Macro (Script)
Sorry, place.firstChild.macroName=newReminder form; - I was hoping to change the display name of the macro (from New Reminder to remind ect.) place.firstChild.title=newReminder form; - change mouse over (working) place.lastChild.style.fontSize=1%; - I am playing with the form inside the slider (trying to make it more compact, having problems with the forms) for .macroName I have tried .label and .title (mouse over) Thank You, Mike On Apr 11, 4:02 am, PMario pmari...@gmail.com wrote: Hi Mike, Can you describe, what you want it to do? -m On Apr 10, 11:19 pm, Mike eris...@gmail.com wrote: Not Working. . . newReminderscript place.firstChild.title=newReminder form; // place.firstChild.macroName=newReminder form; place.lastChild.style.fontSize=1%; /script macroName is wrong. . . I thought it would be label, but no luck Any Ideas? Mike -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: Rename Macro (Script)
Arghh. . . (both below working) newReminderscriptplace.firstChild.firstChild.data =WtF;place.firstChild.title=WtF Hover;/script newJournalscriptplace.lastChild.firstChild.data =WoW;place.lastChild.title=WoW Hover;/script Code gently borrowed from HoverMenuPlugin (renameButton macro) Now just to figure out how to make the forms more compact (smaller font?) . . . Mike On Apr 11, 6:49 am, Mike eris...@gmail.com wrote: Sorry, place.firstChild.macroName=newReminder form; - I was hoping to change the display name of the macro (from New Reminder to remind ect.) place.firstChild.title=newReminder form; - change mouse over (working) place.lastChild.style.fontSize=1%; - I am playing with the form inside the slider (trying to make it more compact, having problems with the forms) for .macroName I have tried .label and .title (mouse over) Thank You, Mike On Apr 11, 4:02 am, PMario pmari...@gmail.com wrote: Hi Mike, Can you describe, what you want it to do? -m On Apr 10, 11:19 pm, Mike eris...@gmail.com wrote: Not Working. . . newReminderscript place.firstChild.title=newReminder form; // place.firstChild.macroName=newReminder form; place.lastChild.style.fontSize=1%; /script macroName is wrong. . . I thought it would be label, but no luck Any Ideas? Mike -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: accessing pdf via an iFrame causes Firefox to crash - TW in TiddlyWeb
Thanks all of you - suspect it may be a firefox add on problem. will have a further fiddle around. I need it to be pretty reliable as therapists are not very tolerant of IT glitches - in their computers, at least! Dickon On Apr 10, 8:04 pm, Måns humam...@gmail.com wrote: I've also opened it in FF 3.6.3 - XP-pro with good result... If it doesn't help updating the reader, it might be a FF-addon conflict... Regards Måns Mårtensson Regards Måns Mårtensson On 10 Apr., 20:33, Måns humam...@gmail.com wrote: Hi Dickon (specificallyhttp://www.nice.org.uk/nicemedia/live/10970/29858/29858.pdf) but whenever I open the tiddler, firefox crashes, so I can't even edit the tiddler and remove the code! It opens in Google Chrome... Updating your pdf-reader might solve the problem... Regards 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 tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Re: List tags by how many tiddlers *and subtiddlers* they've got
I'd think that your solution has a lot of potential to result in eternal loops, as it doesn't exclude tiddlers that have already been taken into account. I guess you'd want some overarching array (passed down as a variable?) to store all those tiddlers that have already been TaggedTiddlers to any of the preceeding tiddlers, so that you wont check them over and over ...and over. Maybe Eric's RelatedTiddlersPlugin and the idea of a Minimal Spanning Tree provide a good starting point to get that count right. If I am not mistaken, then the number of items in a list returned by RelatedTiddlersPlugin is exactly the number you're looking for. Tobias. On 11 Apr., 07:10, Mark S. throa...@yahoo.com wrote: Assuming that you have a well-structured tree (nothing to cause eternal loops), then this script (using Inline javascript plugin) should do it. I think you can see where to plug in the tag name. Mark script label=Count Tiddlers var tagName = Personal ; function recurCount(tagName) { var tiddlers=store.getTaggedTiddlers(tagName) ; var tidCount = 1 ; for(var i=0;itiddlers.length;i++) { var title = tiddlers[i].title ; tidCount += recurCount(title) ; } return tidCount ; } // recurCount() var cnt = recurCount(tagName) ; alert(Count was + cnt + for +tagName) ; /script On Apr 9, 3:53 am, twgrp matiasg...@gmail.com wrote: Can't find this in archives or in e.g the many forEachTiddler examples [1]. The idea is to get a list over tags ranked by domain size. I.e for a certain tag, how many tiddlers are tagged with it (let's say it's 3) plus the number of tiddlers tagged with the names of *those* 3 tiddlers (let's say it's 15)... plus how many tiddlers are tagged with those 15 tiddlers... plus... well you get it. The end result for that particular tag is then 3+15+... = TagDomain size The purpose is to see what tags that are important topics in the TW. I've found many variants[2] ranking by how many tiddlers that are *directly* tagged with a certain tag, but this is a bit misleading here, like the tip of an ice berg. I think what is needed is some kind of tree traversing, counting leafs. I think the tag/tiddler-names must be stored and continually compared, or it would probably turn circular. Any help appreciated! Thank you! :-) [1]http://tiddlywiki.abego-software.de/#ForEachTiddlerExamples [2] for example: * the built-in Tags listing, in the sidebar tabs *http://tiddlywiki.abego-software.de/#[[List%20all%20Tiddlers%2C%20grouped%20by%20Tags]] *http://www.tiddlytools.com/#RelatedTiddlersPlugin *http://www.tiddlytools.com/#TagCloudPlugin *http://www.tiddlytools.com/#TagGridPluginInfo -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
[tw] Creating a website layout using TW
Hi All, Want to create a website that looks like: http://gernetic.com.au/ Wonder how best to create the navigation menu and the part just below the menu, which are composed of blocks. Thanks! -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlyw...@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.