急!求一个用javascript编写一个链接颜色变换的问题 假若有两个链接,链接A和链接B,在初始状态下,链接A为黑色,链接B为白色,当鼠标移动到链接B上时,颜色互换,链接A的颜色变为白色,链接B的颜色变为黑色,求高手帮忙编写下... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 简单问,那就简单答了:<a id=a href="#" style="color:white">AA</a><a id=b href="#" style="color:black" onmouseover="document.getElementById('a').style.color='black';document.getElementById('b').style.color='white';">BB</a> <a id=a href="#" style="color:white">链接1</a><a id=b href="#" style="color:black" onmouseover="document.getElementById('a').style.color='black';document.getElementById('b').style.color='white';">链接2</a> <a id="a" style="color:White;">链接1</a><a id="b" style="color:black;" onmouseover="this.style.color='white';document.getElementById('a').style.color='black';" onmouseout="this.style.color='black';document.getElementById('a').style.color='white';">链接2</a> <a id="a" style="color:White;">链接1</a> <a id="b" style="color:black;" onmouseover="this.style.color='white';document.getElementById('a').style.color='black';" onmouseout="this.style.color='black';document.getElementById('a').style.color='white';">链接2</a> phonegap写安卓程序问题 javascript新手 问一个正则匹配问题 javascript鼠标跟随特效,滚动的星星 高分求清除js脚本 extjs GridPanel添加到TabPanel,列标题总是不显示,急~~~ 请大家看看,我要的这种效果,如何实现?! 不太明白base标签是用来干嘛的? 新手小白求解 为何不输出 jquery重复单击事件求助 javascript中table的某一行选中问题 关于一个 setTimeout中的函数参数 访问变量问题
<a id=a href="#" style="color:white">AA</a>
<a id=b href="#" style="color:black" onmouseover="document.getElementById('a').style.color='black';document.getElementById('b').style.color='white';">BB</a>
<a id=b href="#" style="color:black" onmouseover="document.getElementById('a').style.color='black';document.getElementById('b').style.color='white';">链接2</a>
<a id="a" style="color:White;">链接1</a>
<a id="b" style="color:black;" onmouseover="this.style.color='white';document.getElementById('a').style.color='black';"
onmouseout="this.style.color='black';document.getElementById('a').style.color='white';">链接2</a>
<a id="b" style="color:black;" onmouseover="this.style.color='white';document.getElementById('a').style.color='black';"
onmouseout="this.style.color='black';document.getElementById('a').style.color='white';">链接2</a>