jQuery shadow plugin

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);

Written by on 7 月 13,2008 in: |

1 則留言 »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com