Tree with Preview PDF Portfolio Layout Available now

If you’re looking for a really simple way to navigate a lot of files in a PDF Portfolio and don’t need all the bells and whistles of the default layouts, check out “Tree with Preview”. I’ve removed everything except the most basic file navigation features making the preview window as large as possible and highly responsive.

Because only PDF files can be displayed in the Preview window, you probably don’t want to use this one for source files. I also set this one up so that folders can’t be selected. If you click on a folder the first child file of the folder will be displayed. If, like the sample file, the first item in the Portfolio is a folder, the first child PDF file will be shown.

You can use the Custom Components panel to set the size of the text in the list and the Color Pallet panel to control the text color. In this layout, the “Text” color is the color of all the items in the list. The “Accent” color is used for the selected item.

Tree with Preview


Download a .ZIP containing an example file and the Tree with Preview 1.0.0 layout file. [5.4MB]

2 Responses to Tree with Preview PDF Portfolio Layout Available now

  1. JohnnyRiv April 24, 2013 at 9:24 pm #

    Joel, love the navigators!! Clearly picks up where Adobe dropped the ball. So I have a question, is it possible to have the navigator open to a particular file. For example, I use the following code in the JavsScript Debugger window:

    this.collection.initialDoc = this.dataObjects[9].name;

    to have my PDF open to a specific PDF in the portfolio. And it actually does open to that page, but after a few seconds it jumps to the 1st PDF in the portfolio.

    Is there any way to add the initialDoc to your navigator? Or is there some other way I can do it with your navigator?


    • JoelGeraci April 25, 2013 at 4:49 pm #


      Setting the initialDoc would normally work but this layout, as you’ve seen, calculates the first document shown on it’s own. Normally, either the “initialDoc” or the first item in the collection will be displayed. With the Tree layouts, there are cases where users have a folder set as the first item. My code will dig through the folder hierarchy and show the first document that it finds as the document viewed when you first open the Portfolio.

      Rather than use “initialDoc”, you can just go into “Files” mode and drag your document to the top. If it’s at the top of the sort order, it will be the first to show.

      I hope that helps.


Leave a Reply

Powered by WordPress. Designed by Woo Themes