Skip to content
๐Ÿ›’ 0 ON AIR

[ features ] / media

Exclude elements pro

Keep any element untouched during navigation by CSS selector, for widgets whose markup you cannot edit.

  1. Start the listener counter widget below.
  2. Navigate away and back.
  3. It keeps its state because .afm-keep is in Advanced โ†’ Exclude Elements.

Some widgets come from plugins or embeds you cannot edit, so you cannot add a data attribute. Put a CSS selector in AjaxPress โ†’ Advanced โ†’ Exclude Elements instead, and AjaxPress leaves that element untouched while it navigates.

0 listeners counted this visit

โœ“ .afm-keep is in Advanced โ†’ Exclude Elements, so this widget survives navigation.

Selectors can be ids (#chat), classes (.afm-keep) or tags (audio), separated by commas.

[ ajaxpress updates ]

Like this demo? Get AjaxPress for less

Subscribe for AjaxPress release news, tips and subscriber-only offers, starting with an exclusive discount on AjaxPress Pro. Unsubscribe anytime.

LIVE ArrayFM · 101.0 FM
ArrayFM 432 ยท calm healing ambience
0:00