I have been playing around with tree menu free but believe I may need tree menu Pro for my site. Will I be able to substitute the + and - with other images and styles that will affect the link instead? In other words instead of:
+Home can I sub the image ' + ' AND the link Home so that when clicked it will expand AND link to whatever page?
Hope this makes sense. I'll also need the usual active or selected styles too - but I think thats built into the free version...although not that intuitively. Is the pro version easier to customize?
Thanks for any imput
This can be implemented by either modifying the core code of free version or using the event handlers and API in Tigra Tree Menu PRO.
Can you point me in down the right path to edit the free version? I will try that first since I am not proficient with event handlers, although I do
have the PRO version as well
You can put the +/- icon, item icon and item text in the same anchor tag and handle onclick event the way you want (open node, redirect browser
Note that it take much more skills to modify the core script code than add event handlers. Additionally the handlers is documented feature and we provide support with that while with custom changes you're on your own.
Can you possibly forward an example of how to use the event handler in Tree PRO to accomplish this?
I have looked over the documentation but am not sure how to proceed with substituting the + and - for the link node.
Thanks for any advice
the link and then return true which executes the standard handler for the event.
You can find information about events at:
Also see the samples of events and API usage in the distribution package.
One question - What is the code for the +/-. I mean, what is the default. I'm assuming onItemOpen has some default code that is over ridden when explicitly defined in tree_tpl...??? Could I get some hints on how mine should look from this???
By default the code toggles open/closed state of the tree item. This handler will called when you return true from your custom handler attached to onItemOpen event.