用样式是没有办法实现的。这样可以吗
<script>
function setstatus()
{
window.status='hi';
}
</script>
<body onload=setInterval(setstatus,1)>
<a href="a1.htm">a1</a>
<a href="a12.htm">a12</a>
<a href="a13.htm">a13</a>
<script>
function setstatus()
{
window.status='hi';
}
</script>
<body onload=setInterval(setstatus,1)>
<a href="a1.htm">a1</a>
<a href="a12.htm">a12</a>
<a href="a13.htm">a13</a>
<script>
function setstatus()
{
window.status="大家好";
}
</script>
<body onload=setInterval(setstatus,1)>
<a href="a1.htm">a1</a>
<a href="a12.htm">a12</a>
<a href="a13.htm">a13</a>
<a href="ccc.htm">看ccc.htm</a>
a{qswh:expression(window.status="请选择")}
a:hover{qswh:expression(window.status="大家好")}
</style>
<a href=/>aa</a>
<a href=/>aa</a>详见:http://www.blueidea.com/bbs/archivecontent.asp?id=434909
原来样式表的功能这样强大呢,不过为什么运行时总只有最后一个<a>会响应hover呢?qswh提供的经典现在好像联不上啊