From 0a25bea5188e4e6b95622322c484507ab49c8825 Mon Sep 17 00:00:00 2001 From: aint here Date: Mon, 26 May 2014 16:12:32 -0700 Subject: [PATCH] doc pages offcanvas toggle anchor requires href Updated offcanvas examples to include href attribute on toggle anchors. The offcanvas toggle anchors require an href attribute to work properly on iphones as discussed here http://foundation.zurb.com/forum/posts/1651-cant-get-off-canvas-to-toggle-on-mobile --- doc/pages/components/offcanvas.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/pages/components/offcanvas.html b/doc/pages/components/offcanvas.html index 40016a2645..1e55aefd41 100644 --- a/doc/pages/components/offcanvas.html +++ b/doc/pages/components/offcanvas.html @@ -63,15 +63,15 @@

HTML

### Target Off-Canvas Menu -To target an off-canvas menu, add `.left-off-canvas-toggle` or `.right-off-canvas-toggle` to your layout. Clicking on these will activate their corresponding menu. +To target an off-canvas menu, add `.left-off-canvas-toggle` or `.right-off-canvas-toggle` to your layout. Clicking on these will activate their corresponding menu. These anchor elements require the `href` attribute to work on iphones.

HTML

```html -Left Menu +Left Menu -Right Menu +Right Menu @@ -132,7 +132,7 @@

HTML

To add the nice hamburger icon that everyone knows and loves, add a class of `.menu-icon` to your menu target, and nest a `span` inside of it. ```html - + ``` Now put it all together... @@ -142,10 +142,10 @@

HTML

```html ``` @@ -171,13 +171,13 @@

HTML

```html ``` @@ -206,19 +206,19 @@

HTML