Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

Is there a JSON tag for the "active" state of an item?

$
0
0

I'd really like to a way, with JSON-T, to add an active class to the currently active item/post. This exists for Pages/Collections within the context of a Navigation .block, but exist nowhere.

I wish this was available via the {@|item-classes} tag.

Right now I'm using a YUI script to do it, but when using it on page load causes a delay in the class appearing...


Viewing all articles
Browse latest Browse all 21023

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>