Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Highlighting the last item in the Site Tree

Go to End

3 Posts   1418 Views

Nathan Cox

Community Member, 99 Posts

4 July 2007 at 2:36am

I noticed that the last item on any level of the site tree (or should I say the last child of any item) doesn't highlight correctly when you select it.
This is because the .last class is overriding the background for the .current class.

On line 50 of /jsparty/tree/tree.css, change

ul.tree span.a.last {


ul.tree .a.last {

It makes the rule is less specific, so it's overwritten by .current and the background colour appears as it should.


Community Member, 201 Posts

4 July 2007 at 9:20am

Thanks for these patches Nathan - these will be applied to the main branch in the latter this week.


Community Member, 231 Posts

6 July 2007 at 12:06pm

Applied :)