Look Ahead

Component ID

2698047

Component name

Look Ahead

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Ever wanted to show a preview of the page you'll get to when you hover over a navigation menu item? If not, we don't blame you. But if you run across that requirement, the Look Ahead module is here to help!

Simply define which menu(s) and which entity type(s) you want to enable Look Ahead functionality on, and a look_ahead view mode will be utilized to show a preview of the menu item you're hovering over.

This module supports loading Look Ahead items in the following manner:

  1. Directly rendered with the menu
  2. Lazy-loaded the first time a menu item is hovered over via AJAX
  3. Lazy-loaded in order as soon as the rest of the page loads

This module also supports caching all of the look-ahead output as static HTML files on the filesystem to avoid database bloat if we were to use standard caching, or the constant need to re-render if we weren't caching.

This module was created several a couple of years ago for internal use at Top Floor and is now being open sourced. It hasn't been used in a while and could use some maintenance.