One Javascript Demo
<div id="a1" style=" position:absolute; z-index:2;"></div>
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="白羊.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'白羊.jpg','白羊座~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="金牛.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'金牛.jpg','金牛座~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="双子.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'双子.jpg','金牛座~')" onmouseout="hide(this)" /></td>
</tr>
<tr></tr>
<tr>
<td><img src="巨蟹.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'巨蟹.jpg','巨蟹座~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="狮子.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'狮子.jpg','狮子座~')" onmouseout="hide(this)" /></td>
<td></td>
<td></td>
<td></td>
<td><img src="处女.jpg" alt="hi.baidu.com/liwya" onmousemove="show(event,'处女.jpg','处女座~')" onmouseout="hide(this)" /></td>
&nb
相关文档:
scrollHeight: 获取对象的滚动高度。
scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离
scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离
scrollWidth:获取对象的滚动宽度
offsetHeight:获取对象相对于版面或由父坐标 offsetParent 属性指定的父坐标的高度
offsetL ......
1.document.formName.item("itemName") 问题
说明:IE下,可以使用document.formName.item("itemName")或document.formName.elements["elementName"];Firefox下,只能使用document.formName.elements["elementName"].
解决方法:统一使用document.formName.elements["elementName"].
2.集合类对象问题
说明:IE下,可以使用() ......
  ......
事件源对象
event.srcElement.tagName
event.srcElement.type
捕获释放
event.srcElement.setCapture();
event.srcElement.releaseCapture();
事件按键
event.keyCode
event.shiftKey
event.altKey
event.ctrlKey
事件返回值
event ......
JavaScript 简单理解Ajax异步调用操作的文章。
文章地址:http://www.soaspx.com/dotnet/ajax/javascript/javascript_20090915_349.html
这篇文章是理解Ajax技术的简单例程,挺简明扼要,很容易理解。
Ajax提供与服务器异步通信的能力,借助于Ajax,可以在用户单击按钮时,使用JavaScript和 DHTML立即更新UI,并向服务器 ......