Highlight tree in cooltree.js

  • Thread starter Yves-Alain.Nicollet
  • Start date
Y

Yves-Alain.Nicollet

I have a documentation library that is displayed as follows:
- a title frame at the top
- a tree frame on the left, managed using cooltree.js (standard
version) 2.8.7
- a doc frame on the right

When I click a link in the doc frame and when the new document finishes
loading, I would like the corresponding node in the tree to open and
be highilighted.

Does someone out there know how to achieve this?

Thanks.
 
R

RobG

I have a documentation library that is displayed as follows:
- a title frame at the top
- a tree frame on the left, managed using cooltree.js (standard
version) 2.8.7
- a doc frame on the right

When I click a link in the doc frame and when the new document finishes
loading, I would like the corresponding node in the tree to open and
be highilighted.

Does someone out there know how to achieve this?

It would be more appropriate to ask your question in a cooltree.js
support forum. What you want to do can likely be done fairly easily in
the Professional version, it may take considerable effort in the
standard version as it's obfuscated and minified and has a less capable
API.

The API documentation is here:

<URL: http://javascript.cooldev.com/doc/tree/#s4_3 >



Cooltree.js doesn't appear to have any fall-back for unscripted[1]
browsers - those users won't see any navigation at all. The usual trick
for collapsible menus is to create them as an unordered list and use
script to collapse them, that way unscripted browser users at least see
the expanded menu structure and can navigate through the site.


1. Where un-scripted means with javascript unsupported or disabled or
with an implementation that is incompatible with Cooltree.js.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top