JSSOR 导航箭头不起作用
JSSOR Navigation Arrows Not Working
我的滑块出于某种原因无法正常工作,我无法弄清楚。这是代码:
<div id="slider1_container">
<!-- Slides Container -->
<div u="slides" style="cursor: move; position: relative; overflow: hidden; left: 0px; top: 0px; width: 700px; height: 400px;">
<div><img u="image" src="@appRoot/images/Slider/camp1.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp2.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp3.jpg" /></div>
</div>
<!-- Arrow Navigator Skin Begin -->
<!-- Arrow Navigator Skin End -->
</div>
<!-- Arrow Left -->
<span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 135px;">
</span>
<!-- Arrow Right -->
<span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 910px;">
</span>
<!-- Arrow Navigator Skin End -->
请将 2 个箭头放在 'slider1_container' 内。
<div id="slider1_container">
<!-- Slides Container -->
<div u="slides" style="cursor: move; position: relative; overflow: hidden; left: 0px; top: 0px; width: 700px; height: 400px;">
<div><img u="image" src="@appRoot/images/Slider/camp1.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp2.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp3.jpg" /></div>
</div>
<!-- Arrow Navigator Skin Begin -->
<!-- Arrow Left -->
<span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 135px;"></span>
<!-- Arrow Right -->
<span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 910px;"></span>
<!-- Arrow Navigator Skin End -->
</div>
<script>
jQuery(document).ready(function ($) {
var options = {
$ArrowNavigatorOptions: {
$Class: $JssorArrowNavigator$,
$ChanceToShow: 2
}
};
var jssor_slider1 = new $JssorSlider$('slider1_container', options);
});
</script>
我的滑块出于某种原因无法正常工作,我无法弄清楚。这是代码:
<div id="slider1_container">
<!-- Slides Container -->
<div u="slides" style="cursor: move; position: relative; overflow: hidden; left: 0px; top: 0px; width: 700px; height: 400px;">
<div><img u="image" src="@appRoot/images/Slider/camp1.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp2.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp3.jpg" /></div>
</div>
<!-- Arrow Navigator Skin Begin -->
<!-- Arrow Navigator Skin End -->
</div>
<!-- Arrow Left -->
<span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 135px;">
</span>
<!-- Arrow Right -->
<span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 910px;">
</span>
<!-- Arrow Navigator Skin End -->
请将 2 个箭头放在 'slider1_container' 内。
<div id="slider1_container">
<!-- Slides Container -->
<div u="slides" style="cursor: move; position: relative; overflow: hidden; left: 0px; top: 0px; width: 700px; height: 400px;">
<div><img u="image" src="@appRoot/images/Slider/camp1.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp2.jpg" /></div>
<div><img u="image" src="@appRoot/images/Slider/camp3.jpg" /></div>
</div>
<!-- Arrow Navigator Skin Begin -->
<!-- Arrow Left -->
<span u="arrowleft" class="jssora03l" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 135px;"></span>
<!-- Arrow Right -->
<span u="arrowright" class="jssora03r" style="width: 55px; height: 55px; top: 500px; float:left; margin-left: 910px;"></span>
<!-- Arrow Navigator Skin End -->
</div>
<script>
jQuery(document).ready(function ($) {
var options = {
$ArrowNavigatorOptions: {
$Class: $JssorArrowNavigator$,
$ChanceToShow: 2
}
};
var jssor_slider1 = new $JssorSlider$('slider1_container', options);
});
</script>