网上收集整合出来的,算是剽窃吧,ie6下用过,其他的没试。
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!-- by shundyang -->
<html><head><title>share</title>
<meta http-equiv=content-type content="text/html; charset=gb2312">
<style>
body {
margin: 0px;
}
a.notes {
font-size: 12px; color: #ffffff; text-decoration: none
}
.ms_link0 {
border-right: #1e77d3 1px solid; padding-right: 4px; border-top: #1e77d3 1px solid; padding-left: 4px; font-size: 12px; padding-bottom: 0px; border-left: #1e77d3 1px solid; padding-top: 2px; border-bottom: #1e77d3 1px solid
}
.ms_link1 {
border-right: #a1c6eb 1px solid; padding-right: 4px; border-top: #a1c6eb 1px solid; padding-left: 4px; font-size: 12px; background: #3484d7; padding-bottom: 0px; border-left: #a1c6eb 1px solid; padding-top: 2px; border-bottom: #a1c6eb 1px solid
}
.ms_linksep {
padding-right: 1px; padding-left: 1px; padding-bottom: 2px; font: 12px verdana; color: #a1c6eb; padding-top: 0px
}
td#msviglobaltoolbar {
padding-bottom: 2px; width: 200px; padding-top: 2px
}
#msviglobaltoolbar a {
font: 12px verdana; color: #ffffff; text-decoration: none
}
.msflyoutpopup {
border-right: #dddddd 1px solid; padding-right: 3px; border-top: #dddddd 1px solid; padding-left: 3px; z-index: 10; filter: progid:dximagetransform.microsoft.dropshadow(offx=1,offy=1,color=#cccccc,positive='true') alpha(opacity=90); padding-bottom: 2px; border-left: #dddddd 1px solid; padding-top: 2px; border-bottom: #dddddd 1px solid; font-family: "宋体"; background-color: #1e77d3; text-align: left
}
.msflyoutpopuphr {
background: #d0e0f0; margin: 0px 11px 21px; height: 1px
}
.tflypopupanimate {
border-right: gray 1px solid; padding-right: 0px; border-top: gray 1px solid; display: block; padding-left: 0px; z-index: 1; visibility: hidden; padding-bottom: 0px; margin: 0px; overflow: hidden; border-left: gray 1px solid; padding-top: 0px; border-bottom: gray 1px solid; position: absolute
}
</style>
<script language="javascript">
function tfly_init(name, offsetleft, offsettop, alignment, anyiter, anytime, statichover, popuphover, popuplatency, hidelatency, oninit, onpopup, onhide) {
var tfly = document.getelementbyid(name);
tfly.dt = document.getelementbyid(name + "_popup");
tfly.f = document.getelementbyid(name + "_anim");
tfly.ox = offsetleft;
tfly.oy = offsettop;
tfly.alignment = alignment;
tfly.anyiter = anyiter;
tfly.anytime = anytime;
tfly.popuplatency = popuplatency;
tfly.hidelatency = hidelatency;
tfly.onpopup = onpopup;
tfly.onhide = onhide;
tfly.onmouseover = function() {
if (statichover != '') {
tfly.classname_ = tfly.classname;
tfly.classname = statichover;
}
tfly_popup(tfly, true);
}
tfly.onmouseout = function() {
if (statichover != '') {
tfly.classname = tfly.classname_;
}
tfly_popup(tfly, false);
}
if (document.all) {
tfly.onactivate = tfly.onmouseover;
tfly.ondeactivate = tfly.onmouseout;
}
else {
tfly.onfocus = tfly.onmouseover;
tfly.onblur = tfly.onmouseout;
}
tfly.dt.onmouseover = function() {
if (popuphover != '') {
tfly.dt.classname_ = tfly.dt.classname;
tfly.dt.classname = popuphover;
}
tfly_popup(tfly, true);
}
tfly.dt.onmouseout = function() {
if (popuphover != '') {
tfly.dt.classname = tfly.dt.classname_;
}
tfly_popup(tfly, false);
}
tfly_callclientfunction(oninit, tfly);
}
function tfly_callclientfunction(name, tfly) {
if (name != null && name != "")
eval(name + "(tfly);");
}
function tfly_setposition(tfly, obj) {
obj.style.top = tfly.oy + tfly.offsetheight + "px";
obj.style.left = tfly.ox + (tfly.offsetwidth - obj.offsetwidth ) * (1 + tfly.alignment) / 2 + "px";
}
function tfly_popup(tfly, value) {
if (tfly.timer != null) window.cleartimeout(tfly.timer);
if (value) {
if (tfly.status == "on") return;
var timeout = (tfly.status == "active") ? 0 : tfly.popuplatency;
if (tfly.anyiter > 0 && tfly.anytime > 0)
tfly.timer = window.settimeout(function() {tfly_animatestart(tfly, true, tfly.f.curiter);}, timeout);
else
tfly.timer = window.settimeout(function() {tfly_setvisibility(tfly, true);}, timeout);
}
else {
if (tfly.status == "off") return;
var timeout = (tfly.status == "active") ? 0 : tfly.hidelatency;
if (tfly.anyiter > 0 && tfly.anytime > 0)
tfly.timer = window.settimeout(function() {tfly_animatestart(tfly, false, tfly.f.curiter);}, timeout);
else
tfly.timer = window.settimeout(function() {tfly_setvisibility(tfly, false);}, timeout);
}
}
function tfly_setvisibility(tfly, value) {
if (value == true) {
tfly_setposition(tfly, tfly.dt);
tfly.dt.style.visibility = "visible";
tfly.style.zindex = "999";
}
else {
tfly.dt.style.visibility = "hidden";
tfly.style.zindex = "0";
tfly.dt.style.left = "-10000px";
}
}
function tfly_animatestart (tfly, inout, curiter) {
if (tfly.f.timer != null) window.cleartimeout(tfly.f.timer);
if (curiter == null) curiter=0;
if (tfly.status != "active") {
tfly.status = "active";
tfly.f.style.visibility = "visible";
tfly.dt.style.visibility = "hidden";
}
if (curiter < 0 || curiter > tfly.anyiter) {
tfly.f.curiter = (curiter < 1) ? 0 : tfly.anyiter;
tfly.status = (tfly.f.curiter == tfly.anyiter) ? "on": "off";
tfly.f.style.visibility = "hidden";
tfly_setposition(tfly, tfly.dt);
tfly.style.zindex = (tfly.f.curiter == tfly.anyiter) ? "999" : "0";
if (tfly.f.curiter == tfly.anyiter) {
tfly.status = "on";
tfly_setvisibility(tfly, true);
tfly_callclientfunction(tfly.onpopup, tfly);
}
else {
tfly.status = "off";
tfly_setvisibility(tfly, false);
tfly_callclientfunction(tfly.onhide, tfly);
}
}
else {
var per = curiter * (95 / tfly.anyiter) + 5;
tfly.f.style.visibility = "hidden";
tfly.f.style.width = tfly.dt.offsetwidth / 100 * per + "px";
tfly.f.style.height = tfly.dt.offsetheight / 100 * per + "px";
tfly_setposition(tfly, tfly.f);
tfly.f.style.visibility = "visible";
var timeout = (per == 100 ) ? 0 : tfly.anytime - (tfly.anytime / (tfly.anyiter) * (curiter));
curiter += (inout) ? 1 : -1;
tfly.f.timer = window.settimeout(function() {tfly_animatestart(tfly, inout, curiter)}, timeout);
tfly.f.curiter = curiter;
}
}
</script>
<meta content="mshtml 6.00.3790.630" name=generator></head>
<body oncontextmenu="return false" onselectstart="return false"
ondragstart="return false">
<table cellspacing=0 cellpadding=0 width="100%" align=center border=0>
<tbody>
<tr>
<td
style="filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#4b92d9', endcolorstr='#cedff6', gradienttype='1')"
width=150 height=20>
<table cellspacing=0 cellpadding=0 width=150 align=center border=0>
<tbody>
<tr>
<td style="word-break: keep-all; padding-top: 3px" valign=center
align=middle><font style="color: #ffffff; font-size:12px;">2007年06月14日 星期四
</td></tr></tbody></table></td>
<td
style="filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#cedff6', endcolorstr='#1e77d3', gradienttype='1')"
align=right width="100%">
<table cellspacing=0 cellpadding=0 width="100%" align=center border=0>
<tbody>
<tr>
<td style="padding-right: 15px; padding-left: 15px; padding-top: 3px"
valign=center align=middle width="100%">
<marquee id=gua onmouseover=gua.stop()
style="font-size: 12px; color: #ffffff" onmouseout=gua.start()
scrollamount=3 scrolldelay=0 width="100%"><a class=notes
href="note/note_scrollnote.asp?nid=32529"
target=_blank>4月份年休假人员名单公布</a>
请大家尽快上交4月份交通燃油发票。
4月25日文艺晚会推迟至4月29日,请互相转告! <a class=notes
href="note/note_scrollnoteall.asp"
target=_blank>查看全部</a> </marquee></td></tr></tbody></table></td>
<td id=msviglobaltoolbar style="background-color: #1e77d3">
<table cellspacing=0 cellpadding=0 align=center border=0>
<tbody>
<tr>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap>
<div id=ms_user style="padding-bottom: 2px; position: relative"><a
href="javascript:void(0)">我的账户 </a><img height=4 alt=""
src="http://www.microsoft.com/library/mnp/2/gif/ql.gif" width=11>
<div class=msflyoutpopup id=ms_user_popup
style="left: -65534px; visibility: hidden; position: absolute">
<table border=0>
<tbody>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap colspan=3><a
href="javascript:void(0);">shundyang</a></td></tr>
<tr>
<td class=msflyoutpopuphr colspan=3></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">注销登录</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">切换用户</a></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">修改密码</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">锁定界面</a></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">我的文档</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">基本资料</a></td></tr></tbody></table></div>
<div class=tflypopupanimate id=ms_user_anim></div></div></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/pub/.html">发布</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/bbs/.html">论坛</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/admin/.html">管理</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap>
<div id=ms_shortcut
style="padding-bottom: 2px; position: relative"><a
href="javascript:void(0)">链接 </a><img height=4 alt=""
src="http://www.microsoft.com/library/mnp/2/gif/ql.gif" width=11>
<div class=msflyoutpopup id=ms_shortcut_popup
style="left: -65534px; visibility: hidden; position: absolute">
<table border=0>
<tbody>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">培训信息</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">企务直通车</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">党务公开专栏</a></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">文化人物</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">网上论坛</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">企业快讯</a></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">招聘信息</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">共青团</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">招投标工程</a></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">投诉与意见</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">联系我们</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/top.asp#">广告推广</a></td></tr>
<tr>
<td class=msflyoutpopuphr colspan=5></td></tr>
<tr>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap colspan=3><a
href="main/map/.html">网站地图</a></td>
<td class=ms_linksep>|</td>
<td class=ms_link0 onmouseover="this.classname='ms_link1'"
onmouseout="this.classname='ms_link0'" nowrap><a
href="main/help/.html">帮助</a></td></tr></tbody></table></div>
<div class=tflypopupanimate id=ms_shortcut_anim></div></div></td>
<td class=ms_linksep>|</td></tr></tbody></table></td></tr></tbody></table>
<script>
tfly_init('ms_user', 0, 0, -1, 2, 60, 'msflyoutstatichover_msdn', '', 100, 400, '', '', '');
tfly_init('ms_shortcut', 0, 0, 1, 2, 60, 'msflyoutstatichover_msdn', '', 100, 400, '', '', '');
</script>
</body></html>