Linux 软件免费装

Spinnaker Dialog Lightboxes

开发者 seamonsterdeneb
更新时间 2026年3月24日 06:31
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

image lightbox pdf popup accessible

下载

1.0 1.1.0

详情介绍:

A spinnaker is a special type of sail that is flown in front of the main sails. It's packed away when not in use, but when the wind is right, it can be unfurled to provide a powerful boost. This plugin is named Spinnaker because it allows you to keep your images and PDFs neatly tucked away, ready to be "unfurled" into a beautiful, accessible lightbox when your users need them. Spinnaker is a lightweight, modern, and highly accessible plugin that turns any image or PDF link into a fully-featured dialog lightbox. It's built with accessibility as a priority, ensuring a seamless experience for users with keyboards and screen readers. Image Lightbox Features: PDF Lightbox Features:

安装:

  1. Upload the spinnaker-dialog-lightboxes.zip in your Wordpress plugins dashboard.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Settings > Spinnaker Lightbox to configure options and view stats.

屏幕截图:

  • An example of the Image Lightbox unfurled, showcasing the download and close buttons.
  • An example of the PDF Lightbox displaying a document within the embedded viewer, showing easy dismiss options: close button, or clicking off the lightbox.
  • How to add a PDF trigger class using the Gutenberg editor's "Advanced" panel.
  • The Settings page where you can view view/download statistics and configure plugin options.

常见问题:

Does this plugin require shortcodes?

No. Spinnaker works by adding CSS classes and optional data attributes directly to your images and links, making it fast and easy to use.

Can I customize the appearance?

Yes. You can modify the background and text color of the download and close buttons (white text on black background by default) by setting your colors in your site's styles with selectors of 'dialog>.spinnaker-close-button' and 'dialog>.spinnaker-download-button'. If your light brand color has good contrast against black, like light blue (#91ccef) for example, you could set these styles in the customizer: dialog>.spinnaker-close-button, dialog>.spinnaker-download-button{ color: #91ccef } dialog>.spinnaker-close-button:hover, dialog>.spinnaker-download-button:hover{ background: #91ccef; }

Is it accessible?

Yes. Accessibility is a core feature. Spinnaker uses a native HTML <dialog> element, manages focus correctly, and provides screen reader-only text to ensure a great experience for all users.

更新日志:

1.0