From 8b4dddd1d7ab4a4d15df5e8139074830259827e1 Mon Sep 17 00:00:00 2001 From: Gianluca Guarini Date: Sun, 22 Jun 2014 21:32:57 +0200 Subject: [PATCH] readme update --- README.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index c2d2a6d..ded87d6 100755 --- a/README.md +++ b/README.md @@ -21,26 +21,24 @@ Read the plugin API on here http://gianlucaguarini.github.io/jQuery.BlackAndWhit 3 Initialize the plug in:
-
-    $('.bwWrapper').BlackAndWhite({
-        hoverEffect : true, // default true
-        // set the path to BnWWorker.js for a superfast implementation
-        webworkerPath : false,
-        // for the images with a fluid width and height
-        responsive:true,
-        // to invert the hover effect
-        invertHoverEffect: false,
-        // this option works only on the modern browsers ( on IE lower than 9 it remains always 1)
-        intensity:1,
-        speed: { //this property could also be just speed: value for both fadeIn and fadeOut
-            fadeIn: 200, // 200ms for fadeIn animations
-            fadeOut: 800 // 800ms for fadeOut animations
-        },
-        onImageReady:function(img) {
-        	// this callback gets executed anytime an image is converted
-        }
-    });
-
+$('.bwWrapper').BlackAndWhite({
+    hoverEffect : true, // default true
+    // set the path to BnWWorker.js for a superfast implementation
+    webworkerPath : false,
+    // for the images with a fluid width and height
+    responsive:true,
+    // to invert the hover effect
+    invertHoverEffect: false,
+    // this option works only on the modern browsers ( on IE lower than 9 it remains always 1)
+    intensity:1,
+    speed: { //this property could also be just speed: value for both fadeIn and fadeOut
+        fadeIn: 200, // 200ms for fadeIn animations
+        fadeOut: 800 // 800ms for fadeOut animations
+    },
+    onImageReady:function(img) {
+    	// this callback gets executed anytime an image is converted
+    }
+});
 
## IMPORTANT