<div style="padding:20px;"> <h2>组合数据选项</h2> <p>以下实例使用了 <code>display_selector</code> 和 <code>initial</code> 数据选项:</p> <span id="mySlider"></span> <div class="range-slider" data-slider="" data-options="display_selector: #mySlider; initial:20;"> <span class="range-slider-handle"></span> <span class="range-slider-active-segment"></span> </div> </div> <!-- 初始化 Foundation JS --> <script> $(document).ready(function() { $(document).foundation(); }) </script>