<html>
<head>
<script>
function content(title,gut)
{
var str;
str="<marquee scrollamount='1' scrolldelay='30' direction= 'UP' width='200' id='helpor_net' height='100' onmouseover='helpor_net.stop()' onmouseout='helpor_net.start()' Author:redriver; For more,visit:www.lovehy.com>";
str+="<h2><p align='center'><font color='#ffffff' face='黑体'>"+title+"</font></h2>";
str+="<p><font color='#ffffff'>";
str+=gut;
str+="</font>";
str+="</marquee> ";
FloatDiv.innerHTML=str;
}
</script>
</head>
<body>
<div id="FloatDiv">
</div>
<script>
content("公告","<a href='xxx.asp'>xxxxxxxxxxxxx</a>")
</script>
</body>
</html>
你的<a hret='xxx.asp'>xxxxxxxxxxxxx</a>hret 拼错了, href