Files
doc/static/alist-histb-com/supersized-init.js
2025-01-08 04:10:40 +08:00

32 lines
1.7 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
jQuery(function($){
$.supersized({
// 功能
slide_interval : 4000, // 转换之间的长度
transition : 1, // 0 - 无1 - 淡入淡出2 - 滑动顶3 - 滑动向右4 - 滑底5 - 滑块向左6 - 旋转木马右键7 - 左旋转木马
transition_speed : 5000, // 转型速度
performance : 1, // 0 - 正常1 - 混合速度/质量2 - 更优的图像质量,三优的转换速度//(仅适用于火狐/ IE浏览器而不是Webkit的
// 大小和位置
min_width : 0, // 最小允许宽度(以像素为单位)
min_height : 0, // 最小允许高度(以像素为单位)
vertical_center : 1, // 垂直居中背景
horizontal_center : 1, // 水平中心的背景
fit_always : 0, // 图像绝不会超过浏览器的宽度或高度(忽略分钟。尺寸)
fit_portrait : 1, // 纵向图像将不超过浏览器高度
fit_landscape : 0, // 景观的图像将不超过宽度的浏览器
// 组件
slide_links : 'blank', // 个别环节为每张幻灯片(选项:假的,'民''名''空'
slides : [ // 幻灯片影像
{image : 'https://www.ecoo.top/alist-histb-com/1.jpg'},
{image : 'https://www.ecoo.top/alist-histb-com/2.jpg'},
{image : 'https://www.ecoo.top/alist-histb-com/3.jpg'},
{image : 'https://www.ecoo.top/alist-histb-com/4.jpg'}
]
});
});