欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

漂亮的提示信息(带箭头)

程序员文章站 2022-06-19 19:37:32
.tableborder7{width:800;solid; background-color: #000000;} td{font-family: 宋体;font...
'); function pltsinits() { document.onmouseover = plts; document.onmousemove = movetomouseloc; } function plts() { var o=event.srcelement; if(o.alt!=null && o.alt!=""){o.dypop=o.alt;o.alt=""}; if(o.title!=null && o.title!=""){o.dypop=o.title;o.title=""}; pltspop=o.dypop; if(pltspop!=null&&pltspop!=""&&typeof(pltspop)!="undefined") { pltstiplayer.style.left=-1000; pltstiplayer.style.display=''; var msg=pltspop.replace(/\n/g," "); msg=msg.replace(/\0x13/g," "); var re=/\{(.[^\{]*)\}/ig; if(!re.test(msg))pltstitle="简介"; else{ re=/\{(.[^\{]*)\}(.*)/ig; pltstitle=msg.replace(re,"$1")+" "; re=/\{(.[^\{]*)\}/ig; msg=msg.replace(re,""); msg=msg.replace(" ","");} //var attr=(document.location.tostring().tolowercase().indexof("list.asp")>0?"nowrap":""); var content = '
'+ ''+ ''+ ''+ '

'+pltstitle+'

'+msg+'
'; pltstiplayer.innerhtml=content; tooltiptalbe.style.width=math.min(pltstiplayer.clientwidth,document.body.clientwidth/2.2); movetomouseloc(); return true; } else { pltstiplayer.innerhtml=''; pltstiplayer.style.display='none'; return true; } } function movetomouseloc() { if(pltstiplayer.innerhtml=='')return true; var mousex=event.x; var mousey=event.y; //window.status=event.y; var popheight=pltstiplayer.clientheight; var popwidth=pltstiplayer.clientwidth; if(mousey+pltsoffsety+popheight>document.body.clientheight) { poptopadjust=-popheight-pltsoffsety*1.5; pltspoptop.style.display="none"; pltspopbot.style.display=""; } else { poptopadjust=0; pltspoptop.style.display=""; pltspopbot.style.display="none"; } if(mousex+pltsoffsetx+popwidth>document.body.clientwidth) { popleftadjust=-popwidth-pltsoffsetx*2; topleft.style.display="none"; botleft.style.display="none"; topright.style.display=""; botright.style.display=""; } else { popleftadjust=0; topleft.style.display=""; botleft.style.display=""; topright.style.display="none"; botright.style.display="none"; } pltstiplayer.style.left=mousex+pltsoffsetx+document.body.scrollleft+popleftadjust; pltstiplayer.style.top=mousey+pltsoffsety+document.body.scrolltop+poptopadjust; return true; } pltsinits(); //-->
蝶恋花