Skip to main content
19 votes
Accepted

Creating a simple Dock Cell that Fades In when Cursor Hover Over It

Edit: Fading overlay window In order to get a top dock element with real transparency, one can create a window that overlays the current notebook window and adjusts its position together with it. <...
Karsten7's user avatar
  • 27.5k
7 votes

How to always display current section identifier (number, name) in notebook?

I will present a stylesheet approach, using a Dynamic object in a DockedCell. There are two main issues: How to figure out where the current selection is, so that ...
Carl Woll's user avatar
  • 131k
6 votes
Accepted

Make docked cells scale with zoom

This seems to work: ...
kglr's user avatar
  • 396k
6 votes

Creating a simple Dock Cell that Fades In when Cursor Hover Over It

Here's my take (works smooth for macOS sierra). ...
M.R.'s user avatar
  • 31.5k
6 votes
Accepted

Expand/collapse option for Toolbar

One possibility is to create a new screen environment, that is identical to the usual "Working" screen environment, except that it has the toolbar. For example: ...
Carl Woll's user avatar
  • 131k
5 votes
Accepted

Docked Cell that scrolls?

Using MMA 11.0.0 the following works to create a scrollable docked cell: ...
b3m2a1's user avatar
  • 46.9k
5 votes

Creating a simple Dock Cell that Fades In when Cursor Hover Over It

Smooth fade effect probably won't be simple but here is a start: ...
Kuba's user avatar
  • 137k
3 votes

Expand/collapse option for Toolbar

Here's another approach, adding a Button to collapse the cell: ...
b3m2a1's user avatar
  • 46.9k
3 votes

Editing a docked cell created with a notebook

You can use SetOptions directly on any Notebook like this: ...
M.R.'s user avatar
  • 31.5k
3 votes

When are these additional docked cell styles used?

In version 10.4.1 for Windows MiscExpressions.tr contains definitions for 20 "SystemDockedCell"s: "SlideshowToolbar" ...
Karsten7's user avatar
  • 27.5k
2 votes
Accepted

Cannot find DockedCells with Cells or NotebookFind

Update: a straighforward solution One could use the Initialization option of Cell to collect the required information: ...
Alexey Popkov's user avatar
2 votes
Accepted

How to make a better self-closing toolbar button that always works?

Use NotebookDelete[EvaluationCell[]] instead of manipulating the DockedCells option: ...
Alexey Popkov's user avatar
2 votes
Accepted

Create SlideShow notebook with docked "header" cell with left-, center-, and right-justified portions

Basen on comments above the following gives the desired result: ...
kglr's user avatar
  • 396k
1 vote
Accepted

How can a Style Cell be safely programmatically appended to the Notebook Stylesheet at (Format -> Edit -> Stylesheet)

There is ResourceFunction["AddStyleToNotebook"] which allows to add a new style to the private stylesheet without erasing the existing styles. But ...
Alexey Popkov's user avatar
1 vote
Accepted

Why aren't my grid elements aligning correctly in a docked cells toolbar?

The alignments Left and Right don't mean much when the item size is the size of the item. Perhaps the OP wants a grid the size ...
Michael E2's user avatar
  • 236k
1 vote

Why aren't my grid elements aligning correctly in a docked cells toolbar?

You are actually defining a grid with only one row. Inside Gris you have the form: {{...}}.If you want two rows you must use something like: {{..},{..}}. In your case: ...
Daniel Huber's user avatar
  • 52.6k
1 vote

Debugger toolbar refuses to turn off in a notebook. Not sure what to try next?

This May Work I found a relatively easy solution that worked for me. Changing the Stylesheet removed the Debugger toolbar. But ...
Jules Manson's user avatar
  • 2,467
1 vote
Accepted

How to load a function from an external notebook that creates a docked cells toolbar?

Make in your new notebook notebook.nb two cells. First: ...
Acus's user avatar
  • 3,670
1 vote

Dynamic docked toolbar that appears only in the Working screen environment

To make the answer complete I will post the whole solution supplemented with b3m2a1's answer. The main problem was that I wanted to make docked cell toolbar with dynamic elements that appears in <...
Milos Cipovic's user avatar
1 vote

Dynamic docked toolbar that appears only in the Working screen environment

Per my comment you can use a global symbol to track this and have that update on "MouseEntered": Try: ...
b3m2a1's user avatar
  • 46.9k

Only top scored, non community-wiki answers of a minimum length are eligible