Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Headroom.js

Beskrivning

Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user’s scroll. The header slides out of view when scrolling down and slides back in when scrolling up. This improves usability of websites that have longer articles. Headroom.js widget code is coded by Nick Williams (http://wicky.nillia.ms/headroom.js).

Why use it?

Fixed headers are a popular approach for keeping the primary navigation in close proximity to the user. This can reduce the effort required for a user to quickly navigate a site, but they are not without problems…

Large screens are usually landscape-oriented, meaning less vertical than horizontal space. A fixed header can therefore occupy a significant portion of the content area. Small screens are typically used in a portrait orientation. Whilst this results in more vertical space, because of the overall height of the screen a meaningfully-sized header can still be quite imposing.

Headroom.js allows you to bring elements into view when appropriate, and give focus to your content the rest of the time.

WordPress Plugin is developed by Online Boswachters

Online Boswachters is a Dutch online marketing agency at its core with a lot of development knowledge. We use that knowledge on a lot of WordPress sites as well. Visit http://onlineboswachters.nl to see our portfolio of WordPress sites we manage and developed as well.

Installation

  1. Upload headroom folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Visit the Settings page of this plugin. You find it under Tools.

You can also do it from within WordPress. There is an ’Add New’ button on the Plugins WP Admin page. It saves you the download :).

! If you don’t see the Add new plugin button on the Plugins page in your WP Admin there is a setting inside wp-config that prevents it !

Vanliga frågor

Do you support other languages than English?

We are working on that :).

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Headroom.js” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Headroom.js” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.1 (May 2014)

  • First version of the plugin