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

Sticky on Scroll

外掛說明

The Sticky on Scroll plugin for wordpress allows to make any element sticky as soon as the element hits the top of the page. It is commonly used to keep navigation menus at the top of page.

You might have to add little bit of HTML/CSS to work this plugin perfectly for other elements except navigation menu. Make sure you do not select too large elements as sticky.

Always try to add a unique element class/ID for the element you want to set as sticky. For multiple elements you can use class for best results.

For multiple elements you can easily add element ID or classes separated by comma (For eg. #section1, #section2, .header). You can also use any HTML elements as sticky. However adding using ID/class is preferable.

螢幕擷圖

  • Sticky on scoll form
  • Twenty Sixteen sticky menu
  • Twenty Sixteen Settings

安裝方式

  1. Upload sticky-on-scroll to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Done!

常見問題集

Installation Instructions
  1. Upload sticky-on-scroll to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Done!
How can I set elements that I want to set sticky?

You can go to settings->Sticky on Scroll. You will see two options there. You can add all elements comma separated in Sticky Element text box.

What is `Minimum screen size to set elements sticky.` field used for?

It is used to disable elements to stick at top at certain screen size. It can be used in small devices as scroll is not required in small devices. But you can use it as per your need.

Once the element becomes sticky, it is not positioned properly.

There are some situations when this can happen, if your theme assigns absolute positioning on the element. You have to adjust your css accordingly if this happens.

Is it possible to have multiple sticky elements?

Yes, you can add multiple elements separated by comma in settings->Sticky on Scroll textbox.

使用者評論

2018 年 6 月 17 日
I've been looking high and low for a plugin that would allow a sticky element on the left and a scrolling element on the right. Many of them out there, but none that would allow multiple instances throughout one page. And then I come across this unreviewed (until now!) plugin that hasn't been updated in 9 months. Works great! Thanks for this plugin and I hope you support/update it.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Sticky on Scroll〉的開發相關工作。

參與者

將〈Sticky on Scroll〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

Initial release.

1.0.1

Alert bug fixed.