【问题标题】:Orbit Deep Linking Foundation 6轨道深度链接基础 6
【发布时间】:2016-02-23 14:45:39
【问题描述】:

我想用按钮而不是子弹来改变轨道上的图像。它在 Foundation 5 中被称为“深度链接”。 这里是: http://foundation.zurb.com/sites/docs/v/5.5.3/components/orbit.html

我如何在 Foundation 6 中做同样的事情?

【问题讨论】:

标签: zurb-foundation zurb-foundation-5 zurb-foundation-6


【解决方案1】:

在您的 <ul class="orbit-container"> 中并作为幻灯片的兄弟 (<li class="orbit-slide">),放置按钮:

<button class="orbit-previous" aria-label="previous">
    <span class="show-for-sr">Previous Slide</span>
    &#9664;
</button>

<button class="orbit-next" aria-label="next">
    <span class="show-for-sr">Next Slide</span>
    &#9654;
</button>

这些按钮如Foundation 6 Orbit doc上所示

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多