Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This request is specific to the new views tabs formatter. When the page loads, the first tab is the one that defaults open. For tab styling purposes, it would be nice to be able to use CSS to style that tab as open. When a tab is clicked, that <li>
receives the class "active." Is it possible to, on page load, load the first tab like this: <li class="active">
?
Comments
Comment #3
systemick CreditAttribution: systemick as a volunteer commented@Adrian83 I've just added this to the latest release (alpha2). If you update your module you will have this functionality.
Comment #4
Adrian83 CreditAttribution: Adrian83 commented@systemick I simply updated the module, and the first tab now shows that it's active. Thank you very much!
Comment #6
liquidcms CreditAttribution: liquidcms commentedi am using the alpha2 rel which is the same date as this was listed as fixed and the same date as -dev.. so a little difficult to tell if it it made it into the release or not; but..
when page is loaded, the default tab gets it's LI as active but not the A tag inside it. When one is picked; that A tag gets the active class and the default LI still has the class active. Pretty sure that's still wrong. But confusing that no one has reported this in the past 3 yrs.