[daisy] SCR - Navigation trees in TOC and Doc basket

Karel Vervaeke karel at outerthought.org
Thu May 8 09:38:15 CEST 2008


Hi,

The navigation tree scrollbar idea has been posted before on the mailing
list, but I'm unable to find the thread back.

Anyway, before you go out experimenting, you should look at this
document: [0], chances are that this is what you really want.

[0] http://cocoondev.org/kb/444-cd.html

As for adding a scrollbar: there are two general approaches: 

1. Using css, give the navigation tree div (#documentNavigation) a style
which forces a scrollbar to appear. You will need the css properties
height and overflow, and probably some others to tweak the result.

To make sure the navigation tree scrolls to the right position, you can
use fragment identifiers or a bit of javascript (The latter is the best
way because fragment identifiers are difficult to apply everywhere in
the skinning/styling process).

2. Create a frameset which puts the navigation tree and the document
content in a separate frame.  This is a really bad idea and will take a
lot of work to reach a lousy result.  Go with suggestion 1.

HTH,
Karel


On Wed, 2008-05-07 at 13:51 -0400, ted.marquardt at thomsonreuters.com
wrote:
> Hi,
> 
> The following software change requests may have been requested before,
> but I'm not sure how to determine that.  Should I look on
> http://issues.cocoondev.org?
> 
> Anyhoo, he are my suggestions:
> 
> 1. A scroll bar for the TOC tree in the left navigation pain, so you
> don't have to page down the entire browser window when the TOC item
> appears towards the bottom of a lengthy TOC tree.
> 
> 2. Improve the Document Basket checkbox tree, perhaps make it
> expandable/collapsable.  The TOC tree of check boxes for selecting topic
> to put in the doc basket can get very long.
> 
> Thanks,
> 
> Ted
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list