From 149bd3445e99e17c6dfc6ab1821eb2080680642b Mon Sep 17 00:00:00 2001 From: ulrobin Date: Mon, 30 Nov 2015 23:21:33 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 18e9ce3..5cdb27a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ that should apply the given color scheme. The extended functionality applies som (-100, -90, -80, -70, -60, -50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100) at the end of the class. ## Dependences: -The js-code represents only a tiny plugin to jQuery, so you have to include jQuery before loading/executing this script. +The code represents only a tiny plugin to jQuery, so you have to include jQuery first and then load/execute this script. ## Installation: The script only has to be included anywhere in the page. Then it automatically adds all the necessary elements and stylesheets, @@ -17,12 +17,12 @@ that are automatically generated out of the given "colors" object. ## Options / Customization: The script contains was made to be easy to use. As a result, you can only customize three options. -### JS - "colors"-object +### JS - "colors" - Data type: object This object defines the choosable colors. These colors are automatically applied to the page and will get listed in the color- changer are by default. The "default" property sets the standard style, when the page is loaded. -### JS - "color_tiles_per_row" - int +### JS - "color_tiles_per_row" - Data type: int This variable defines, how many color tiles are in one row of the color-changer element. -### JS - "colorChangerOldColor" - String +### JS - "colorChangerOldColor" - Data type: String With this variable you can define another standard color class, the script should look for, if the color is changed. For exaple if this variable is "grey", then you have to add "dclgrey" or "dbggrey" as classes to your elements to active the script and the color-change-functionality for these elements. For default the value is "", so you can just use "dcl" and "dbg" as classes.