Hello,

I know that we have the Dynalist plugin but from what I've gathered it's 
currently at the proof of concept stage of development. From studying its 
documentation and code I can also see that it's very ambitious and that it 
may take some time/effort to make it truly "deployable".

What I'm looking for is a fairly simple functionality whereby an element (a 
div or even a portion of text within a tiddler, definitely not the entire 
tiddler) could be hidden and only appear when scrolled into view (through 
JS and CSS display:none > display:initial or something else).

Could this be accomplished by wrapping the content in a widget, either a 
new standalone widget or perhaps an upgraded $reveal widget, that would 
detect the vertical scroll position/viewport etc. and only reveal content 
when it's visible?

I've already had a look at a similar solution here 
<https://stackoverflow.com/questions/49916259/show-element-when-in-viewport-on-scroll>
 
but could not get it to work as a TW JavaScript widget yet.

I'm using the poor man's single tiddler view ;) (zoomin) with animation set 
to 0 and have no interest in the other storyviews, though I understand that 
there might be an issue getting this solution to work consistently across 
all the storyviews.

I was wondering if anyone built something similar and would be willing to 
share their approach?

Thank you,
Hubert


even through CSS ("display: none") based on it's class



Show element when in viewport on scroll 
<https://stackoverflow.com/questions/49916259/show-element-when-in-viewport-on-scroll>

-- 
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/7ae015fc-0679-460b-b3a3-584906aff425%40googlegroups.com.

Reply via email to