[tw] Re: [TW5] How to call a javascript script by using a button in a tiddler?
Am Mittwoch, 29. Oktober 2014 17:36:34 UTC+1 schrieb Uwe: Hi there, I suppose, my question has been overlooked ... (A solution with a macro would be good enough.) I hope you don't expect anyone to write a javascript macro for you!? I guess you're able to do that yourself, right? Some hints can be found on http://tw5magick.tiddlyspot.com/ in the tiddler Javascript Macros in WikiText - please note that it's based on 5.0.something, so some information might be a bit outdated. -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] How to call a javascript script by using a button in a tiddler?
Hi Uwe, macros are used in tw5 to interact with the dom, widgets are used for that - most functionally can be handled by using the existing widgets (widgets are part of the tw5 wikitext). Cheers BJ On Wednesday, October 29, 2014 4:36:34 PM UTC, Uwe wrote: Hi there, I suppose, my question has been overlooked ... (A solution with a macro would be good enough.) Thanks for any reply. Greetings, Uwe -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] How to call a javascript script by using a button in a tiddler?
This is a security risk and is no longer allowed in TW5. I know how do you feel because I asked the same about a year ago. But, you can still programming javascript macros and widgets. What is your use case? I have a couple of very simple js macros that maybe fit your needs. Regards El miércoles, 15 de octubre de 2014 19:59:09 UTC+2, Uwe escribió: Hi, how can I call a little javascript like this html head titleTest/title script type=text/javascript alert(screen.width + x + screen.height); /script /head body /body /html by using a button? Greetings, Uwe (Yes, I miss Eric Shulmans InlineJavascriptPlugin which allows to Insert Javascript executable code directly into your tiddler content. ... ;-)) -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] How to call a javascript script by using a button in a tiddler?
Hi Danielo, yes, I have read your thread. Here you can see, what I had made with TWC years ago: http://uwe-wennmann.de/Lernprogramme/TWJavascript/Javascript.html#[[7.1%20Notationen%20von%20Zeichenketten]] If you click on the links hier klicken you see, what I mean. Only simple things like document.write or alert. I would like to see some of your macros to adapt them to my use cases. Greetings, Uwe (BTW: I would like to see that TW5 gets a superset http://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Set_subsetAofB.svg/150px-Set_subsetAofB.svg.png of TWC and the plugins of Eric Shulman. Yes, I'm a dreamer ;-)) Am Mittwoch, 15. Oktober 2014 20:35:23 UTC+2 schrieb Danielo Rodríguez: This is a security risk and is no longer allowed in TW5. I know how do you feel because I asked the same about a year ago. But, you can still programming javascript macros and widgets. What is your use case? I have a couple of very simple js macros that maybe fit your needs. Regards El miércoles, 15 de octubre de 2014 19:59:09 UTC+2, Uwe escribió: Hi, how can I call a little javascript like this html head titleTest/title script type=text/javascript alert(screen.width + x + screen.height); /script /head body /body /html by using a button? Greetings, Uwe (Yes, I miss Eric Shulmans InlineJavascriptPlugin which allows to Insert Javascript executable code directly into your tiddler content. ... ;-)) -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.