- 博客(8)
- 资源 (15)
- 收藏
- 关注
原创 仿windows选项卡
Test-->function tabit(id,cid) {tabwoman.className="taboff";tabman.className="taboff";tabsport.className="taboff";tableisure.className="taboff";tabshoes.className="taboff";tabdecor.className="taboff";i
2009-07-20 09:47:00 655
原创 让li里的标签右对齐
.test{margin:0;padding-left:0px;border:2px solid #cccccc;width:500px;line-height:1.5em;font-size:12px;}.test ul{margin-left:0px;list-style:none;padding:0;border:0;margin:10px 0 10px 10px;}.test li{/*f
2009-07-20 09:28:00 11713
转载 setAttribute()的使用方法与ie不兼容onclick事件解决方法
1.element要用getElementById or ByTagName来得到,2.setAttribute("class", vName)中class是指改变"class"这个属性,所以要带引号。3.IE中要把class改成className,.....IE不认class,所以最好写两句,都用上吧。W3C DOM - {setAttribute()}setAttribute(string n
2009-07-17 13:27:00 5965
原创 时间戳
为了防止访问的验证码页面是缓存的页面,我们加一个时间戳,很简单的代码:url= "/xycentre/portlets/agrosafe/jsp/check.jsp?codes="+codes+"&date="+new Date();
2009-07-15 17:09:00 544
原创 ajax 传参问题
我想ajax请求action,然后传个id给它。代码这样写的:function getSubTree(id){ var submitURL=portlet:param name="id" value="+id+"/>portlet:actionURL>; postXmlHttp( submitURL, parseSubStaple("+id+") ,load(
2009-07-15 17:02:00 3336
原创 求助: 用list配置双向一对多的关系, list-index 在数据库里是Null
OtmsStaple表,为一方。 "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> OtmsClazz表,为多方。 "-//Hibernat
2009-07-10 11:56:00 5227 1
原创 一段可以使页面的图片飞起来的神奇javascript
JavaScript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[i].style; DIS.position=absol
2009-07-03 10:00:00 884
TheSwiftProgrammingLanguage(Swift4)
2017-09-17
TCP.IP.Sockets.in.Java.2nd.Edition.pdf (TCP/IP Socket 编程)
2014-06-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人