Creating a dynamic paragraphs sidebar with JS and jQuery

Introduction

Having a sidebar that allows your visitors to get a general idea of the post’s structure, and to skip and freely navigate to any point, is a nice little addition that can make the reading experience more clear and interactive. You can see an example of it in the left sidebar of this website, as long as you’re not on mobile.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Intro to Git

CHEATSHEET OF COMMANDS

Important Linux Commands for general knowledge — 2

Move huge amount of files between different Google Drive accounts without re-uploading them.

Two days dynamic programming workshop conducted by linux world under the guidance of vimal daga sir…

Setting Up A PHP CodeSniffer For WordPress using Composer & VSCode

Update Notes v0.10.0-v0.10.1

Java’s Records vs Kotlin’s Data Classes

What is an Operator in K8s and why FPGAs need one in Data Centers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lorenzo Dellacà

Lorenzo Dellacà

More from Medium

Stripe Checkout API Basics

Integrating Single Sign-On Capabilities with WordPress

Week 13 — Open Source [2022/01/10]

How to create a Heroku recovery script