--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0a7348e4-916d-4400-8b10-444577929dcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/64422908-054b-4905-8797-4f84ae430065%40googlegroups.com.
\define title-styles()
fill:$(foregroundColor)$;
\end
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
\define title-state()
$:/state/templates/title/visibility/$(currentTiddler)$
\end
<$set name="titleState" value=<<title-state>>>
<div class="tc-tiddler-title tc-dynaview-set-tiddler-when-visible" data-dynaview-set-tiddler=<<titleState>> data-dynaview-set-value="true" data-dynaview-unset-tiddler=<<titleState>> data-dynaview-unset-value="false" data-dynaview-has-triggered={{{ [<titleState>get[text]] }}}>
<div class="tc-titlebar">
<span class="tc-tiddler-controls">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"><$transclude tiddler=<<listItem>>/></$set></$reveal></$list>
</span>
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
<$link>
<$set name="foregroundColor" value={{!!color}}>
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
<$transclude tiddler={{!!icon}}/>
</span>
</$set>
<$list filter="[all[current]removeprefix[$:/]]">
<h2 class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
</h2>
</$list>
<$list filter="[all[current]!prefix[$:/]]">
<h2 class="tc-title">
<$view field="title"/>
</h2>
</$list>
</$link>
</$set>
</div>
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]" variable="listItem"><$transclude tiddler=<<listItem>> mode="block"/></$list>
</$reveal>
</div>
</$set>\define config-title()
$:/config/EditToolbarButtons/Visibility/$(listItem)$
\end
\define title-state()
$:/state/templates/title/visibility/$(currentTiddler)$
\end
<$set name="titleState" value=<<title-state>>>
<div class="tc-tiddler-title tc-tiddler-edit-title tc-dynaview-set-tiddler-when-visible" data-dynaview-set-tiddler=<<titleState>> data-dynaview-set-value="true" data-dynaview-unset-tiddler=<<titleState>> data-dynaview-unset-value="false" data-dynaview-has-triggered={{{ [<titleState>get[text]] }}}>
<$view field="title"/>
<span class="tc-tiddler-controls tc-titlebar"><$list filter="[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list></span>
<div style="clear: both;"></div>
</div>
</$set>
<div style="position: fixed; width: 100%; height: 42px; background-color: #333333; color: white; top: 0; left: 0;">
<$set name="storyList" filter="[list[$:/StoryList]]">
<$list filter="[enlist<storyList>addprefix[$:/state/templates/title/visibility/]contains:text[true]nth[1]removeprefix[$:/state/templates/title/visibility/]]" variable="topmostVisible">
<$list filter="[enlist<storyList>allbefore<topmostVisible>last[]!has[draft.of]]" template="$:/core/ui/ViewTemplate/header-title"/>
<$list filter="[enlist<storyList>allbefore<topmostVisible>last[]has[draft.of]]" template="$:/core/ui/EditTemplate/header-controls"/>
</$list>
</$set>
</div>
But I want more:
1)The Header now only appears when you have scrolled to the top of the storylist. I would like to make it appear even when I scroll up a little at the bottom of the storylist.
\define title-styles()
fill:$(foregroundColor)$;
\end
\define config-title()
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
\end
<div style="position: fixed; width: 100%; height: 42px; background-color: #333333; color: white; top: 0; left: 0; z-index: 500;">
<div class="tc-tiddler-title"></div>--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5b0729c1-01e8-47c7-bdd2-85760fb948ba%40googlegroups.com.
Hi Jan, I've corrected some things in your test3.html, attached it below
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fb2d314f-7846-40ab-ad37-60b3d3411e4f%40googlegroups.com.