Download the PHP package rosgear/rg-wd-fancybox without Composer
On this page you can find all versions of the php package rosgear/rg-wd-fancybox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rosgear/rg-wd-fancybox
More information about rosgear/rg-wd-fancybox
Files in rosgear/rg-wd-fancybox
Package rg-wd-fancybox
Short Description Frontend widget "Fancybox" for the RosGear web application
License MIT
Homepage https://rosgear.ru/component/rg-wd-fancybox/
Informations about the package rg-wd-fancybox
English
Виджет «Лайтбокс Fancybox»
Виджет использует JavaScript‑библиотеку Fancybox (лайтбокс), предназначенную для удобного отображения контента поверх текущей веб‑страницы.
Что умеет Fancybox:
- показывать изображения в увеличенном виде (по клику на миниатюру);
- воспроизводить видео (в т. ч. с YouTube и Vimeo);
- встраивать контент через iframe (например, страницы других сайтов);
- отображать HTML‑элементы прямо на странице (скрытые блоки, формы и т. д.);
- загружать контент через AJAX без перезагрузки страницы;
- организовывать изображения в галереи со слайдером (с навигацией стрелками, автопрокруткой и т. п.).
Пример применения
с менеджером виджетов:
в шаблоне:
с namespace:
если namespace ранее не добавлен в PSR, необходимо выполнить:
Установка
Для добавления виджета в ваш проект, вы можете просто выполнить команду ниже:
или добавить в файл composer.json вашего проекта:
или скачать архив на странице виджета в каталоге приложений RosGear.
После добавления виджета в проект выполните его установку в редакцию веб‑приложения с помощью Панели управления GePanel.
Ресурсы
Widget «Fancybox lightbox»
The widget uses the Fancybox JavaScript library (lightbox), which is designed to conveniently display content on top of the current web page.
What Fancybox can do:
- display enlarged images (by clicking on the thumbnail);
- play videos (including from YouTube and Vimeo);
- embed content via iframe (e.g., pages from other websites);
- display HTML elements directly on the page (hidden blocks, forms, etc.);
- load content via AJAX without reloading the page;
- organize images into galleries with a slider (with arrow navigation, auto-scrolling, etc.).
Installation
To add the widget to your project, you can simply run the command below:
or add to your project's composer.json file:
or download the archive from the widget page in the RosGear application catalog.
After adding the widget to the project, install it into the web application edition using the GePanel Control Panel.