HLW/wp-content/plugins/revslider/public/assets/js/source/jquery.themepunch.revolution.js
(开头部分) 81KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**************************************************************************
* jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider
* @version: 5.0.9 (21.09.2015)
* @requires jQuery v1.7 or later (tested on 1.9)
* @author ThemePunch
**************************************************************************/
(function(jQuery,undefined){
"use strict";
jQuery.fn.extend({
revolution: function(options) {
// SET DEFAULT VALUES OF ITEM //
var defaults = {
delay:9000,
responsiveLevels:4064, // Single or Arrac for Responsive Levels i.e.: 4064 or i.e. [2048, 1024, 768, 480]
gridwidth:960, // Single or Array i.e. 960 or [960, 840,760,460]
gridheight:500, // Single or Array i.e. 500 or [500, 450,400,350]
minHeight:0,
autoHeight:"off",
sliderType : "standard", // standard, carousel, hero
sliderLayout : "auto", // auto, fullwidth, fullscreen
fullScreenAutoWidth:"off", // Turns the FullScreen Slider to be a FullHeight but auto Width Slider
fullScreenAlignForce:"off",
fullScreenOffsetContainer:"", // Size for FullScreen Slider minimising Calculated on the Container sizes
fullScreenOffset:"0", // Size for FullScreen Slider minimising
hideCaptionAtLimit:0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser)
hideAllCaptionAtLimit:0, // Hide all The Captions if Width of Browser is less then this value
hideSliderAtLimit:0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value
disableProgressBar:"off", // Hides Progress Bar if is set to "on"
stopAtSlide:-1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case.
stopAfterLoops:-1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic
shadow:0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows (No Shadow in Fullwidth Version !)
dottedOverlay:"none", //twoxtwo, threexthree, twoxtwowhite, threexthreewhite
startDelay:0, // Delay before the first Animation starts.
lazyType : "smart", //full, smart, single
spinner:"spinner0",
shuffle:"off", // Random Order of Slides,
viewPort:{
enable:false, // if enabled, slider wait with start or wait at first slide.
outof:"wait", // wait,pause
visible_area:"60%"
},
fallbacks:{
isJoomla:false,
panZoomDisableOnMobile:"off",
simplifyAll:"on",
nextSlideOnWindowFocus:"off",
disableFocusListener:true
},
parallax : {
type : "off", // off, mouse, scroll, mouse+scroll
后面还有 2435 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
