From c60303c69fde35fa0a5769c148d4e40266b84faf Mon Sep 17 00:00:00 2001 From: Phill Date: Thu, 25 Feb 2016 07:50:41 +0000 Subject: [PATCH] Update off-canvas.md --- docs/pages/off-canvas.md | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docs/pages/off-canvas.md b/docs/pages/off-canvas.md index 920bd2477..9eac14f5c 100644 --- a/docs/pages/off-canvas.md +++ b/docs/pages/off-canvas.md @@ -41,6 +41,50 @@ Along with the menu, the main content of your page will be housed in its own con ``` +### Working Example for Foundation 6.x +```html + +
+
+
+ + + + + + + +
+
+ + + +
+
+
+ +``` + +```javascript + +``` + ### Click Triggers To create a click trigger that opens the menu, add the attribute `data-open` or `data-toggle` to any element. That element will then open or toggle the menu when clicked on. The value of the data attribute should be the ID of the off-canvas. -- 2.47.2