Javascript 用于左右导航的Revslider图像数据转换
在Revslider中,当我单击左导航箭头时,图像应来自左侧,当我单击右箭头时,图像应来自右侧 现在我对每幅图像都使用下面的数据转换Javascript 用于左右导航的Revslider图像数据转换,javascript,jquery,html,revolution-slider,Javascript,Jquery,Html,Revolution Slider,在Revslider中,当我单击左导航箭头时,图像应来自左侧,当我单击右箭头时,图像应来自右侧 现在我对每幅图像都使用下面的数据转换 data transition='parallaxtoright'图像来自右侧,即使我单击左箭头,图像也来自右侧 此处的Html代码: <div class="fullwidthbanner"> <li data-transition="parallaxtoright" data-slotamount="10" data-speed="100"
data transition='parallaxtoright'
图像来自右侧,即使我单击左箭头,图像也来自右侧
此处的Html代码:
<div class="fullwidthbanner">
<li data-transition="parallaxtoright" data-slotamount="10" data-speed="100" data-masterspeed="300">
<!-- THE MAIN IMAGE IN THE FIRST SLIDE -->
<img src="img/slideshow/1.jpg">
</li>
</div>
谢谢你我终于从 我对所有图像使用了
data transition='slidehorizontal'
它解决了我的问题:)
jQuery('#rev_slider_4').show().revolution({
dottedOverlay: 'none',
delay: 1500,
startwidth: 585,
startheight: 390,
hideThumbs: 200,
thumbWidth: 200,
thumbHeight: 50,
thumbAmount: 2,
navigationType: "bullet",
navigationArrows: "solo",
navigationStyle: "round",
touchenabled: 'on',
onHoverStop: 'on',
navigationHAlign: "center",
navigationVAlign: "bottom",
navigationHOffset: 0,
navigationVOffset: 20,
soloArrowLeftHalign: "left",
soloArrowLeftValign: "center",
soloArrowLeftHOffset: 20,
soloArrowLeftVOffset: 0,
soloArrowRightHalign: "right",
soloArrowRightValign: "center",
soloArrowRightHOffset: 20,
soloArrowRightVOffset: 0,
shadow: 0,
fullWidth: 'on',
fullScreen: 'off',
stopLoop: 'off',
stopAfterLoops: -1,
stopAtSlide: -1,
shuffle: 'on',
autoHeight: 'off',
forceFullWidth: 'on',
fullScreenAlignForce: 'off',
minFullScreenHeight: 0,
hideNavDelayOnMobile: 1500,
hideThumbsOnMobile: 'off',
hideBulletsOnMobile: 'off',
hideArrowsOnMobile: 'off',
hideThumbsUnderResolution: 0,
hideSliderAtLimit: 0,
hideCaptionAtLimit: 0,
hideAllCaptionAtLilmit: 0,
startWithSlide: 0,
fullScreenOffsetContainer: ''
});