Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
browserdetect.js
Package: MSP430.rar [view]
Upload User: zhihaomold
Upload Date: 2007-04-17
Package Size: 43041k
Code Size: 1k
Category:
Other systems
Development Platform:
Objective-C
- //nn4 dummy functions
- function draw_M( ){ return; }
- function pop_M(){ return; }
- function clear_M(){ return; }
- function browserDetect() {
- this.isNS4 = (document.layers)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4) ? true : false;
- this.isIE4 = (document.all)&&(navigator.appName.indexOf("Microsoft") > -1)&&(parseInt(navigator.appVersion)==4) ? true : false;
- this.isIE5 = (document.getElementById)&&(navigator.appName.indexOf("Microsoft") > -1) ? true : false;
- this.isNS6 = (document.getElementById)&&(navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>4) ? true : false;
- this.isOP5 = (document.getElementById)&&(navigator.appName=="Opera")&&(parseInt(navigator.appVersion)>4) ? true : false;
- //os
- var agt=navigator.userAgent.toLowerCase();
- this.isMac = (agt.indexOf("mac")!=-1);
- }
- var nav = new browserDetect();
- //if (!nav.isNS4){
- // document.writeln('<script language="javascript" src="' + _MPath + 'headermenu.js" type="text/javascript"></script><script language="javascript1.2" src="' + _MPath + '/header/headerdata.js" type="text/javascript"></script>');
- //}