前面的sMouseout('pic','1','2')换成sMouseout('pic','1','3')
sMouseout('pic','2','2')换成sMouseout('pic','2','3')
开始将div设为display="none"$('#(悬浮的id)').mouseover(function(){
$('#(div的ID)').show()
})
$('#(悬浮的id)').mouseout(function(){
$('#(div的ID)').hide()
})
懒得写兼容,用jquery 写的话,$(document).mousedown(function(e){
var clickKey=e.which==1?"左键":e.which==2?"中键":"右键"
alert("你点击了鼠标" + clickKey +"!X坐标:" + e.pageX + ",Y坐标: " + e.pageY)
})