- 博客(5)
- 收藏
- 关注
原创 event祥解
1、event代表事件的状态,例如触发event对象的元素、鼠标的位置及状态、按下的键等等。event对象只在事件发生的过程中才有效。event的某些属性只对特定的事件有意义。比如,fromElement 和 toElement 属性只对 onmouseover 和 onmouseout 事件有意义。 2、属性:altKey, button, cancelBubble, cli
2008-07-28 18:12:00 653
原创 DIV的拖拽--script
var Class = {//创建类create: function () {return function () {this.initialize.apply(this, arguments);};}};var $A = function (a) {//转换数组return a ? Array.apply(null, a) : new Array;};var $ = function
2008-07-27 22:43:00 671
原创 DOM Element 常用方法
1、appendChild(node) 向当前节点对象的追加节点。经常用于给页面动态的添加内容。例如下面给div添加一个文本节点:var newdiv=document.createElement("div")var newtext=document.createTextNode("A new div")newdiv.appendChild(newtext) docum
2008-07-27 22:19:00 2513
原创 自定义消息的处理(转)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Xml.Xsl;using System.Runtim
2008-07-21 18:38:00 394
原创 U盘传播者(转)
声明:代码仅做学习交流,使用后果自负#include #include #include #include #include #pragma comment(lib,"shlwapi.lib")#define TIMER 1//计时器//function LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);//窗口过程//获取盘
2008-07-21 18:35:00 534
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人