jquery photoFrame 图片边框美化显示插件
使用:
<link type="text/css" rel="stylesheet" href="stamp/style.css" />
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery.photoFrame.js"></script>
<script type="text/javascript">
$(function(){
$(".target1").photoFrame();
});
</script>
<div class="target1">
<img src="images/1.jpg" />
</div>
参数
direction : top, bottom, left, right, topLeft, topRight, bottomLeft, bottomRight
目标:
/阴影效果
/顶部banner效果
/邮票效果
毛边相框效果
云朵包围效果
问题(未解决):
上下左右四个图片拉伸效果如何实现?
image解决方案:内置image并设置其width和height
ie解决方案: filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/counter_bg.jpg', sizingMethod='scale'
css3解决方案: ?
在线演示地址http://demo.jb51.net/js/jquery.photoFrame/shadow.html
打包下载地址http://www.jb51.net/jiaoben/28010.html
您可能感兴趣的文章:
jquery photoFrame 图片边框美化显示插件
jQuery图片预览插件 imgPreview
将复、单选框转为图片的jQuery插件 imageTick
jQuery图片显示插件 PrettyPhoto
40个有创意的jQuery图片和内容滑动及弹出插件收藏集之二
40个有创意的jQuery图片、内容滑动及弹出插件收藏集之一
jQuery Litebox
jQuery图片显示插件 PictureSlides
40个有创意的jQuery图片和内容滑动及弹出插件收藏集之三
2013年优秀jQuery插件整理小结