手机端userAgent

摘要: iphone3gs自带的Safari浏览器Mozilla/5.0 (iPhone:U;CPU iPhone OS 4_1 like Mac OS X;zh-cn) AppleWebKit/532.9(KHTML,like Gecko)Version/4.0.5 Mobile/8B117 Safari/6531.22.7QQ浏览器MQQBrowser/2801Mozilla/5.0 (iPhone:U;CPU iPhone OS 4_1 like Mac OS X;zh-cn) AppleWebKit/532.9(KHTML,like Gecko)Version/4.0.5 Mobile/8B1 阅读全文
posted @ 2012-02-07 12:40 kxdhm 阅读(692) 评论(1) 推荐(0) 编辑

javascript RSA算法(三)

摘要: // RSA, a suite of routines for performing RSA public-key computations in// JavaScript.//// Requires BigInt.js and Barrett.js.//// Copyright 1998-2005 David Shapiro.//// You may use, re-use, abuse, copy, and modify this code to your liking, but// please keep this header.//// Thanks!// // Dave Shapir 阅读全文
posted @ 2012-02-02 18:09 kxdhm 阅读(1302) 评论(0) 推荐(0) 编辑

javascript RSA算法(二)

摘要: // BigInt, a suite of routines for performing multiple-precision arithmetic in// JavaScript.//// Copyright 1998-2005 David Shapiro.//// You may use, re-use, abuse,// copy, and modify this code to your liking, but please keep this header.// Thanks!//// Dave Shapiro// dave@ohdave.com// IMPORTANT THING 阅读全文
posted @ 2012-02-02 18:08 kxdhm 阅读(620) 评论(0) 推荐(0) 编辑

javascript RSA算法

摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><meta name="Author" content="Dave Shapiro"><meta n 阅读全文
posted @ 2012-02-02 18:07 kxdhm 阅读(4174) 评论(0) 推荐(0) 编辑

ul li 的list-style样式有何差别?

摘要: 如题,在哪里找资料? 阅读全文
posted @ 2012-02-02 17:06 kxdhm 阅读(216) 评论(0) 推荐(0) 编辑

javascript DES算法(二)

摘要: <!DOCTYPE html><html lang="zh-cn"><head><meta http-equiv="content-type" content="text/html;charset=utf-8"><title>DES算法</title></head><body><script>//Javascript version//Paul Tero, July 2001//http://www.shopable.co.uk 阅读全文
posted @ 2012-02-02 10:37 kxdhm 阅读(379) 评论(0) 推荐(0) 编辑

javascript DES算法(一)

摘要: <!DOCTYPE html><html lang="zh-cn"><head><meta http-equiv="content-type" content="text/html;charset=utf-8"><title>DES算法-Code by 梅雪香</title><style type="text/css">textarea{width:600px; height:150px;}body{font-size:12px}i 阅读全文
posted @ 2012-02-02 10:04 kxdhm 阅读(890) 评论(0) 推荐(0) 编辑

javascript md5加密算法

摘要: 用法:md5Value = hex_md5("asdfasdf")<script>/** A JavaScript implementation of the RSA Data Security, Inc. MD5 Message* Digest Algorithm, as defined in RFC 1321.* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet* Distrib 阅读全文
posted @ 2012-02-02 09:47 kxdhm 阅读(2403) 评论(0) 推荐(0) 编辑

javascript parent.window.location

摘要: 子页面:/AAA/AAA.html父页面:/BBB/BBB.html子页面中代码如下parent.window.location="CCC.html"结果:父页面跳转到:/AAA/CCC.html 阅读全文
posted @ 2012-02-01 12:27 kxdhm 阅读(604) 评论(0) 推荐(1) 编辑

《javascript设计模式》阅读笔记

摘要: 1.富有表现力的javascript1.1javascript的灵活性启动停止动画的五种实现方式方法1functionstartAnimation(){}functionstopAnimation(){}方法2varAnim=function(){}Anim.prototype.start=function(){}Anim.prototype.stop=function(){}varmyAnim=newAnim();myAnim.start();myAnim.stop();方法3varAnim=function(){}Anim.prototype={start:function(){},sto 阅读全文
posted @ 2011-12-02 18:12 kxdhm 阅读(142) 评论(0) 推荐(0) 编辑