
javascript
天使复仇
Sometimes you need to step outside, clear your head, and remind yourself of who you are and where you wanna be.
展开
-
页面中源码加密
var Words;function SetWords(word) //加密当前文本{ Words = escape(word.value);//加密的主要方法}function SetNewWords(form) //加密当前窗体{ var原创 2011-10-14 13:46:02 · 292 阅读 · 0 评论 -
2012-04-16 09:31 javascript获取浏览器、显示器大小
网页可见区域宽:document.body.clientWidth网页可见区域高:document.body.clientHeight网页可见区域宽:document.body.offsetWidth (包括边线的宽)网页可见区域高:document.body.offsetHeight (包括边线的宽)网页正文全文宽:document.body.scrollWidth网页正文全转载 2012-11-09 09:42:38 · 362 阅读 · 0 评论