[tw] Re: simple charts

2014-05-20 Thread okido
Hi Wolfbite, With the raphael 0.40 version you could import the g.line-min.js as a tiddler, tag it with systemConfig, save and reload that is the whole process. You might also have a look here http://d3tw.tiddlyspot.com/. The charts/graphs at d3tw require d3 and a graphing lib of your choice,

[tw] Re: [TWC] Right way to make a Javascript function available throughout a TW?

2014-05-20 Thread okido
Hi Antaeus, The most basic form is: function simpletest(){ return false; }; Past this code in a tiddler and tag with systemConfig, save and reload. Have a nice day, Okido 2014年5月18日日曜日 23時48分58秒 UTC+2 Antaeus Feldspar: Suppose that I have a Javascript function that I want to

[tw] Re: [TWC] Right way to make a Javascript function available throughout a TW?

2014-05-20 Thread Yakov
Hello Antaues, For being short, I'll just add that you can define methods via plugins (and use the Require slice in other plugins, if those methods are needed at the startup): definition (in a plugin MyLib): config.extensions.myObject = { myMethod1: function(...) { ... }, myMethod2:

Re: [tw] Re: [TWC] [NEW Plugin] AutoSuggestPlugin

2014-05-20 Thread Yakov
Hello Albert, I see, take your time and good luck :) Health to the boy! понедельник, 19 мая 2014 г., 15:14:12 UTC+4 пользователь Albert Riedinger написал: Hello Yakov, I'm very sorry for my delayed answer, but I'm currently very busy (waiting for birth of my son in the next few days :)

Re: [tw] Re: [TWC] [NEW Plugin] AutoSuggestPlugin

2014-05-20 Thread Yakov
Ok, here's what I think: now we have this RegExp: regexp = new RegExp(flag+([^\\|\\n\\]]*)$|+flag+([^\\x00-\\xff]*)$, gi); and this use of match: return match[2] || match[1]; As this is two alternative matches and my [^\\|\\n\\]] version is general enough, looks like the second part may be

[tw] TW5 include external js/css in meta area

2014-05-20 Thread Felix Küppers
Hi, I want to include my external library in TW5, however, everytime I save TW, it overrides my script reference in the html code. the code is inserted by me manually inside the head tag script src=js/jquery-1.9.1.js type=text/javascript/script script src=js/my.js type=text/javascript/script

[tw] Re: TW5 include external js/css in meta area

2014-05-20 Thread Stephan Hradek
Can't you put it into a tiddler? http://tiddlywiki.com/#Using%20Stylesheets:[[Using%20Stylesheets]] For JavaScript I suggest to create a plugin or macro. jQuery I wouldn't include like that. I think it will lead to problems in the long run, but @Jeremy or @Mario could answer this better I

[tw] Re: [TW5] Problem mixing leftmenu and default tiddlers

2014-05-20 Thread Ton Gerner
Hi Dave, I don't know if you upgraded from a working TW5.010-beta, but I have seen a few 'strange' things when upgrading (from the kind of to be published in the Journal of Irreproducible Results ;-) ). Did you try importing your judas.html into an empty TW5.0.12-beta? I downloaded your TW and

Re: [tw] Re: [TW5] Problem mixing leftmenu and default tiddlers

2014-05-20 Thread David Gifford
Hi Ton, thanks for taking the time to look at this. I just tried doing what you described: I downloaded an empty TW5. From there I imported from my Judas file. And I turned off permalinks and permaview and hit save, and reloaded. But unlike you, I am not seeing my default tiddler of Instrucciones

Re: [tw] Re: [TWC] [NEW Plugin] AutoSuggestPlugin

2014-05-20 Thread Yakov
PS one more tweak to add: the .replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, \\$); part does what .escapeRegExp(); TW String utitity is supposed to do, and for better readability, I suggest to write those lines as following: flag = flag.escapeRegExp(); One, however, should be aware, that

[tw] Re: TW5 include external js/css in meta area

2014-05-20 Thread BJ
to include code (ie your script references etc) in the header section, put the code into a tiddler and tag it with $:/core/wiki/rawmarkup. cheers BJ On Tuesday, May 20, 2014 1:56:09 PM UTC+1, Felix Küppers wrote: Hi, I want to include my external library in TW5, however, everytime I save

Re: [tw] Re: [TW5] Problem mixing leftmenu and default tiddlers

2014-05-20 Thread David Gifford
Ton, the problem turned out to be zoomin mode. I prefer to have only one tiddler open at a time, but for some reason when I switched to normal or classic view mode it worked fine. So I guess for now I will have to live with classic view mode. -- You received this message because you are

Re: [tw] Re: [TW5] Problem mixing leftmenu and default tiddlers

2014-05-20 Thread Ton Gerner
Hi Dave, And that is why it worked for me; I don't use zoomin mode normally and switched to classic mode when I imported your stuff ;-) Anyhow, you know what was happening. Cheers, Ton On Tuesday, May 20, 2014 8:03:24 PM UTC+2, David Gifford wrote: Ton, the problem turned out to be zoomin

[tw] Re: TW5 include external js/css in meta area

2014-05-20 Thread Felix Küppers
Thanks, that did the job! Also thanks @stephan for the advice. felix On Tuesday, May 20, 2014 5:53:54 PM UTC+2, BJ wrote: to include code (ie your script references etc) in the header section, put the code into a tiddler and tag it with $:/core/wiki/rawmarkup. cheers BJ On Tuesday,

Re: [tw] Re: TW5: Using TW as a musical scratchpad with BopLand.org services?

2014-05-20 Thread Måns
Hi TwWizards BJ just gave me the answer to this question in another threadhttps://groups.google.com/d/msg/tiddlywiki/7StDWFV9Wh0/_r1XvyMFzJYJ . The simple solution is to create a tiddler eg: $:/_bopland_render_js tag it with: $:/core/wiki/rawmarkup write: script

Re: [tw] Re: TW5: Using TW as a musical scratchpad with BopLand.org services?

2014-05-20 Thread Måns
Same thing is possible with jTab from tardatehttps://groups.google.com/d/msg/tiddlywiki/rLBLUy2wlXI/gvy3CwXq6FMJ (guitar chords and tab notation) Create a tiddler eg.: $:/_jTab_render tag it with: $:/core/wiki/rawmarkup write: !-- recommended to avoid security warnings with SVG in IE8 --

Re: [tw] Re: TW5: Using TW as a musical scratchpad with BopLand.org services?

2014-05-20 Thread Måns
Forgot to link to a twc jtabplugin example: http://jtab.tiddlyspot.com/#jTabPlugin Cheers Den tirsdag den 20. maj 2014 23.35.42 UTC+2 skrev Måns: Same thing is possible with jTab from tardatehttps://groups.google.com/d/msg/tiddlywiki/rLBLUy2wlXI/gvy3CwXq6FMJ (guitar chords and tab

[tw] [TW5] Problem with Wizard

2014-05-20 Thread Pedro Maia
Hi, I add an image to a Wizard (http://acupunctureschoolonline.com/wp-content/uploads/2010/11/L.I.-4-Joining-Valley-HEGU-Acupuncture-Points-1.jpg and ) but it's height is bigger than the Wizard and I can close it since the close button don't appear at the screen. Have I done anything wrong?

Re: [tw] Re: TW5: Using TW as a musical scratchpad with BopLand.org services?

2014-05-20 Thread Måns
TW5 examples: http://bopland-tw5.tiddlyspot.com/#GettingStarted http://jtab-tw5.tiddlyspot.com/#jTabUsage Enjoy Den onsdag den 21. maj 2014 00.04.21 UTC+2 skrev Måns: Forgot to link to a twc jtabplugin example: http://jtab.tiddlyspot.com/#jTabPlugin Cheers Den tirsdag den 20. maj 2014

[tw] Re: [TW5] Problem with Wizard

2014-05-20 Thread Måns
Hi Pedro I've noticed the same thing. If you put something in a modal/wizard and it's bigger than your scrren height you won't be able to close it - and you're forced to reload the page - which can result in loosing data/edits... The modal wizard popup looks very similar to a lightbox. When

[tw] Re: [TWC] Right way to make a Javascript function available throughout a TW?

2014-05-20 Thread Antaeus Feldspar
On Sunday, May 18, 2014 5:48:58 PM UTC-4, Antaeus Feldspar wrote: Suppose that I have a Javascript function that I want to be available throughout the Tiddlywiki, for plugins that can use Javascript code (in this case, ForEachTiddlerPlugin) to employ. What is the correct method to do it?

[tw] Re: [TW5] Problem with Wizard

2014-05-20 Thread Birthe C
Hi Pedro As your image is really 3 images, you could part them. Wizards can be nested. Birthe -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to