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

Coffee Machine Market Projected To Witness Substantial Growth,

Coffee Machine Market According to the latest research from Coherent Market Insights, the Coffee Machine Market is projected to experience significant growth between 2024 and 2031. This market intelligence report offers in-depth analysis based on thorough research, highlighting current trends, financial performance, and historical data evaluation. The company profiles within the report are derived from

Advent of Patterns: Shareable links

This article is the twentieth 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 shareable link is a link to a web resource that you can share with

De’Longhi’s Sleek Espresso Machines Are Up to $300 Off

Encountering a big, beautiful espresso machine at someone’s house feels a lot like gazing upon the countertop equivalent of a vintage Bentley, or observing the mechanics of an expensive watch. There’s that covetable air of functional sophistication; the nonchalant cool that comes with a device that showers you with at-home cappuccinos at the pull of

Reusable cup program to launch at two Columbus-area coffee shops in new year

Two Columbus-area coffee shops will begin offering a reusable cup program in the new year. Customers will be able to take a reusable cup to go, then bring it back later. They’ll get their next drink in another reusable cup while the shop washes the first one, and so on. During a news event at

Romania’s Turabo unveils new €1m coffee production facility in Bucharest

The site will enable Turabo to produce 100 million Nespresso-compatible capsules and one million kilograms of roasted coffee annually as it seeks horeca partnership growth in 2025 Turabo is launching a specialty coffee line featuring single origin coffees from Brazil, Colombia, Nicaragua, Guatemala, Ethiopia and Tanzania | Photo credit: Turabo   Romanian coffee roaster Turabo has opened

These Binghamton-area coffee shops recently opened: What to know

Who doesn’t love a good cup of coffee and a sweet treat to go along with it? Espresso shots, lattes, cappuccinos, a simple cup of Joe – the options are endless and delicious. The Binghamton area has some wonderful and unique cafés, many which recently opened, with their own way of serving up the classics

Sheetz locations offer free coffee from Christmas to New Year’s

People in need of a caffeine fix next week can head to Sheetz, who plans to offer free cups of Joe to celebrate the holiday season. The convenience store chain will offer customers one free self-serve coffee at over 750 Sheetz locations across Pennsylvania, Maryland, Virginia, West Virginia, North Carolina, Ohio and Michigan. The “gift

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

Making images bigger on my website

Many of my Advent of Patterns blog posts contain visuals that accompany the text. This is different from much of my previous writing which was text-focused; technical guides, poetry, musings. When looking through my posts, I noticed that some of the details of the images were hard to grasp because they were too small. I

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

Advent of Patterns: Change overview

This article is the sixteenth 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. I was recently working with a web page developed in Webflow. The page was on

Coffee truck stirs a downtown controversy

A video promoting this coffee truck has some social media users finding fault with the Downtown Smithfield Development Corp. Screen capture SMITHFIELD — A food truck selling only coffee from a parking lot downtown created a firestorm on Facebook. The dust-up began with a video post from downtown director Heidi Gilmond, who invited viewers to

New coffee shop pitched for former Citizens Bank in Hampton Falls

HAMPTON FALLS — A Seacoast company hopes to turn the vacant Citizens Bank building on Lafayette Road into a local coffee shop with a drive-thru. According to the application to the town’s Zoning Board of Adjustment, Alexander Choquette of Blue Sky Property LLC, and his development team propose to open an independent coffee shop named

Specialty Studio Ghibli Coffee is Available Online

Summary Studio Ghibli coffee beans are now available online for purchase if you act quickly. The exclusive Straw Hat coffee blend, previously only at the Ghibli Museum’s café, is now easier to get online. Sold in 200g packs for 1,500 yen, the popular coffee beans are resealable and require grinding at home. There are two

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