From: Phill Date: Thu, 25 Feb 2016 07:50:41 +0000 (+0000) Subject: Update off-canvas.md X-Git-Tag: v6.2.1~40^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c60303c69fde35fa0a5769c148d4e40266b84faf;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update off-canvas.md --- 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.