码迷,mamicode.com
首页 >  
搜索关键字:mouse    ( 1160个结果
[Processing]点到线段的最小距离
1 PVector p1,p2,n; 2 float d = 0; 3 4 void setup() 5 { 6 size(600,600); 7 8 p1 = new PVector(150,30);//线段第一个端点 9 p2 = new PVector(-25,-100);//线段第二个端点 ... ...
分类:其他好文   时间:2018-07-05 21:44:08    阅读次数:292
mouseover 与 mouseout 使用时闪烁问题
区别: mouseover与mouseenter 不论鼠标指针穿过被选元素或其子元素,都会触发 mouseover 事件。 只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件。 mouseout与mouseleave 不论鼠标指针离开被选元素还是任何子元素,都会触发 mouseout ...
分类:其他好文   时间:2018-07-05 19:51:19    阅读次数:147
e.Row.Attributes.Add
其实看到属性这个单词,还有点发憷呢,C#里面有个关键词是Attributes, 搞了半天貌似没有弄清楚 e.Row.Attributes.Add()函数的介绍,包括参数,什么是Attributes 然后就是add("属性","结果"); 这个讲的全 C#中 Attributes的用法 ...
分类:其他好文   时间:2018-06-30 19:53:13    阅读次数:1016
js关卡函数,throat函数实现,定时运行函数
function throat(callback,num){ var timer = null; callback = callback || function(){}; return function(){ if(!timer){ var that = this; var arg = argume... ...
分类:Web程序   时间:2018-06-30 14:45:48    阅读次数:192
视频加载播放暂停切换
package com{ import flash.display.MovieClip; import flash.net.NetConnection; import flash.net.NetStream; import flash.events.AsyncErrorEvent; import f... ...
分类:其他好文   时间:2018-06-30 12:55:55    阅读次数:161
Dom运用2
1、登录系统 2、36选7 不重复 注;indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置。 如果没有找到字符串,则返回-1. 3、多选框 效果 4、轮播图 ...
分类:其他好文   时间:2018-06-24 15:12:27    阅读次数:168
PAT 1056 Mice and Rice (25)
Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a mouse in a given ...
分类:其他好文   时间:2018-06-23 15:45:53    阅读次数:195
用JavaScript中jQuery编写放大镜效果
1 2 3 4 5 6 7 8 Document 9 43 44 45 46 47 48 49 --> 50 51 52 53 --> 54 5... ...
分类:编程语言   时间:2018-06-23 14:33:09    阅读次数:202
6.21 jquery 事件
1 attr() 方法设置或返回被选元素的属性值。$("button").click(function(){ $("img").attr("width","180");});2 append() 方法在被选元素的结尾(仍然在内部)插入指定内容。$("button").click(function() ...
分类:Web程序   时间:2018-06-21 23:38:36    阅读次数:303
面试总结
题一: 程序设计: 猫大叫一声,所有的老鼠都开始逃跑,主人被惊醒。(C#语言)要求: <1>.构造出Cat、Mouse、Master三个类,并能使程序运行 <2>从Mouse和Master中提取抽象 <3>联动效应,只要执行Cat.Cryed()就可以使老鼠逃跑,主人惊醒。 题二: 一列数的规则如下 ...
分类:其他好文   时间:2018-06-21 22:36:03    阅读次数:163
1160条   上一页 1 ... 44 45 46 47 48 ... 116 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!