Nice mouse tips for information

Source: Internet
Author: User
<style>
. tableborder7{width:800;solid background-color: #000000;}
Td{font-family: song body; font-size:12px;line-height:15px;}
Th{background-color: #f7f7f7; color: #000000; font-size:12px;font-weight:bold;}
Th.th1{background-color: #333333;}
Td. Tablebody7{background-color: #B1EA45;}
</style>
<script language= "JavaScript" >
More JavaScript from http://www.webjx.com
<!--
var pltspop=null;
var pltsoffsetx = 10; The distance between the left side of the mouse or the right side of the pop-up window; 3-12 fit
var pltsoffsety = 15; The distance of the pop-up window at the bottom of the mouse; 3-12 fit
var pltspopbg= "#FFFFEE"; Background color
var pltspopfg= "#111111"; Foreground color
var pltstitle= "";
document.write (' <div id=pltstiplayer style= "Display:none;position:absolute; z-index:10001" ></div> ");
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, "<br>");
Msg=msg.replace (//0x13/g, "<br>");
var re=//{(. [ ^/{]*)/}/ig;
if (!re.test (MSG)) pltstitle= "<font color= #ffffff > Introduction </font>";
else{
re=//{(. [ ^/{]*)/} (. *)/ig;
Pltstitle=msg.replace (Re, "$") + "";
re=//{(. [ ^/{]*)/}/ig;
Msg=msg.replace (Re, "");
Msg=msg.replace ("<br>", "");}
var attr= (document.location.toString (). toLowerCase (). IndexOf ("list.asp") >0? " NoWrap ":" ");
var content =
' <table style= ' Filter:alpha (opacity=90) Shadow (color= #bbbbbb, direction=135); "Id=tooltiptalbe border=0>< TR&GT;&LT;TD width= "100%" ><table class=tableborder7 cellspacing= "1" cellpadding= "0" style= "width:100%" > ' +
' <tr id=pltspoptop ><th height=18 valign=bottom class=th1 ><b><p id=topleft align=left>< Font color= #ffffff >↖</font> ' +pltstitle+ ' </p><p id=topright align=right style= ' display:none ' > ' +pltstitle+ ' <font color= #ffffff >↗</font></b></th></tr> ' +
"<tr><td" +attr+ "Class=tablebody7 style=" PADDING-LEFT:14PX;PADDING-RIGHT:14PX;PADDING-TOP:6PX; padding-bottom:6px;line-height:135% "> ' +msg+ ' </td></tr>" +
' <tr id=pltspopbot style= "Display:none" ><th height=18 valign=bottom class=th1><b><p id=botleft Align=left><font color= #ffffff >↙</font> ' +pltstitle+ ' </p><p id=botright align=right " Display:none "> ' +pltstitle+ ' <font color= #ffffff >↘</font></b></th></tr> ' +
' </table></td></tr></table> ';
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 ();
-->
</script>
</HEAD>
<BODY>
<div title= "Drunk Don't wake Up don't remember, dream Autumn clouds, gather and gather really easy." <br> Oblique Gulf window still sleep less. Painted Screen Leisure exhibition Wushantri. <br> clothes on the wine mark poem Word, a little bit line, always desolate meaning. <br> Red Candle Self-pity no good, night cold empty for people to weep. "> Guide here to Web teaching network </div>
</BODY>
</HTML>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.