请问这个悬停显示界面怎么做的,能给个源码吗???? position: relative;position: absolute; 使用定位加显示隐藏就可实现了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>测试</title><style>.dis{ width: 120px; line-height: 20px; height: 60px; background-color: blue; border-bottom-width: 1px; display:none;}</style><script>function show(d){ document.getElementById(d).style.display='block'; //显示层}function hide(d){ document.getElementById(d).style.display='none'; //隐藏层}</script></head><body><span href='#' onmousemove="show('dis')" onmouseout="hide('dis')">鼠标放上显示层</span><div id="dis" class="dis">层内容</div></body></htmle> 求教~为什么程序只能在Editplus中运行,IE和谷歌都不行? 如何替换正则查找出的内容? 如何使用js添加一个button,点击后跳出一个新的页面的问题,链接是变量 急!急!急!EXT JS如何动态加载图片的SRC地址 请帮忙看看这个功能如何实现, 关于FireFox的defer属性 (求助)showModelessDialog弹出的页面刷新父页面 急~ 帮忙修改一个JS效果 请教大虾们:html文件如何实现在top Frame中点击时使left和main框架同时刷新? 火狐和谷歌浏览器ajax兼容问题 怎么获取ie浏览器边框的高度? 如何实现这样的菜单效果?
<head>
<title>测试</title>
<style>
.dis{
width: 120px;
line-height: 20px;
height: 60px;
background-color: blue;
border-bottom-width: 1px;
display:none;
}
</style>
<script>
function show(d){
document.getElementById(d).style.display='block'; //显示层
}
function hide(d){
document.getElementById(d).style.display='none'; //隐藏层
}
</script>
</head>
<body><span href='#' onmousemove="show('dis')" onmouseout="hide('dis')">鼠标放上显示层</span>
<div id="dis" class="dis">层内容</div>
</body>
</htmle>