I adapted the javascript for my purpose and it worked - partly.
When I call the javascript function with a string as parameter it works
fine, when I call the javascript function with a wikitext variable the
wikitext variable it not "solved" into it's "value".
I'll open a new issue for that.
Hi BJ
Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>
> Hi NT,
> you may be missing the fields
>
> type: application/javascript
> module-type: macro
>
> you can set the type by editing the tiddler and selecting
> 'application/javascript' from the dropdown list,
>
thanks, I did this
On Tuesday, December 1, 2015 at 9:40:00 AM UTC-8, NT wrote:
>
> you can add a field 'module-type' from the drop down list and then add the
>> value 'macro'
>>
> YES, that's the thing I expected I could do. But there is no 'module-type'
> in the drop down list!!! I am using TiddlyWiki5.1.9
>
On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>
> Hi BJ
>
> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>
>> Hi NT,
>> you may be missing the fields
>>
>> type: application/javascript
>> module-type: macro
>>
>> you can set the type by editing the tiddler and selecting
important!
It is necessary to reload you tw after making changes to a javascript
tiddler
On Tuesday, December 1, 2015 at 5:59:21 PM UTC, BJ wrote:
>
>
>
> On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>>
>> Hi BJ
>>
>> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>>
>>>
Am Dienstag, 1. Dezember 2015 18:51:52 UTC+1 schrieb Eric Shulman:
>
> On Tuesday, December 1, 2015 at 9:40:00 AM UTC-8, NT wrote:
>>
>> you can add a field 'module-type' from the drop down list and then add
>>> the value 'macro'
>>>
>> YES, that's the thing I expected I could do. But there is
Am Dienstag, 1. Dezember 2015 18:59:21 UTC+1 schrieb BJ:
>
>
>
> On Tuesday, December 1, 2015 at 5:40:00 PM UTC, NT wrote:
>>
>> Hi BJ
>>
>> Am Dienstag, 1. Dezember 2015 16:26:03 UTC+1 schrieb BJ:
>>>
>>> Hi NT,
>>> you may be missing the fields
>>>
>>> type: application/javascript
>>>
Am Dienstag, 1. Dezember 2015 19:21:55 UTC+1 schrieb BJ:
>
> important!
> It is necessary to reload you tw after making changes to a javascript
> tiddler
>
>>
>> Yes I knew and I did, thanks for trying harder :-)
But I will repeat it to be sure!
--
You received this message because you are
Hi NT,
you may be missing the fields
type: application/javascript
module-type: macro
you can set the type by editing the tiddler and selecting
'application/javascript' from the dropdown list,
you can add a field 'module-type' from the drop down list and then add the
value 'macro'
As Mario
Hi NT,
I think it would be easier, if you describe, what you want to do, instead
let us guess.
I personally think, we can solve your problem using standard tools instead
of a js macro, which contains hard coded strings.
-mario
--
You received this message because you are subscribed to the
Ok, that's a point. So I'll split the solution I want to have in two parts.
First, a direct solution, second a solution with help of a javascript macro.
First things first:
I have a "normal" macro that works. It's:
\define d1jpg(filename)
[img[./_new/Scout/$filename$.jpg]]
\end
That macro gets
11 matches
Mail list logo