我下面基金會6文檔創建關帆布菜單:http://foundation.zurb.com/sites/docs/off-canvas.htmlFoundation 6 Off Canvas,我應該在哪裏放置菜單內容?
這裏是我做過什麼:
<body>
<div class="off-canvas-wrapper">
<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
<div class="off-canvas position-left" id="offCanvasLeft" data-off-canvas>
<ul class="vertical menu">
<li>test1</li>
<li>test2</li>
<li>test3</li>
<li>test4</li>
</ul>
</div>
<div class="off-canvas position-right" id="offCanvasRight" data-off-canvas
data-position="right"></div>
<div class="off-canvas-content" data-off-canvas-content>
<div class="title-bar">
<div class="title-bar-left">
<button class="menu-icon" type="button" data-toggle="offCanvasLeft"></button>
<span class="title-bar-title">Zurb</span>
</div>
<div class="title-bar-right">
<button class="menu-icon" type="button" data-toggle="offCanvasRight"></button>
</div>
</div>
</div>
</div>
</div>
</body>
但是當我打開菜單,這裏是我得到:
我可以滾動它並看到我的test1/2/3/4,但爲什麼我會得到這個結果呢?
我要的是一樣的東西,我們可以在基礎文檔時看到的「切換關畫布」點擊
難道我把我的表錯了地方? 我敢肯定我的框架是最新的,並且我一直都在文檔一步一步,但它不會給儘可能多的信息,我想有
沒錯,謝謝:) – Charrette