這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Headroom.js

外掛說明

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.

安裝方式

  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 !

常見問題集

Do you support other languages than English?

We are working on that :).

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈Headroom.js〉的開發相關工作。

參與者

將 Headroom.js 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1 (May 2014)

  • First version of the plugin