Hi David, 

Very interesting! It somehow reminded me of sidenotes 
<https://groups.google.com/g/tiddlywiki/c/QNZLtqecbIU/m/T__843mBBAAJ>, 
which are easily combined with details: a simple demo: 
https://andjar.github.io/tiddlytext/sidelink.html Just a thought! The macro 
is simple:

\define sidelink(trgt, lbl)
<span class="comment"><$link to=$trgt$>$lbl$</$link><span class 
="sidenote"><details><summary>$lbl$</summary><$transclude 
tiddler=$trgt$></details></span></span>
\end

<style>
.comment:hover .sidenote {
background-color: yellow;
}

.sidenote,
.marginnote {
float: right;
clear: right;
margin-right: -50%;
width: 40%;
margin-top: 0.3rem;
margin-bottom: 0;
line-height: 1.3;
vertical-align: baseline;
position: relative;
}
</style>

Best,
Anders

tirsdag 30. mars 2021 kl. 23:50:30 UTC+2 skrev David Gifford:

> Hi all
>
> First, thanks to Saq and si for their ideas. (I saw Si's post too late, 
> but will play around with the hotzone idea later. Sounds like a good other 
> way of doing this)
>
> I got my links+backlinks set up to work as far as I need it to. Check it 
> out at:
>
> https://giffmex.org/experiments/l+bl.html
>
> If anyone would like to make this their own, adapt it, clean it up, 
> package it as a plugin, host it on GitHub, I would be most pleased. I got 
> it to work for me, and I wanted to share the idea rather than hoard it, but 
> I am not really excited about doing any remaining work on it or maintaining 
> it. 
>
>
> On Tuesday, March 30, 2021 at 12:28:24 PM UTC-6 David Gifford wrote:
>
>> Hi all
>>
>> Yet another crazy hair-brained idea of mine.
>>
>> Use case: you are reading a tiddler that has a lot of links to it. You 
>> want to see the context of a link, but you don't want to leave your place 
>> in the current tiddler. Also, you don't want modal popups.
>>
>> My idea: a tiddler tagged either $:/tags/SideBar (or 
>> $:/tags/SideBarSegment, if one is using the Customizer plugin) that lists 
>> the title and transcludes the text field of the hard links in, and the 
>> backlinks to, the "target tiddler" (i.e., the tiddler that shows up after 
>> the hashtab in the browser bar). That way you keep your tiddler open and in 
>> place, but can see a scrollable list in the sidebar with the title and text 
>> of all the links and backlinks.
>>
>> Here is an example of the look and functionality I am imagining: 
>> https://giffmex.org/experiments/l+bl.html
>>
>> At the very least, if someone could tell me how to parse "target tiddler" 
>> in a list filter, I could experiment on my own. 
>>
>> Alternate idea: A plugin that shows a small icon on hovering near a link 
>> in a tiddler, and when you click on the icon, the title and text of the 
>> linked tiddler appears in a sidebar tab or sidebar segment, and any tiddler 
>> that was there previoulsy in that sidebar viewing area is removed.
>>
>> Obviously either of these ideas would require a wide screen and a wide 
>> setup for the sidebar. But it would be a nice alternative to the two-column 
>> approach of the Stories plugin for Stroll. It would also mean that the 
>> viewtemplate approach for viewing backlinks (again, Stroll) would be less 
>> necessary. Side by side viewing of tiddlers is better than scrolling to the 
>> bottom of the target tiddler to see what the backlinks are.
>>
>> Thanks in advance for any feedback, help, snippets or links. Blessings!
>>
>>
>>

-- 
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/7d648deb-5ced-4adf-abde-20684ade8a1bn%40googlegroups.com.

Reply via email to