Advent of Patterns: Persistent information on scroll


This article is the twenty-first edition of the Advent of Patterns series. In this series, running from December 1st to December 24th 2024, I will document one design or programming pattern I have noticed recently. Read more about this series.

Some parts of websites continue to stay on screen as you scroll to different parts of a page.

For example, the IndieWeb wiki shows the title of a page you are viewing at the top of the page and the table of contents on the right side. This information persists as you scroll through the page:

A page on the IndieWeb wiki with a table of contents on the left side that sticks as you scroll

This is useful because the title and table of contents are useful to the user no matter where they are on the page: the title provides context on the page the user is reading (which may be especially useful if a user is jumping between tabs, as may be the case when referring to a wiki); the table of contents is for on-page navigation and may be needed at any time.

Documentation sites commonly use this pattern, too. Tables of contents regularly stick to the side of the page. Sometimes, navigation sticks to the side of the page too. With persistent tables of contents and navigation, a documentation site can offer the reader:

  1. What page they are viewing (from the title).
  2. The context of the page they are viewing (what section it appears in in the navigation structure).
  3. The content of the page they are viewing (the main body text).
  4. On-page links to sections in the document (from the table of contents).

The navigation and table of contents, as aforementioned, are valuable no matter where the user is on the page. For instance, I may be reading one documentation page and realise that I need something else. If the sidebar is sticky, I can easily find my place and skim to find the document that may be more relevant to my query.

Here is an example of GitHub’s documentation, where the navigation and table of contents are persistent:

The GitHub create a repository documentation page, with three columns: site navigation, the main content, and on-page navigation

My web reader, Artemis, groups posts by date. The date appears above the first post published on a given date. This would mean that as you scroll, the date would disappear. To prevent confusion and to ensure the user always knows when a post was published, the reader makes the date sticky. This means the date of publication of a post is always on screen above an article.

Here is what the pattern looks like:

Dominik’s blogroll uses sticky labels that correspond to the category of different blogs in his blogroll. This allows the user to maintain the context of how a blog is categorised as they scroll without having to remember the last label as they scroll.

A two-column layout with a sticky label on the left and the blog posts associated with that label on the right

In what other places does persistent information on scroll show up?



Source link

Visited 1 times, 1 visit(s) today

Related Article

Scooter’s Coffee® Named a Top Coffee Franchise of 2024 by Entrepreneur Magazine

Nationwide Brand Celebrated for Rapid Growth, Strong Franchise Model, and Exceptional Customer Service OMAHA, Neb., Dec. 19, 2024 /PRNewswire/ — Scooter’s Coffee, is proud to announce its recognition as the No. 2 Top Coffee Franchise of 2024 by Entrepreneur Magazine. Known for its specialty coffee, fast drive-thru kiosks, and serving smiles, Scooter’s Coffee is only

Inaugural STLCoffeeFest Coming to St. Louis in FebruaryDaily Coffee News by Roast Magazine

Daily Coffee News Staff | December 18, 2024 Coffee enthusiasts and professionals in the St. Louis area are gearing up for the inaugural STLCoffeeFest, an independent, consumer-focused coffee event taking place Feb. 22, 2025, at 18 Rails at City Foundry STL. Founded by St. Louis-based entrepreneur Bonnie Mann and sponsored by St. Louis Magazine, the

Why this espresso machine is the ultimate gift for home baristas

Table of Contents Table of Contents Everything you need is in the box Appearance and design Brewing espresso Using the frothing features Buying a home espresso maker seems like a fairly straightforward task until you dive into shopping and find an overwhelming number of choices on the market. From single-serve varieties to deciding between automatic

Advent of Patterns: Timelines | James’ Coffee Blog

This article is the eighteenth edition of the Advent of Patterns series. In this series, running from December 1st to December 24th 2024, I will document one design or programming pattern I have noticed recently. Read more about this series. Timelines let you scroll through the history of a document or piece of digital material.

Black Rock Coffee Bar Expands Presence in Phoenix Metro Area with Two New Locations

New stores in Tolleson and Mesa bring Black Rock Coffee Bar’s total locations to 41 in the metro area and 51 statewide Black Rock Coffee Bar Get Cozy with Black Rock Coffee Bar’s Winter Drinks Scottsdale, Arizona, Dec. 17, 2024 (GLOBE NEWSWIRE) — Black Rock Coffee Bar is continuing its rapid growth in Arizona with the

Drink in Focus: Irish coffee at The Diplomat

No cocktail is as proficient at providing cover for a daytime swig of whisky while scratching your caffeine itch as the humble Irish coffee. On paper, it’s a simple concoction. All it requires is for you to spike your afternoon coffee with a shot of Irish whisky – a recipe so simple that your cool

Advent of Patterns: Diffs | James’ Coffee Blog

This article is the seventeenth edition of the Advent of Patterns series. In this series, running from December 1st to December 24th 2024, I will document one design or programming pattern I have noticed recently. Read more about this series. A “diff” shows the difference between two states of a document. You can use a

0
Would love your thoughts, please comment.x
()
x