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
default.js
Package: whpower2007-8-24.rar [view]
Upload User: tiancihang
Upload Date: 2014-03-12
Package Size: 21387k
Code Size: 2k
Category:
.net
Development Platform:
C#
- // JavaScript Document
- function attachXMenu(objid){
- var tds=objid.getElementsByTagName('td');
- for(var i=0;i<tds.length;i++){
- with(tds[i]){
- onmouseover=function(){
- with(this){
- filters[0].apply();
- style.background='#4499EE'; //这是鼠标移上去时的背景颜色
- //style.border='1px solid #ffffff'; //边框
- style.color='#ffffff'; //文字颜色
- filters[0].play();
- }
- }
- onmouseout=function(){
- with(this){
- filters[0].apply();
- style.background=''; //这是鼠标离开时的背景颜色
- //style.border='1px solid'; //边框
- style.color='black'; //文字颜色
- filters[0].play();
- }
- }
- }
- }
- }
- function MM_findObj(n, d) { //v4.01
- var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
- if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && d.getElementById) x=d.getElementById(n); return x;
- }
- function MM_showHideLayers() { //v6.0
- var i,p,v,obj,args=MM_showHideLayers.arguments;
- for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
- if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
- obj.visibility=v; }
- }
- function fPopUpCalendarDlg(){
- var ctrlobj=event.srcElement;
- showx = event.screenX - event.offsetX - 4 ;
- showy = event.screenY - event.offsetY + 18;
- newWINwidth = 210 + 4 + 18;
- retval = window.showModalDialog("../js/CalendarDlg.htm", "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;help:no;scrollbars:no;Resizable=no; " );
- if( retval != null ){
- ctrlobj.value = retval;
- }else{
- //alert("canceled");
- }
- ctrlobj.blur();
- }