Floating buttons on the right site of the tiddler

281 views
Skip to first unread message

Marcus

unread,
Dec 18, 2017, 10:14:28 AM12/18/17
to TiddlyWiki
Hi everybody,

I like to have two buttons at the right side of every tiddler.
This two buttons should float (or is the right word "scroll"?) only in the height-range of the tiddler.
This is for the comfort when the tiddler ist very long.
I've attached a picture for my idea.
Is there a simple solution for this?

Thaky in advance.
test.JPG

TonyM

unread,
Dec 18, 2017, 5:06:51 PM12/18/17
to TiddlyWiki
Marcus,

It would be helpful, I have already followed other advice and have the Editor toolbar doing this in edit mode. I will try and dig up the details if no one else presents a thorough answer.

The key is applying an appropriate style, and using the z axis, most of the solution comes from HTML

Until now with the issue you face I have reproduced the standard tiddler buttons at the bottom of the tiddler as well.

WTony

TonyM

unread,
Dec 18, 2017, 6:11:23 PM12/18/17
to TiddlyWiki
Here is the discussion that led to my floating editor toolbar.

Mat

unread,
Dec 18, 2017, 8:41:10 PM12/18/17
to TiddlyWiki
@Marcus

You may wish to try out the sticky toolbar - search in the Controlpanel under either Settings or Appearence, can't remember.

You can also manually style things with "position:sticky" to have them behave like you describe. This is a CSS matter.

<:-)

Marcus

unread,
Dec 19, 2017, 5:50:45 AM12/19/17
to TiddlyWiki
Hello,

Hi've already set the sticky option in the control panel.

Also I've tried with "position:sticky" for the two buttons, but it doesn't work.
But I must say, that I've no experience in CSS.
Have you an example?

Thanks.

Marcus

unread,
Dec 19, 2017, 6:15:14 AM12/19/17
to TiddlyWiki
Hello again,

I found a solution on my onw way with CSS:


#navi{
float: right;
position: sticky;
left: 950px;
top: 750px;
bottom: 50px:
z-index: 300;
}

This works great :-)

Thanks for your answers.
Message has been deleted

Mat

unread,
Dec 19, 2017, 6:20:53 AM12/19/17
to TiddlyWiki
On Tuesday, December 19, 2017 at 12:15:14 PM UTC+1, Marcus wrote:
Hello again,

I found a solution on my onw way with CSS:

Excellent!

<:-)
Reply all
Reply to author
Forward
0 new messages