Shows some of the things curl.js does.
First Image with class = "curl invert", others with class = "curl isizeN" (different sizes)...

If you want flexibility, use "cvi_curl_lib.js" instead of "curl.js". You can make your curls respond to user actions (e.g. changing the curl size when the image is hovered over).
Download curl.js and include it into your webpage.
<script type="text/javascript" src="curl.js"></script>
To get the page curl effect just add a class="curl" to the image (minimum dimension: 64x64).
If you want flexibility, use "cvi_curl_lib.js" instead of "curl.js". You can make your curls respond to user actions (e.g. changing the curl size when the image is hovered over).
cvi_curl.add(image, options);cvi_curl.add(document.getElementById("myimg"), { shadow: 75, color: 0 });
cvi_curl.modify(document.getElementById("myimg"), { size: 50 });
cvi_curl.modify(image, options);cvi_curl.remove(image);
cvi_curl.defaultSize = size;
cvi_curl.defaultShadow = shadow;
cvi_curl.defaultColor = color;
cvi_curl.defaultInvert = boolean;
Changes the default size and shadow and color and invert. The default value for size is 33 and for shadow 66. The default value for color is 0. The default value for invert is false.
In older browsers, the script degrades and your visitors won't notice a thing.
Please read the License before you download curl.js 1.2
Please read the Frequently Asked Questions before you contact the author.
Version 1.2
Please leave any comments at this contact formular.
curl.js and cvi_curl_lib.js are distributed under the Netzgestade Non-commercial Software License Agreement.
License permits free of charge use on non-commercial and private web sites only under special conditions (as described in the license).
This license equals neither "open source" nor "public domain".
There are also Commercial Software Licenses available.