摘要: cnzz根据用户代理字符串识别浏览器类型 ,JavaScript实现代码如下 : 1 (function() { 2 var Client = function() { 3 var engine = { ie: 0, webkit: 0, gecko: 0, opera: 0, khtml: 0 }, 4 browser = { se360: 0, se: 0, maxthon: 0, qq: 0, tt: 0, theworld: 0, cometbrowser: 0, greenbrowser: 0, ie: 0, chrome: 0, netscape: 0, firefox: 0, o 阅读全文
posted @ 2011-05-17 17:14 诚诚 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: The introduction of JavaScript into web pages immediately ran into the Web ’ s predominant language, HTML. As part of its original work on JavaScript, Netscape tried to figure out how to make Ja... 阅读全文
posted @ 2010-11-02 19:43 诚诚 阅读(435) 评论(0) 推荐(0) 编辑
摘要: When JavaScript first appeared in 1995, its main purpose was to handle some of the input validation that had previously been left to server - side languages such as Perl. Prior to that time, a round -... 阅读全文
posted @ 2010-11-02 19:05 诚诚 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. 新建一个MFC项目SDI或MDI。2. 新建或导入一个ID为IDB_SPLASH的位图。3. 添加现有项SplashWnd.h和SplashWnd.cpp。SplashWnd.h源代码SplashWnd.cpp源代码4. 在App主程序实现代码中把上面的头文件包含进去,并在InitInstance函数中添加下面一段代码。[代码]5. 最后,在主框架窗口实现代码中包含Splash头文件,在On... 阅读全文
posted @ 2010-09-21 12:36 诚诚 阅读(1585) 评论(0) 推荐(0) 编辑
摘要: Borrowed from :http://blogs.msdn.com/vcblog/archive/2009/03/28/some-vs2005-and-vs2008-wizards-pop-up-script-error.aspxVisual C++ team has discovered that after installing the current release of Intern... 阅读全文
posted @ 2010-09-19 13:06 诚诚 阅读(474) 评论(0) 推荐(0) 编辑