Tspace issue: "scroll to top"

14 views
Skip to first unread message

twgrp

unread,
Sep 1, 2010, 4:16:00 PM9/1/10
to TiddlyWiki
I got a wonderful little "scroll to top of tiddler" (great to set
focus at beginning of longer tiddlers) via ELS, which is put into
EditTemplate and/or VeiwTemplate. This works great for vanilla but in
TSpace the up arrow ends up in the top right tiddler corner when it is
supposed to be in the bottom right tiddler corner. Here's a next to
minimal test case;

http://testcase1.tiddlyspace.com/#Note%20ViewTemplate%20EditTemplate

Suggestions?

:-)

Tobias Beer

unread,
Sep 1, 2010, 6:04:20 PM9/1/10
to TiddlyWiki
Hi twgrp,

I can't see any scroll to top button at all, neither at the top nor at
the bottom... what am I supposed to be looking for?

Tobias.

twgrp

unread,
Sep 3, 2010, 9:22:18 AM9/3/10
to TiddlyWiki
Thanks Tobias! What can be seen is a small pink triangle on top of the
X button, i.e on top of the "close tiddler" button. It is supposed to
be at at the lower corner instead.
Pleaes tell me if you still can't find it. (Maybe I'm missing/messing
up something with "private/public"?)

:-)

Tobias Beer

unread,
Sep 4, 2010, 5:02:53 AM9/4/10
to TiddlyWiki
Hi twgrp,

Indeed, I can't find it and there's no such code in the templates that
I am seeing... so there maybe is some access control issue.

Tobias.

twgrp

unread,
Sep 4, 2010, 7:26:15 AM9/4/10
to TiddlyWiki
Uuups, sorry, NOW I really think it should work.

(I just posted on the TWeb group on the reason for my mistakes;
http://groups.google.com/group/tiddlyweb/browse_thread/thread/befe5417ab5e94e0
)

Thanks!!!

Tobias Beer

unread,
Sep 6, 2010, 7:58:52 AM9/6/10
to TiddlyWiki
Hi twgrp,

The problem is that you apply the css class of "toolbar" to your
container which for a tiddlyspace seems to set the position to
absolute (and top). Try overriding that in your template by adding
"position:relative" to the style attribute... or even better to give
it a second class, e.g. class="toolbar totop" and then put required
style definitions for it into your StyleSheet tiddler.

Tobias.
Reply all
Reply to author
Forward
0 new messages