The current javascript used in the bookmarks package (tree-static.js) does not work in some of the Mozilla browsers and is so slow in Explorer that the browser pops up a dialog box offering the user the option to kill the script.
I found an alternative script that is half the size of the one we're currently using, works on all the recent browsers I tried it on (mozilla, explorer, galeon, konqueror, etc...), is faster than the old one, and seems to me to be cleaner and easier to maintain than the old one.
Some of its other relevant features:
- unlimited tree menu depth
- any icons set can be used
- low weight (~5KB)
- highly optimized code guarantees incredible performance (good results on trees containing 10,000+ items)
- can be used either inline or with frames
- future browser's versions ready
- simple configuration file structure, easy to generate dynamically from database
- object oriented JavaScript implementation for those who want to learn DHTML programming
Their terms of use are:
"There is no license fee or royalty fee to be paid at any time for using the Tigra Tree Menu v1.x. You may include the source code or modified source code within your own projects for either personal or commercial use but excluding the restrictions outlined below. The following restrictions apply to all parts of the component, including all source code, samples and documentation.
- Header block of script file (tree.js) CAN NOT be modified or removed.
- The above items CAN NOT be sold as are, either individually or together.
- The above items CAN NOT be modified and then sold as a library component, either individually or together.
My question is as follows: given the terms of use above, can this script be included in OpenACS? If the answer is "yes" I already have all the required changes ready to go. If not, then I can either contact them to see if they can give us permission to use it, or maybe we can find an alternative script that's just as easy to use. Of all the ones I've looked at, this is the easiest to use with OpenACS.