Problem/Motivation

Currently progress indicator markup is hardcode. It will be nice to have the markup to be customizable and entered while configuring the style plugin
<div id="views_infinite_scroll-ajax-loader"><img src="' + img_path + '" alt="loading..."/></div>
Also there are use cases when Drupal behaviors need not run on page scroll. It will be nice to have an option to enable/disable it while configuring the style plugin.
Drupal.attachBehaviors(this);

Proposed resolution

Add configuration form in style settings to customize progress indicator markup and conrol Drupal.attachBehaviors

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TechNikh’s picture

Attaching the patch for tag 7.x-1.1
This patch adds configuration form for customizing progress indicator markup, Drupal behaviors and also addresses Accessibility.
screenshot of pager settings form

Honza Pobořil’s picture

Status: Active » Closed (outdated)