日期:2014-05-16  浏览次数:20273 次

来人有分
谁有可以改变字体颜色   和字体连接颜色的js   代码给各发一个

------解决方案--------------------
css倒是有
------解决方案--------------------
帮顶了。没有
------解决方案--------------------
是这样么?
var txt= "aaaa ";
document.write( " <p> " + txt.fontcolor( "Red ") + " </p> ")
------解决方案--------------------
<a href=# id= "a1 " style= "color:black " onclick= "this.style.color= 'red ';document.getElementById( 'a2 ').style.color= 'black ' " > bbbb </a>
<a href=# id= "a2 " style= "color:black " onclick= "this.style.color= 'red ';document.getElementById( 'a1 ').style.color= 'black ' "> aaaa </a>
------解决方案--------------------
不是来人就有分吗
那就随便点了