`
shenshuibomb
  • 浏览: 24481 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
收藏列表
标题 标签 来源
css 图片切割 css, 图片切割, css script http://www.blogjava.net/Good-Game/archive/2009/02/24/256468.html
<html>
<head>

<style type="text/css">

.box1 {
float:left;
width:21px;
height:21px;
position:relative;
background: #F3F2E2 url(http://mp3.youdao.com/images/mbox_bg.gif) no-repeat;
}
.box1 {
background-position: 0px -60px;
}


</style>

</head>

<body>

    <div class="box1" 
        onmouseover="this.style.backgroundPosition='0px -81px' " 
        onmouseout="this.style.backgroundPosition='0px -102px' "    
    >
    </div>

</body>

</html>
webwork 工程的jar包
下面是搭建webwork工程需要的最基本的jar包,少了其中的任何一个jar包,webwork工程也不能运行。
rife-continuations.jar
commons-logging.jar
velocity-dep.jar
freemarker.jar
javassist.jar
webwork.jar
oscore.jar
xwork.jar
ognl.jar
另外往webwork的工程中添加jar包时,是根据工程的需要而添加的,这个是工程创建者要自己考虑的问题。
js 去掉左右空格
<script language="javascript">  
  
String.prototype.trim = function()  
{  
    return this.replace(/(^\s*)|(\s*$)/g, "");  
}  
  
var str = " b ";  
//before trim  
alert(str.length);  
//after trim  
alert(str.trim().length);  
</script>   
Global site tag (gtag.js) - Google Analytics