
Javascript
camel0564
像火一样激情,
像水一样冷静,
像风一样嚣张,
像云一样安逸,
分析问题如鹰般敏锐,设计程序如蚂蚁般仔细,编程速度如豹般迅捷,测试产品如蜘蛛般严谨
展开
-
sepcial JS used in page
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键no 可用于Table2. 取消选取、防止复制3. onpaste="return false" 不准粘贴4. oncopy="return false;" oncut="return false;" 防止复制5. IE地址栏前换成自己的图标6. 可以在收转载 2008-10-23 15:24:00 · 613 阅读 · 0 评论 -
深入浅出 Javascript API(五)--Query & Find 查询
转自: http://www.cnblogs.com/flyingis/archive/2008/07/29/1255373.html 查询是webgis常用功能之一,基于地图的查询经历了多种形式的演变,现在用什么形式来展现查询已经没有固定模式,在适合webgis范围内,什么形式能够满足应用,就用什么形式的查询。举例描述一个最经典的场景,鼠标点击地图显示一个TIP小窗口,显示查询对象的简单转载 2008-11-14 11:09:00 · 1491 阅读 · 0 评论 -
javascript get find 方法
$get Shortcut MethodProvides a shortcut to the getElementById method of the Sys.UI.DomElement class. This member is static and can be invoked without creating an instance of the class.Syntax转载 2008-11-14 11:23:00 · 2718 阅读 · 0 评论 -
JS: .onClick attachEvent和addEventListener三者面对不同浏览器的区别
首先是最常规的.onClick方法: test<!--function test(){alert("test");}// --> 当某一天,我们知道JavaScript要跟HTML结构实现分离后,就会改了一种写法: test<!--function test(){alert("test");}window.onl转载 2009-02-11 16:36:00 · 1869 阅读 · 0 评论