mouse 相关的软件列表

首页

vbs sendKeys Virtual-Key Codes 十六进制符号

2020-02-16 标签:vbs,sendkeys,virtual,key,codes,十六进制,符号,constantsvk,lbutton,x,01,left,mouse,button,vk,rbutton,02,right,cancel

ConstantsVK_LBUTTON(0x01) Left mouse button VK_RBUTTON(0x02) Right mouse button VK_CANCEL(0x03) Control-break processing VK_MBUTTON(0x04) Middle mouse

js中各浏览器中鼠标按键值的差异
首页

js中各浏览器中鼠标按键值的差异

2020-02-16 标签:js,浏览器,鼠标,按键,值的,差异,w,c,dom,level,定义,如下,写道,during,mouse,events,caused

W3C DOM-Level-2 定义如下 W3C DOM 写道During mouse events caused by the depression or release of a mouse button, button is used to indicate which mouse butto

首页

javascript各浏览器中option元素的表现差异

2020-02-16 标签:javascript,浏览器,option,元素,表现,差异,ie,无事,click,mouseover,firefox,safari,chrome

1,IE6/7/8/9中无事件(如click,mouseover),Firefox/Safari/Chrome/Opera则有。 实现代码如下: 1 2 示例:122,点击option,通过srcElement获取事件源目标在IE中是select,Firefox/Safari/Chrome/Ope

首页

js与jquery中获取当前鼠标的x、y坐标位置的代码

2020-02-16 标签:js,jquery,获取,当前,鼠标,x,y,坐标,位置,代码,实现,如下,div,id,testdiv,放在,我上,script,type

实现代码如下: 放在我上面 $('#testDiv').mousemove(function(e) { var xx = e.originalEvent.x || e.originalEvent.layerX || 0; var yy = e.originalEvent.y || e.origin

首页

使用php shell命令合并图片的代码

2020-02-16 标签:使用,php,shell,命令,合并,图片,代码,实现,如下,usr,local,bin,q,author,freemouse,下面,是说,print

实现代码如下: #!/usr/local/bin/php -q author:freemouse

首页

php中随机显示图片的函数代码

2020-02-16 标签:php,随机,显示,图片,函数,代码,例如,博客,展示,实现,如下,filename,img,author,freemouse,web,www,cnphp,info

例如博客的展示窗 实现代码如下: * ***********************************************/ if($_GET['folder']){ $folder=$_GET['folder']; }else{ $folder='/images/'; } //存放图

首页

jQuery表格行换色的三种实现方法

2020-02-16 标签:jquery,表格,三种,实现,方法,代码,如下,tr,hover,function,event,type,mouseenter,add,remove,class,test,样式

实现代码如下: $('tr').hover(function(event) { $(this)[ (event.type == 'mouseenter' ? 'add' : 'remove') + 'Class' ]('test'); //test是样式 }); $('tr').hover(func

首页

基于jquery的获取mouse坐标插件的实现代码

2020-02-16 标签:基于,jquery,获取,mouse,坐标,插件,实现,代码,如下,copyright,c,2010,above,n,otice,shall,included

实现代码如下:/* * Copyright (c) 2010 刘建华 * * The above copyright notice shall be * included in all copies or substantial portions of the Software. * Example

首页

JavaScript 滚轮事件使用说明

2020-02-16 标签:javascript,滚轮,事件,使用说明,遗憾的是,浏览器,都不,相同,名称,不相同,ie,khtml,safari,chrome,opera,对应,的事

不过遗憾的是各浏览器都不尽相同。 一) 事件名称不相同 IE, KHTML(Safari, Chrome), Opera对应的事件名称是 "mousewheel"。而 Gecko(Firefox, Netscape) 对应的事件名称是 "DOMMouseScroll"。 二) 事件对象的属性不一样

首页

javascript offsetX与layerX区别

2020-02-16 标签:javascript,offsetx,layerx,区别,简单,例子,判断,鼠标,位于,事件,左边,右边,图片,点击,自动,翻页,中常,用到,实现

一个简单的例子:判断鼠标位于事件源左边还是右边,在图片点击自动翻页中常用到。 实现代码如下: function GetMousePosStr (evnt,ele) { if(!evnt) { evnt = window.event; } var offsetX = evnt.offsetX ? ev