Active list items of an Index list

Search
Other Pre-Sale questions
Forum

Active list items of an Index list

Anton's Avatar Anton
Hello!
Please tell me, can QI add an extra class (depending on a page area) to active elements of an index list, if it placed in sidebar? Like at the pages of your documentation?
Thanks in advance, your extensions are great!
Peter van Westen's Avatar Peter van Westen ADMIN
Is this for styling purposes?
If so, you can simply use the class of the module to style its children:
.mod-custom .index-link.active {
   ...
}
You can of course add a custom class to the module, and use that.
Please post a rating at the Joomla! Extensions Directory
Anton's Avatar Anton
I talk about adding a class to active list elements automatically via JavaScript. I see that at your documentation pages it works: class "active" adds to active list items, but on my site it does't work.
Peter van Westen's Avatar Peter van Westen ADMIN
Ah sorry, now I understand what you are asking.

That isn't part of Quick Index itself. It is a custom script.
If you know your way around javascript you can probably use most of this to make it work for you:
https://docs4.regularlabs.com/templates/regularlabs/js/script.js
Please post a rating at the Joomla! Extensions Directory
Anton's Avatar Anton
Ok, thank you!
Why don't you include this feature in the plugin's capabilities?)
Peter van Westen's Avatar Peter van Westen ADMIN
I might in a future release.
But Quick Index currently doesn't come with any javascript. It is quick and simple.
I am not at the stage yet where I want to make it more complex than it is and add fancy stuff like this.

Maybe I will revisit this after I have finished getting the other extensions Joomla 4 ready.

PS: This was not a really pre-sales question.
If you need more extension support, please purchase a subscription for the Pro version.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in