承接 hypejunction/elgg_lightbox 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hypejunction/elgg_lightbox

最新稳定版本:3.0.0

Composer 安装命令:

composer require hypejunction/elgg_lightbox

包简介

Enhanced lightbox for Elgg

README 文档

README

Elgg 7.x

Lightbox component for Elgg

Features

  • Converts lightbox to AMD module
  • Custom imageless theme

Lightbox

Usage

As an AMD module:

define(function(require) {
	var lightbox = require('elgg/lightbox');
	var spinner = require('elgg/spinner');
	
	lightbox.open({
		html: '<p>You are welcome</p>',
		onClosed: function() {
			lightbox.open({
				onLoad: spinner.start,
				onComplete: spinner.stop,
				photo: true,
				href: 'https://www.petfinder.com/wp-content/uploads/2012/11/122163343-conditioning-dog-loud-noises-632x475.jpg',
			});
		}
	});
});

You can also add .elgg-lightbox or .elgg-lightbox-photo class to your HTML elements (with a href or src) attribute. Additional parameters can be passed with data-colorbox-opts as a json_encoded object.

Note that for the rel options to take effect, you will need to call a colorbox on a selector, e.g.

require(['elgg/lightbox'], function() {
	$('.elgg-lightbox-photo').colorbox({photo: true});
});

Notes

  • This drop elgg.ui.lightbox namespace. Use AMD module instead.

Compatibility

Plugin version Elgg version
7.0.0 7.x
6.0.0 6.x
5.0.0 5.x
4.0.0 4.x
3.0.0 3.x

统计信息

  • 总下载量: 111
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2015-10-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固