I have been able to add the property Selected to my items now, like:
And if I check the html, I've got the correct css class for one (the selected one) item:
<li class="t-item"><a class="t-link t-state-selected" ...
But my previously working onload function is not working anymore:
I've got an [object] for the li-element but the last line:
panelBar.expand(li); is not expanding it. Why?
Any ideas?
/Mattias