jQuery.shadow ver 0.2beta
fit on IE6,7 and Firefox
Download
(Demo)
You must add these in html header
<link rel="stylesheet" href="shadow_style.css" type="text/css" />
<script type="text/javascript" src="jquery.pack.js"></script>
<script type="text/javascript" src="jquery.shadow.js"></script>
and put png images in the same folder with .css file
here are some optionsOptions:
alignY: "middle", "top", "bottom"
alignX: "left", "center", "right"
width: number
height: number
Example:
use default settings
$(".pic").shadow();
or use options
var opt = {
width: 100,
height: 150,
alignX: "center"
};
$(".pic").shadow(opt);