Justin,
Thanks for Sharing back.
Tony
On Friday, February 28, 2020 at 4:26:22 PM UTC+11, Justin Hurd wrote:
>
> Nevermind, I tinkered with some css, and found a solution that works for
> me!
>
> !!!Notes:
>
> <$edit-text tiddler="Notepad" placeholder="Type Notes Here." rows="10"
> minHeight="10em" class="my-extended-memory-field"/>
>
> <style>
> .my-extended-memory-field
> {width: 95%;
> overflow-y: scroll;
> max-height: 200px;
> min-height: 250px;
> position: static;
> top: 100px;
> }
> </style>
>
>
>
> On Thursday, February 27, 2020 at 11:49:08 PM UTC-5, Justin Hurd wrote:
>>
>> Hi Thomas, I know this is a fairly old post, but is there a way to have
>> this with a scrollbar instead of it constantly expanding downward?
>>
>> On Wednesday, March 22, 2017 at 4:32:00 PM UTC-4, Thomas Elmiger wrote:
>>>
>>> Hi Egbert
>>>
>>> Here comes my suggestion for your task: A conditional view template as I
>>> have learned
>>> <http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section>
>>> it from Tobias Beer. This way we make something that shows up on any
>>> tiddler meeting predefined conditions. The condition I use is that a
>>> tiddler must be tagged with a tag ExampleTag so that the notes are
>>> shown. Of course you can change this to something more meanigful in your
>>> case like "joboffer".
>>>
>>> Ingredients for this receipe: a tag, some wikitext code, a list-after
>>> field.
>>>
>>> a) Your template tiddler must be tagged with $:/tags/ViewTemplate
>>>
>>> b) In the text field we put this:
>>>
>>> <$list filter="[all[current]tag[ExampleTag]]">
>>> <$set name="tid" value="Notes-for-$(currentTiddler)$">
>>> <$edit-text tiddler=<<tid>> placeholder="Your text goes here"
>>> default="The tiddler for storage will be created automagically." rows="10"
>>> minHeight="10em" class="my-extended-memory-field"/>
>>> Notes go here: <$link to=<<tid>>><<tid>></$link>
>>> </$set>
>>>
>>> <style>
>>> .my-extended-memory-field {
>>> width: 100%;
>>> }
>>> </style>
>>> </$list>
>>>
>>> c) create a field for your tiddler, call it list-after and enter this
>>> as value: $:/core/ui/ViewTemplate/tags
>>>
>>> After you have created this tiddler you can tag any tiddler you like
>>> with "ExampleTag" and it will show a field for notes after saving.
>>>
>>> New elements in this solution:
>>> * the <$list filter part shows it’s content only if the condition with
>>> the tag is met.
>>> * the <$set statement creates a variable tid that contains the title
>>> for the storage tiddler. You can change the prefix *Notes-for-* if you
>>> like.
>>> * UPDATE: the list-after field defines, where our notes appear in the
>>> view template: right after the tags.
>>>
>>> Good luck!
>>> Thomas
>>>
>>> ((Updtate 2: Removed attachment, that was an old version))
>>>
>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/05cd55c0-c94a-4791-b453-85936046543b%40googlegroups.com.