<img src="http://bbs.bc-cn.net/Images/userface/image17.gif"
onMouseOver="helpor_net_show(this,event,'看到了吧?')"
onMouseOut="helpor_net_hide()">
<img src="http://bbs.bc-cn.net/UploadFace/104029.gif"
onMouseOver="helpor_net_show(this,event,'看到了吧?')"
onMouseOut="helpor_net_hide()">
<img src="http://bbs.bc-cn.net/UploadFace/1949.gif"
onMouseOver="helpor_net_show(this,event,'看到了吧?')"
onMouseOut="helpor_net_hide()">
<div id="tooltip2"
style="position:absolute;visibility:hidden;width:200px;height:100px;background-
color:seashell">
<layer name="nstip" width="1000px" bgColor="seashell"></layer>
</div>
<SCRIPT language="JavaScript">
<!--
function initArray()
{
for(i=0;i<initArray.arguments.length;i++)
this[i]=initArray.arguments[i];
}
var isnMonths=new initArray("1月","2月","3月","4月","5月","6月","7月","8月","9
月","10月","11月","12月");
var isnDays=new initArray("星期日","星期一","星期二","星期三","星期四","星期
五","星期六","星期日");
today=new Date();
var stnr="";
var ns="0123456789";
var a="";
function getFullYear(d)
{
yr=d.getYear();if(yr<1000)
yr+=1900;return yr;
}
if (!document.layers&&!document.all)
event="test"
function helpor_net_show(current,e,text){
if (document.all&&document.readyState=="complete"){
document.all.tooltip2.innerHTML='<table width=100% style="filter:alpha
(opacity=30)"><tr bgcolor=33ffff><td>'+isnDays[today.getDay()]+","+isnMonths
[today.getMonth()]+""+today.getDate()+"日,"+getFullYear(today)
+"年"+'</td></tr><tr><td>'+text+'</td></tr></table>'
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
document.all.tooltip2.style.visibility="visible"
}
}
function helpor_net_hide(){
document.all.tooltip2.style.visibility="hidden"
}
//-->
</SCRIPT>
[此贴子已经被作者于2007-5-21 16:33:58编辑过]