如何实现鼠标移到图片的左半部分显示“上一张”,右半部分显示“下一张”,点击进入下一张或上一张图片
类似新浪的图片显示
类似新浪的图片显示
解决方案 »
- 有关jqgrid的问题。为什么我点击jgrid子表的行,主表行的颜色也会变动呢?
- javascript检测服务器连通问题
- 急丫 大家快来帮个忙丫 急丫 急丫 急丫 急丫
- 关于用window.history.go后退次数好像只有6次?
- 请看这段弹出层JS代码,如何修改才能使弹出的层位于当前窗口?
- 麻烦你们回答我一个简单的问题,JAVASRIPT语法:Response.Redirect("7-33.asp");改用VBSCRIPT该怎么写呢?
- 下拉列表 盖住 下拉菜单 (菜单是一个层,设Z-index都等于10000了,还不行)???
- 文本框中的内容能不能居中对齐?
- 关于HTML的Form的问题!
- 关于实现web截图实现
- 取消表单编辑后,select值问题
- 关于多个div隐藏的问题
<img src="Images/cunbg/2.gif" border="0" usemap="#1" style="CURSOR: hand; "><map name="1">
<area shape="poly" coords="72,64,126,28,65,3,4,30" href="nongchang.asp?action=xuan&id=1" alt="上一张" onFocus="this.blur()">
</map>
<area shape="rect" coords="0,0,50,100" href="nongchang.asp?action=xuan&id=1" alt="left" onFocus="this.blur()">
<area shape="rect" coords="50,0,100,100" href="nongchang.asp?action=xuan&id=2" alt="right" onFocus="this.blur()">
</map>
<area shape="rect" coords="0,0,50%,100%" href="nongchang.asp?action=xuan&id=1" alt="left" onclick="this.blur()">
<area shape="rect" coords="50%,0,100%,100%" href="nongchang.asp?action=xuan&id=2" alt="right" onclick="this.blur()">
</map>
判断iE用
offsetX
其它用layerX
position要是relative或者absolute才能取到layerX