`
文章列表
// JavaScript Document /* 验证汉字 */ function isHanZi(str){ var reg=/^[\u0391-\uFFE5]+$/; return reg.test(str) } /* 验证整数 */ function isInteger(str){ var reg=/^\d+$/; return reg.test(str) } /* 验证数字 */ function isNum(str){ var reg=/^[-\+]?\d+$/; r ...
效果图:  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312&q ...
JS仿淘宝网顶部的导航菜单-导航菜单类
### 指定加载struts2配置文件管理器,默认为org.apache.struts2.config.DefaultConfiguration   ### 开发者可以自定义配置文件管理器,该类要实现Configuration接口,可以自动加载struts2配置文件。   # struts.configuration=org.apache.struts2.con ...
从web.xml中获取我们需要的参数【转载】 1、在web.xml中设置如下: <context-param> <param-name>pageSize</param-name> <param-value>4</param-value> </context-param> 2、在jsp页面中将web.xml中的参数pageSize的值读出 int pageSize = Integer.parseInt(this.getServletContext().getInitParam ...
非常好的tab栏目切换效果 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" conte ...
纯Css 背景色透明,内容不透明之方法 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" conten ...

jBreadCrumb插件

    效果图:   download: http://www.comparenetworks.com/developers/jqueryplugins/jbreadcrumb.html
参数:        deValue:文本框内默认值        textCls  :文本框默认样式名        listCls    :邮箱列表样式名        mailArr : 可供选择的邮箱类型 效果图:  
网站首页的焦点图JQuery实现插件 效果图:

图片放大镜

图片放大镜  效果如下:

放大镜

  该插件在IE8及版本更低的IE浏览器中有些问题,圆形的放大区域会变成方形,并且移动时,不是很顺畅。焦点移出图片时,放大区域并不能隐藏
总结下css的一些hack【转载】   color:red; /* 所有浏览器都支持 */ color:red !important;/* 除IE6外 */ _color:red; /* IE6支持 */ *color:red; /* IE6、IE7支持 */ +color:red;/*IE7支持*/ *+color:red; /* IE7支持 */ color:red\9; /* IE6、IE7、IE8、IE9支持 */ color:red\0; /* IE8、IE9支持 */ color:red\9\0;/*IE9支持*/ /* webkit and opera ...
  package common; public class Multiplcation { /** * 实现一个简单的乘法表 */ public static void main(String[] args) { for(int i=1;i<=9;i++) { for(int j=1;j<=i;j++) { System.out.print(j+"*"+i+"="+i*j+" &quo ...
Global site tag (gtag.js) - Google Analytics