Re: [tw] Mark external links using CSS and inline image
Il 19/09/2012 15:18, Stephan Hradek ha scritto: Hi! I'm using TiddlyWiki for some days now and really like it. I also started to tweak a bit the sytlesheets and thought that, maybe, some of you would like to have a small icon after external links too. For this, I edited the StyleSheetLayout tiddler, adding the 2 definitions below. Hope you like it. where did you find this extremely compact icon? There are more like this somewhere? yes I like it, for TiddlyWiki this technique is very useful for small UI icons, and images because the file doesn't depend from external images and works even when it's downloaded and used locally. but you should also explain us the underlying technique. By using the Data URI scheme [1] you can embed images directly into your HTML and CSS. It works by encoding an image into a base64 string and place it directly withing an HTML image tag or as a CSS background URL. The image below is encoded directly into the HTML on the page: img alt= src=data:image/gif;base64,R0lGODlhEgASAKIGAO7u7ru7u3d3d4iIiKqqqv///wAAACH5BAEAAAYALAASABIAAAMgaLrc/jDKSau9OOvNcSBgGEhEYZ4DeQIFkEbEIM9CdyUAOw== / or declared into a CSS rule: background-image: url(data:image/gif;base64,R0lGODlhEgASAKIGAO7u7ru7u3d3d4iIiKqqqv///wAAACH5BAEAAAYALAASABIAAAMgaLrc/jDKSau9OOvNcSBgGEhEYZ4DeQIFkEbEIM9CdyUAOw==); Tiddlytools offers a package to store or link binary files (such as jpg, gif, pdf or even mp3) within your TiddlyWiki document and then use them as images or links from within your tiddler content [2]. Also, I think every OS has it's own command line base64 command to encode files to base64. - [1] http://www.phpied.com/data-urls-what-are-they-and-how-to-use/ [2] http://www.tiddlytools.com/#AttachFilePackage regards -- tiziano de togni __ http://tiziano.tiddlyspot.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@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: Inline Editing of tables
Hi Vincent; Forgot to mention in the last post: Tested with Win 7 FF 15 The autosave problem was also found with Google Chrome 17 portable. A Minimal Test Case with TableEditor did autosave correctly in FF. There must be a conflicting plugin. I tried to disable the plugins that use autoSaveChanges to no avail. There are about 20 plugins left to try :-) Cheers, Ton On Sep 21, 7:55 pm, TonG ton.ger...@gmail.com wrote: Hi Vincent, The TableEditor (v1.3.6) works great but I found two things: 1) At one time - used in a TW with many plugins - I got the 'overlay problem': text positioned below the table is shifted to the top so the table and text overlay. I tried to pinpoint the problem by disabling plugins. After disabling the first plugin the problem disappeared so I thought I found the offending plugin. But after enabling the plugin again the problem did not show up anymore! Irreproducible problems are very frustrating. Sometimes opening (for editing) the tiddler with overlay problems and thereafter canceling editing restores a good display. I assume a rendering problem. 2) In the same TW autosave does not work anymore when the TableEditor is enabled. I use config.options.chkAutoSave = true; in a systemConfig tagged tiddler which works OK without the TableEditor; when the TableEditor plugin is enabled autosave does not work anymore. I tried config.options.chkAutoSave : true in SystemSettings but that did not work either; no autosave anymore with TableEditor enabled. Disabling TagSearchPlugin [1] by Tobias Beer and TiddlyFileImportr [2] by Jon Robson (which both use autoSaveChanges as well) did not help either. I ended up using the ToggleTagPlugin [3] by Simon Baird as a workaround. Now I can toggle the systemConfig tag to enable the TableEditoronly when needed; when disabled autosave works as expected. Cheers, Ton [1]http://tagsearch.tiddlyspot.com/#TagSearchPlugin [2]http://repository.tiddlyspace.com/TiddlyFileImportr [3]http://mptw.tiddlyspot.com/#ToggleTagPlugin On Sep 21, 12:23 pm, Yakov yakov.litvin.publi...@gmail.com wrote: Hello Vincent, sorry for long silence, got some major problems.. I think I'll return to consistent testing in several days. Ok, I added the archive with screenshots to this message. It's better to investigate why the site isn't visible, though.. Can you see anything at [1]? As for Android devices.. if you use TW on a phone, you probably should try iTW [2] (AndTidWiki can generate a new one) or use at least 2 Eric's transclusions [3] to get more room. Or is there something aside menus which bothers you? Best regards, Yakov. [1]http://yakovl.bplaced.net/ [2]http://tiddlywiki.bidix.info/ [3]http://tiddlytools.com/#ToggleRightSidebar%20ToggleLeftSidebar понедельник, 17 сентября 2012 г., 8:15:30 UTC+4 пользователь Vincent Yeh написал: Yakov, I keep getting an error saying access forbidden clicking the link below. Maybe we try another way? Or just a couple of screenshots here? I tried AndTidWikky on my Android phone and did see some of the features working while others not, but the screen is just too small to do any useful test. I am guessing special tricks are needed for AndTidWikky? I'll use a larger one to test when I have a chance. FF15 for Android refuses to install on my phone, and I haven't found one Vista 64 system nearby, so no way to try them myself yet. Cheers Vincent On Saturday, September 15, 2012 5:10:03 AM UTC+8, Yakov wrote: Hello Vincent, thanks for the update, now extra captions are not displayed in the mentioned browsers which is fine for me; on the other hand, Chrome 21.0 (latest) and Safari 5.0.3 still don't show the E button in tables without a caption (OS: Vista x64); the same thing in AndTidWiki (which is more painful for me). I guess those are WebKit browsers/app.. A small note: for TableEditor--MIN it may be useful to hide the code using the following wrapper: /*** [the header of the plugin, other visible things like Options] /% ***/ [code here] /*** %/ ***/ As for transclusions, I haven't done extended tests, but found that tiddler .. macro gets an error if used with section which contains a table: tiddler [[This or another tiddler##a section with a table]]. Simple transclusion test works: I put a table in one tiddler, transcluded it into another, edited the table there, no errors, content of the first tiddler is changed. The only note is if the first tiddler is opened at the same time, its representation is not refreshed (the table is shown as it was before editing). I also did a test with merged cells (||one long cell|, |one high cell|\n|~|) and it seems that everything works fine. Is it cut-and-past the whole column to the one next you are talking about? If so then I'd rather just do the cut-and-past alone (not yet,
[tw] Re: Deeper levels in PopUp Menu by Saq Imtiaz
Thanks Gentlemen, this looks like what I need! (simplepopup) DrCory -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/NRfihJSgaT0J. To post to this group, send email to tiddlywiki@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: Inline Editing of tables
Yakov, We all face problems from time to time, aren't we? Take good care. The link at [1] is still giving me Sorry, access forbidden. Error 403. at the bottom of the page. I do, however, see a large Download button which is giving me a file named etypesetup.exe. Is that what I am supposed to have? Well, it's fine if the link doesn't work for me since the attachment is good and I see all the screenshots included. Seems like I really need to get a hand on AdnTidWiki to really know what's going on... Thanks for the advice on android phone, I will find time to try it in a few days. Cheers, Vincent On Friday, September 21, 2012 6:23:51 PM UTC+8, Yakov wrote: Hello Vincent, sorry for long silence, got some major problems.. I think I'll return to consistent testing in several days. Ok, I added the archive with screenshots to this message. It's better to investigate why the site isn't visible, though.. Can you see anything at [1]? As for Android devices.. if you use TW on a phone, you probably should try iTW [2] (AndTidWiki can generate a new one) or use at least 2 Eric's transclusions [3] to get more room. Or is there something aside menus which bothers you? Best regards, Yakov. [1] http://yakovl.bplaced.net/ [2] http://tiddlywiki.bidix.info/ [3] http://tiddlytools.com/#ToggleRightSidebar%20ToggleLeftSidebar понедельник, 17 сентября 2012 г., 8:15:30 UTC+4 пользователь Vincent Yeh написал: Yakov, I keep getting an error saying access forbidden clicking the link below. Maybe we try another way? Or just a couple of screenshots here? I tried AndTidWikky on my Android phone and did see some of the features working while others not, but the screen is just too small to do any useful test. I am guessing special tricks are needed for AndTidWikky? I'll use a larger one to test when I have a chance. FF15 for Android refuses to install on my phone, and I haven't found one Vista 64 system nearby, so no way to try them myself yet. Cheers Vincent On Saturday, September 15, 2012 5:10:03 AM UTC+8, Yakov wrote: Hello Vincent, thanks for the update, now extra captions are not displayed in the mentioned browsers which is fine for me; on the other hand, Chrome 21.0 (latest) and Safari 5.0.3 still don't show the E button in tables without a caption (OS: Vista x64); the same thing in AndTidWiki (which is more painful for me). I guess those are WebKit browsers/app.. A small note: for TableEditor--MIN it may be useful to hide the code using the following wrapper: /*** [the header of the plugin, other visible things like Options] /% ***/ [code here] /*** %/ ***/ As for transclusions, I haven't done extended tests, but found that tiddler .. macro gets an error if used with section which contains a table: tiddler [[This or another tiddler##a section with a table]]. Simple transclusion test works: I put a table in one tiddler, transcluded it into another, edited the table there, no errors, content of the first tiddler is changed. The only note is if the first tiddler is opened at the same time, its representation is not refreshed (the table is shown as it was before editing). I also did a test with merged cells (||one long cell|, |one high cell|\n|~|) and it seems that everything works fine. Is it cut-and-past the whole column to the one next you are talking about? If so then I'd rather just do the cut-and-past alone (not yet, though). If I am misunderstanding, please tell me more about it. I mean if a table has colomns A, B, C, D, shifting C to the left is changing the table so that it has A, C, B, D, and then C, A, B, D. It is close to copy+paste, just means cutting/pasting of the whole colomn (instead of its content as it is done in office-like apps, so that one needs to delete the colomn after cutting the content and create a new colomn before inserting the content). Less efforts for such manual sorting would be nice. As for the behavior in AndTidWiki (it's an Android app which acts as a TiddlySaver.jar), I made a bunch of screenshots [1]. Sorry, I haven't studied any tool which creates a photo gallery, so there are just files at [1]; though, I made a zip file so that you can download them at once. The sequence is approximately the same as I reported previously. Watch the top table (two others are without names, so are not editable in AndTidWiki), the names of the pictures say what is done before each screenshot is taken. [1] http://yakovl.bplaced.net/materials/TW/table%20editor%20report/ -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/ZWcjOqYUU9UJ. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at
[tw] Re: Inline Editing of tables
Ton, On Saturday, September 22, 2012 1:55:48 AM UTC+8, TonG wrote: Hi Vincent, The TableEditor (v1.3.6) works great but I found two things: 1) At one time - used in a TW with many plugins - I got the 'overlay problem': text positioned below the table is shifted to the top so the table and text overlay. That could be the resiziong bug I found lately. I should have fixed it in v1.3.7. Are you still having this problem with the latest version? I tried to pinpoint the problem by disabling plugins. After disabling the first plugin the problem disappeared so I thought I found the offending plugin. But after enabling the plugin again the problem did not show up anymore! Irreproducible problems are very frustrating. Sometimes opening (for editing) the tiddler with overlay problems and thereafter canceling editing restores a good display. I assume a rendering problem. I had such experiences myself a few times, but it all came back normal after relaunching the browser. I am guessing it could be the browser or some deeply hidden bug that I haven't found. Not sure about this yet. 2) In the same TW autosave does not work anymore when the TableEditor is enabled. I use config.options.chkAutoSave = true; in a systemConfig tagged tiddler which works OK without the TableEditor; when the TableEditor plugin is enabled autosave does not work anymore. I tried config.options.chkAutoSave : true in SystemSettings but that did not work either; no autosave anymore with TableEditor enabled. Disabling TagSearchPlugin [1] by Tobias Beer and TiddlyFileImportr [2] by Jon Robson (which both use autoSaveChanges as well) did not help either. I ended up using the ToggleTagPlugin [3] by Simon Baird as a workaround. Now I can toggle the systemConfig tag to enable the TableEditoronly when needed; when disabled autosave works as expected. One possibility is that the chkTEditorManualSave option is interfering with the system autosave option. Maybe I should remove this option and just use the system option? Another possibility is the TableEditor is conflicting with some plugin that also hijacks the saveChanges() function. You can try to find one that does so and I'll try to find out what's going wrong. Cheers, Ton [1] http://tagsearch.tiddlyspot.com/#TagSearchPlugin [2] http://repository.tiddlyspace.com/TiddlyFileImportr [3] http://mptw.tiddlyspot.com/#ToggleTagPlugin Let's keep having fun! Vincent On Sep 21, 12:23 pm, Yakov yakov.litvin.publi...@gmail.com wrote: Hello Vincent, sorry for long silence, got some major problems.. I think I'll return to consistent testing in several days. Ok, I added the archive with screenshots to this message. It's better to investigate why the site isn't visible, though.. Can you see anything at [1]? As for Android devices.. if you use TW on a phone, you probably should try iTW [2] (AndTidWiki can generate a new one) or use at least 2 Eric's transclusions [3] to get more room. Or is there something aside menus which bothers you? Best regards, Yakov. [1]http://yakovl.bplaced.net/ [2]http://tiddlywiki.bidix.info/ [3]http://tiddlytools.com/#ToggleRightSidebar%20ToggleLeftSidebar понедельник, 17 сентября 2012 г., 8:15:30 UTC+4 пользователь Vincent Yeh написал: Yakov, I keep getting an error saying access forbidden clicking the link below. Maybe we try another way? Or just a couple of screenshots here? I tried AndTidWikky on my Android phone and did see some of the features working while others not, but the screen is just too small to do any useful test. I am guessing special tricks are needed for AndTidWikky? I'll use a larger one to test when I have a chance. FF15 for Android refuses to install on my phone, and I haven't found one Vista 64 system nearby, so no way to try them myself yet. Cheers Vincent On Saturday, September 15, 2012 5:10:03 AM UTC+8, Yakov wrote: Hello Vincent, thanks for the update, now extra captions are not displayed in the mentioned browsers which is fine for me; on the other hand, Chrome 21.0 (latest) and Safari 5.0.3 still don't show the E button in tables without a caption (OS: Vista x64); the same thing in AndTidWiki (which is more painful for me). I guess those are WebKit browsers/app.. A small note: for TableEditor--MIN it may be useful to hide the code using the following wrapper: /*** [the header of the plugin, other visible things like Options] /% ***/ [code here] /*** %/ ***/ As for transclusions, I haven't done extended tests, but found that tiddler .. macro gets an error if used with section which contains a table: tiddler [[This or another tiddler##a section with a table]]. Simple transclusion test works:
[tw] Positioning Popups via CSS in TiddlyTools ShowPopUpPlugin
Hello I would like to give a PopUp containing a two level Menu a fixed position in the Browserwindow. Using Tiddlytools show PopUpPlugin http://www.tiddlytools.com/#ShowPopupPlugin and trying a CSS code like .specialPop {position:fixed; top:45px; left:10px;} the PopUp appears fixed but always right below the Button. Usinig margin-top as parameter, the position is altered but is also dependend on the button. Is the CSS overridden by the plugin's code? Is it possible to make the popup appear always on the same place independent from where the button is pressed? Thanks for Help! Jan -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to tiddlywiki@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: Inline Editing of tables
Hi Vincent, I found the conflicting plugin: YourSearchPlugin [1] from Udo Borkowski (abego-software). When TableEditor (v1.3.7) and YourSearchPlugin are both enabled autosave does not work anymore. With only TableEditor enabled or only YourSearchPlugin enabled autosave does work as expected. I made a Minimal Test Case [2]. Cheers, Ton [1] http://tiddlywiki.abego-software.de/#YourSearchPlugin [2] https://dl.dropbox.com/u/2638511/MTC_TableEditor_137_YourSearch.html On Sep 22, 7:17 pm, Vincent Yeh qmo.w...@gmail.com wrote: Ton, On Saturday, September 22, 2012 1:55:48 AM UTC+8, TonG wrote: Hi Vincent, The TableEditor (v1.3.6) works great but I found two things: 1) At one time - used in a TW with many plugins - I got the 'overlay problem': text positioned below the table is shifted to the top so the table and text overlay. That could be the resiziong bug I found lately. I should have fixed it in v1.3.7. Are you still having this problem with the latest version? I tried to pinpoint the problem by disabling plugins. After disabling the first plugin the problem disappeared so I thought I found the offending plugin. But after enabling the plugin again the problem did not show up anymore! Irreproducible problems are very frustrating. Sometimes opening (for editing) the tiddler with overlay problems and thereafter canceling editing restores a good display. I assume a rendering problem. I had such experiences myself a few times, but it all came back normal after relaunching the browser. I am guessing it could be the browser or some deeply hidden bug that I haven't found. Not sure about this yet. 2) In the same TW autosave does not work anymore when the TableEditor is enabled. I use config.options.chkAutoSave = true; in a systemConfig tagged tiddler which works OK without the TableEditor; when the TableEditor plugin is enabled autosave does not work anymore. I tried config.options.chkAutoSave : true in SystemSettings but that did not work either; no autosave anymore with TableEditor enabled. Disabling TagSearchPlugin [1] by Tobias Beer and TiddlyFileImportr [2] by Jon Robson (which both use autoSaveChanges as well) did not help either. I ended up using the ToggleTagPlugin [3] by Simon Baird as a workaround. Now I can toggle the systemConfig tag to enable the TableEditoronly when needed; when disabled autosave works as expected. One possibility is that the chkTEditorManualSave option is interfering with the system autosave option. Maybe I should remove this option and just use the system option? Another possibility is the TableEditor is conflicting with some plugin that also hijacks the saveChanges() function. You can try to find one that does so and I'll try to find out what's going wrong. Cheers, Ton [1]http://tagsearch.tiddlyspot.com/#TagSearchPlugin [2]http://repository.tiddlyspace.com/TiddlyFileImportr [3]http://mptw.tiddlyspot.com/#ToggleTagPlugin Let's keep having fun! Vincent On Sep 21, 12:23 pm, Yakov yakov.litvin.publi...@gmail.com wrote: Hello Vincent, sorry for long silence, got some major problems.. I think I'll return to consistent testing in several days. Ok, I added the archive with screenshots to this message. It's better to investigate why the site isn't visible, though.. Can you see anything at [1]? As for Android devices.. if you use TW on a phone, you probably should try iTW [2] (AndTidWiki can generate a new one) or use at least 2 Eric's transclusions [3] to get more room. Or is there something aside menus which bothers you? Best regards, Yakov. [1]http://yakovl.bplaced.net/ [2]http://tiddlywiki.bidix.info/ [3]http://tiddlytools.com/#ToggleRightSidebar%20ToggleLeftSidebar понедельник, 17 сентября 2012 г., 8:15:30 UTC+4 пользователь Vincent Yeh написал: Yakov, I keep getting an error saying access forbidden clicking the link below. Maybe we try another way? Or just a couple of screenshots here? I tried AndTidWikky on my Android phone and did see some of the features working while others not, but the screen is just too small to do any useful test. I am guessing special tricks are needed for AndTidWikky? I'll use a larger one to test when I have a chance. FF15 for Android refuses to install on my phone, and I haven't found one Vista 64 system nearby, so no way to try them myself yet. Cheers Vincent On Saturday, September 15, 2012 5:10:03 AM UTC+8, Yakov wrote: Hello Vincent, thanks for the update, now extra captions are not displayed in the mentioned browsers which is fine for me; on the other hand, Chrome 21.0 (latest) and Safari 5.0.3 still don't show the E button in tables without a caption (OS: Vista x64); the same thing in AndTidWiki (which is more painful for me). I guess those are WebKit browsers/app.. A small note: for
[tw] Really Stupid Linux trick
This is only a I wonder if this will work till they get the Firefox plugin done idea, but I've tested it, and oddly enough it seems to work. If you install chrome and Sun Java on your linux box, you can stick your tiddlywiki in your ~/bin folder, Make the first line #!/opt/google/chrome/google-chrome, put the tiddlysaver.jar in the same folder, and make said file executable. type the filename at the command line, and chrome will happily open it and let you edit it. I thought it would overwrite the headerline when I saved, but it doesn't seem to, and it's more convenient than manually opening it in chrome till they get the firefox (which I infinitely prefer) plugin finished. I kinda like it - when they do get firefox finished, I'll probably just change the header to #!/usr/bin/firefox. Jonnan -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/qF2L_35c1PsJ. To post to this group, send email to tiddlywiki@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] Receiving return responses from code inside a html form
Hi All Trying to understand more about javascript in TiddlyWiki and Html forms. I gave a script that I use so people can login to a TW page (on-line). Now the script responds with various messages (using the javascript return command) and all works well when the script is in a seperate tiddler (obviously I have InlineJavascriptPlugin installed!!). Now if I put that script inside a html form (which collects the users login details), the script is processed when the user hits the button (input type=button...)... but the return messages are not seen! Why not? And is there some way I can get to see those messages...as the user needs the confirmation (logged in...login failed...that the javascript is generating.) Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/O_0H6fIlOwoJ. To post to this group, send email to tiddlywiki@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: Inline Editing of tables
FYI: I notice that the links in the top description of the plugin do not actually point to the source of the table edit plugin. The problem is that the URL is immediately followed by a br/, with no space. TW linkifying soaks up this and breaks the URL. I guess this is actually a defect in TiddlyWiki URL'ifying code. I am only guessing but maybe you used the table editor to edit this cell? The auto translation of newlines to br./ maybe should replace newline with spacebr/, to work around this problem. Awesome work... :) ...Lyall -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/eLuztdcbLOEJ. To post to this group, send email to tiddlywiki@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.