Welcome to Geeklog, Anonymous Tuesday, March 19 2024 @ 05:29 am EDT

Geeklog Forums

uk-active in uikit is not attached.


Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
I'd like to highlight current selected menu in top navigation.
The navigation of geeklog with uikit and custom-menu plugins, seems automatically remove default uk-active class.
I'm using custom-menu plugin and I tried to attach a custom class to the navi :
$('#navigation_ul>li'Wink.on('click',function(){
$(this).addClass('someclass_active'Wink;

But clicking a link in the navigation add someclass_active to the li tag for a second then automatically remove the class before finishing loading the linked page. So that's not working.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Are you using this Menu Plugin?

https://www.geeklog.net/downloads/index.php/1140_5b1961eec3caa

What version of Geeklog are you using and what theme?

At the moment I am not sure how to fix the problem. I will have to look into it in more detail but that most likely will happen on Tuesday.

Tom
One of the Geeklog Core Developers.
 Quote

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
Quote by: Laugh

Are you using this Menu Plugin?

https://www.geeklog.net/downloads/index.php/1140_5b1961eec3caa

What version of Geeklog are you using and what theme?

At the moment I am not sure how to fix the problem. I will have to look into it in more detail but that most likely will happen on Tuesday.

Tom


It's not Menu Plugin. The version of Geeklog is 2, with customized theme based on Denim.
It looks like extended plugin in geeklogjp.
I have added breadcrumbs to highlight current selected category, instead of modifying uikits, so that you don't have to deal with this issue any more.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
Okay thanks for letting me know.

Glad you found a work around.
One of the Geeklog Core Developers.
 Quote

All times are EDT. The time is now 05:29 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content