From 2e84dba78ad08b8cd40515f99729583c2dedf336 Mon Sep 17 00:00:00 2001 From: Tieson Trowbridge Date: Fri, 26 Nov 2021 22:29:39 -0500 Subject: [PATCH] Update README.md Cleanup Markdown to work with Github's Markdown processor. --- README.md | 69 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 520dccb..9e54582 100644 --- a/README.md +++ b/README.md @@ -14,25 +14,25 @@ Just use the normal Bootstrap Nav-tab construction, adding the `horizontal-scrol It's also possible to add arrows for extra control, but touch events will work to scroll horizontally the tab. -````html -
-
-
- -
-
-
- - -
-
-
+```html +
+
+
+ +
+
+
+ +
-```` +
+
+
+``` ## Motivation @@ -41,30 +41,35 @@ Whilst developing a mobile commerce website there was the need for a product gal ## Installation Simply apply the stylesheet and the js to your project and import it on your HTMl as such: + On the header the StyleSheet -````html - -```` + +```html + +``` Before closing the body import and execute: -````html - - - - -```` + +```html + + + + +``` ## API Reference Currently, there is only one option, to initialize the horizontal tabs. As such: ### Initialize + Call it after the element was rendered. -`````javascript - $("#ID_OF_ELEMENT").horizontalTabs(); -```` + +```javascript +$("#ID_OF_ELEMENT").horizontalTabs(); +``` ## Contributors