菜鸟教程 tryfoundation_slider_iframe 在线代码实例

运行 保存 全屏 右侧展示 实时查看
主题:

 <div class="row">
  <div class="medium-12 columns">
    <div class="row">
      <div class="small-10 medium-11 columns">
        <div class="range-slider" data-slider="50" data-options="display_selector:#slider2;">
          <span class="range-slider-handle" role="slider" tabindex="0" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50"></span>
          <span class="range-slider-active-segment" style="width: 50%;"></span>
        </div>
      </div>
      <div class="small-2 medium-1 columns">
        <span id="slider2" style="display: block;margin-top: 14px;">50</span>
      </div>
    </div>
  </div>
</div>
<!-- 初始化 Foundation JS -->
<script>
$(document).ready(function() {
    $(document).foundation();
})
</script>