.nodeSel for default Category Selection
Posted: 22 Nov 2011, 19:57
Hello,
I am using PhocaGallery 2.7.5 on Joomla 1.5.21 for a client, an old install that we've inherited. Everything is working beautifully with one exception: We need to display one of the Categories initially (which works), but the Category in the left menu isn't highlighted (not given the class nodeSel). After the user selects one of the Categories (even the same one) it works great and shows the color change for the Category.
My question is simply: how can I trigger the Category to show as active (assign it the class nodeSel when the Gallery is first opened, before the user picks a Category by hand?). I was poking around in dtree.js earlier, but decided I should ask the experts first!
Thanks in advance and all the best,
Caleb
I am using PhocaGallery 2.7.5 on Joomla 1.5.21 for a client, an old install that we've inherited. Everything is working beautifully with one exception: We need to display one of the Categories initially (which works), but the Category in the left menu isn't highlighted (not given the class nodeSel). After the user selects one of the Categories (even the same one) it works great and shows the color change for the Category.
My question is simply: how can I trigger the Category to show as active (assign it the class nodeSel when the Gallery is first opened, before the user picks a Category by hand?). I was poking around in dtree.js earlier, but decided I should ask the experts first!
Thanks in advance and all the best,
Caleb