What Octivated does is adds active class to the current link you're at.
- Download the repository or clone
- Put
octivated.jsanywhere in your project. (Preferably in:js/octivated.js) - Now just include the file with Script tag:
<script src="js/octivated.js"></script>> You must put the script at the end of</body>tag. Placing it in<head></head>tag will not work
Or use jsDeliver CDN: <script src="https://cdn.jsdelivr.net/gh/obuxim/octivated/octivated.js"></script>
Done!
Give a star if you liked it.