- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Myeclipse在*.java编写时没有提示
window->Preferences->keys->在Scheme中找到Word Completion把Binding改为Ctrl+Alt+/和Content Assist的Binding改为Alt+/即可
2012-07-28 10:14:47 376
转载 得到浏览器的可见宽和高
s = " 网页可见区域宽:" document.body.clientWidth;s = " 网页可见区域高:" document.body.clientHeight;s = " 网页可见区域宽:" document.body.offsetWidth " (包括边线和滚动条的宽)";s = " 网页可见区域高:" document.body.offsetHeight " (包括边线的
2012-07-28 09:51:25 3864
原创 javascript:void(0);
javascript:void(0);解释:可以用返回值undefined来阻止的默认行为,如果不写void(0)点击超链接时候虽然调用js方法,但是也会出现一个弹出页面。javascript:void(0) 仅仅表示一个死链接。单此处什么也不会发生回到首页
2012-07-28 09:50:19 621
原创 在java中使用DES 加密解密
package org.svse.test;import javax.crypto.Cipher;import javax.crypto.SecretKey;import javax.crypto.SecretKeyFactory;import javax.crypto.spec.DESKeySpec;import javax.crypto.spec.IvParameter
2012-07-28 09:47:07 776
原创 jquery让弹出层居中
My JSP 'move.jsp' starting page $(function(){ $("#show1").click(function(){ $("#showdiv1").css({top:($(window).height()-100)/2+$(window).scrollTop()+'px',left:($(window).width()-
2012-07-28 09:43:57 1047
原创 关于使用javascript让层居中的问题document.documentElement.clientHeight和document.documentElement.clientWidth
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> My JSP 'MyJsp.jsp' starting page function s1(){ document.getElementById("divcenter").style.top=(document.document
2012-07-28 09:40:59 2185
原创 .NET使用DES加密解密
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy
2012-07-23 18:03:21 1407 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人