Missing active navbar item highlighting

1 view
Skip to first unread message

Michael

unread,
Jul 14, 2009, 5:35:41 AM7/14/09
to Cluemapper-dev
Why is the active navbar item not marked as active? Have a look at

http://projects.serverzen.com/pm/p/cluemapper/timeline

and you can see that "Timeline" is not marked as active! Is this a bug
of ClueMapper!? The normal Trac application does the right
highlighting!

Rocky Burt

unread,
Jul 16, 2009, 10:17:14 AM7/16/09
to cluemap...@googlegroups.com

This probably just a missing CSS rule for :hover on the nav bar.

- Rocky

Michael

unread,
Jul 17, 2009, 5:16:54 AM7/17/09
to Cluemapper-dev
no, the css class "active" is missing in the active element:

here is the HTML part for "http://projects.serverzen.com/pm/p/
cluemapper/timeline":
<div id="mainnav" class="nav">
<ul>
<li class="first"><a href="/pm/p/cluemapper/wiki">Wiki</a></li>
<li><a href="/pm/p/cluemapper/timeline">Timeline</a></li>
<li><a href="/pm/p/cluemapper/roadmap">Roadmap</a></li>
<li><a href="/pm/p/cluemapper/browser">Browse Source</a></li>

<li><a href="/pm/p/cluemapper/report">View Tickets</a></li>
<li class="last"><a href="/pm/p/cluemapper/search">Search</a></li>
</ul>
</div>

The Timeline-li should contain class="active":

<li class="active"><a href="/pm/p/cluemapper/timeline">Timeline</a></
li>

Here is the HTML source part from trac.edgewall.org:

<ul>
<li class="first"><a href="/wiki">Wiki</a></li>
<li class="active"><a href="/timeline">Timeline</a></li>
<li><a href="/roadmap">Roadmap</a></li>
<li><a href="/build">Builds Status</a></li>
<li><a href="/browser">Browse Source</a></li>
<li><a href="/report">View Tickets</a></li>
<li><a href="/wiki/NewTicket">New Ticket</a></li>
<li class="last"><a href="/search">Search</a></li>
</ul>

It seams to me that the Trac part does not detect the active link or
there is some javascript which removes the classes!?

Michael

On Jul 16, 4:17 pm, Rocky Burt <ro...@serverzen.com> wrote:
> This probably just a missing CSS rule for :hover on the nav bar.
>
> - Rocky
>
> On Tue, Jul 14, 2009 at 9:35 AM, Michael <
>
Reply all
Reply to author
Forward
0 new messages