联系我们
简单又实用的WordPress网站制作教学
当前位置:网站首页 > 网页前端技术 > 正文

jquery photoFrame 图片边框美化显示插件 - Web前端

作者:98wpeu发布时间:2026-07-28分类:网页前端技术浏览:2


导读:三种样式都是用photoframe实现的,我会继续丰富其样式,目标是拿来即用,简化页面代码。使用:复制代码代码如下:<linktype="text/CSS"rel="S...
三种样式都是用photoframe实现的,我会继续丰富其样式,目标是拿来即用,简化页面代码。
使用:
复制代码 代码如下:
<linktype="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

标签:边框插件图片WebphotoFramejquery


网页前端技术排行
最近发表
网站分类
标签列表