Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a notebook with a docked cell displaying a banner with some graphics. When I convert this notebook to the Slide Show the banner is nicely displayed on each slide. But the Navigation Toolbar is not visible, apparently covered by my docked cell. How to display both, the Navigation Toolbar and my graphical banner in the Slide Show?

share|improve this question
    
there may be sufficient information here (mathematica.stackexchange.com/questions/7458/…) to help you out. –  Mike Honeychurch Oct 14 '12 at 23:21
    
By the way, Marek, welcome to Mathematica.SE! Please consider registering your account so that any upvotes you get on this question are added to those you might get on future questions and answers. That way, over time you will be able to do more on the site (post graphics, edit things, etc). –  Verbeia Oct 15 '12 at 2:51
    
@Mike thanks! I knew that one can dock a few cells but I could not find how to call for this SlideShowToolbar. Now I have found it! It is given by FEPrivate`FrontEndResource["FEExpressions", "SlideshowToolbar"] So my problem is solved. –  Marek Pfutzner Oct 15 '12 at 21:40
    
Marek, please consider posting that solution as an answer to your own question. –  Mr.Wizard Oct 16 '12 at 15:35

1 Answer 1

Here's a version which uses Inherited to pull the slide show's docked cell in. Unfortunately, there's a bug when Inherited references an empty value where it shows some needless whitespace. So this version uses Dynamic to detect the ScreenStyleEnvironment and switch its behavior accordingly.

With[{mycell = Cell["Boo!", "DockedCell"]},
 nb = NotebookCreate[ScreenStyleEnvironment -> "SlideShow", 
   DockedCells -> 
    Dynamic[If[
      CurrentValue[EvaluationNotebook[], ScreenStyleEnvironment] === 
       "SlideShow", {Inherited, mycell}, mycell]]]]

If you want your cell to precede the slideshow's docked cell instead, just flip the order of Inherited and mycell in the list. If you switch to the Working environment, then only your cell will show up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.