一、为图片添加水印
<%
Dim Jpeg ''''//声明变量
Set Jpeg = Server.CreateObject("Persits.Jpeg") ''''//调用组件
Jpeg.Open Server.MapPath("aaa.JPG") ''''//源图片位置
Jpeg.Canvas.Font.Color = &H000000 ''''//水印字体颜色
...
<style type="text/css">
#play img {border:0px}
#play {width:1013px;height:78px;overflow:hidden;margin: 0 auto; border: 0px solid #fff; padding:0px;}
#play_bg {position:absolute;background-color:#000;margin-top:0px;height:78px;width:1013px;filter: Alpha(Opacity=30);opacity:0.3;z-index:1000}
...
摸索了好久,今天在网上看到了这个案例,实现图片加载时,显示加载图标等图片完全下载到本地缓存,再全部显示出来。其它话不多说了,直接贴出来,供大家学习使用了。感谢jquery的支持。
用js实现页面无刷新更新数据,以下是一个“检测会员帐号是否存在”案例,供学习交流。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
写一个js脚本
<SCRIPT language=javascript type=text/javascript>
function resetBtn(fm){
...