如何使鼠标放到导航标题上时它的链接内容随之出现在网页中
来源:百度知道 编辑:UC知道 时间:2024/06/30 04:39:07
<script language="javascript" type="text/javascript">
function followcursor1(){
document.getElementById('div01').style.display='none'
document.getElementById('div02').style.display='none'
javascript:document.getElementById('div021').style.backgroundColor='#aacc00';
javascript:document.getElementById('div022').style.backgroundColor='';
var DIV = document.getElementById('div01');
DIV.style.display = "block";
}
function followcursor2(){
document.getElementById('div01').style.display='none'
document.getElementById('div02').style.display='none'
javascript:document.getElementById('div021').style.backgroundColor='';
javascript:document.getElementById('div022').style.backgroundColor='#aacc00';
var DIV = document.getElementById('div02