chinaren的鼠标提示
来源:互联网 发布:网络视频侵权 编辑:程序博客网 时间:2024/04/29 13:19
<html>
<head>
<script language="javascript">
var popup_menu = null;
document.onclick = new Function("showPopupMenu(null)")
function getPos(el,sProp) {
var iPos = 0;
while (el!=null) {
iPos+=el["offset" + sProp];
el = el.offsetParent;
}
return iPos;
}
function showPopupMenu(el, m, cuuid, user) {
if (m) {
m.style.display='';
m.style.pixelLeft = getPos(el,"Left") + el.offsetWidth;
m.style.pixelTop = getPos(el,"Top");
m.innerHTML = "<a href=http://alumni.chinaren.com/online/online_sendmsg.jsp?classuuid=" + cuuid + "&towho=" + user + " class=cla2>发小纸条</a><br>";
m.innerHTML += "<a href=http://alumni.chinaren.com/class/class_personal.jsp?userid=" + user + "&classuuid=" + cuuid + "&quuid=1 class=cla2>个人信息</a>";
}
if ((m!=popup_menu) && (popup_menu)) popup_menu.style.display = 'none';
popup_menu = m;
}
function hidePopupMenu(el, m) {
if (el && m && m.style.display=='') {
if ((document.body.scrollLeft + window.event.x > el.offsetLeft)
&& (document.body.scrollLeft + window.event.x < el.offsetLeft + el.offsetWidth)
&& (document.body.scrollTop + window.event.y > el.offsetTop)
&& (document.body.scrollTop + window.event.y < el.offsetTop + el.offsetHeight)
|| (document.body.scrollLeft + window.event.x > m.offsetLeft)
&& (document.body.scrollLeft + window.event.x < m.offsetLeft + m.offsetWidth)
&& (document.body.scrollTop + window.event.y > m.offsetTop)
&& (document.body.scrollTop + window.event.y < m.offsetTop + m.offsetHeight)) {
} else {
m.style.display = 'none';
}
}
}
function hideSelf(m) {
if (m.style.display=='') {
if ((document.body.scrollLeft + window.event.x >= m.offsetLeft)
&& (document.body.scrollLeft + window.event.x <= m.offsetLeft + m.offsetWidth)
&& (document.body.scrollTop + window.event.y >= m.offsetTop)
&& (document.body.scrollTop + window.event.y <= m.offsetTop + m.offsetHeight)) {
} else {
m.style.display = 'none';
}
}
}
function dn() {
return;
}
</script>
<style>.popmenu {position: absolute; background-color: #e9ffd8; border: 1 solid #fed070; padding-left: 5; width: 60;}</style>
</head>
<body>
<div id=popMenu class=popmenu style="display:none" onmouseout="hideSelf(this)"></div>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
<a href="javascript:dn()" onmouseover="showPopupMenu(this, popMenu, '2815032345897566157', 'conan520')" onmouseout="hidePopupMenu(this, popMenu)" class=cla2>侯菲</a>
</body>
</html>
- chinaren的鼠标提示
- 类似chinaren的DIV 拖动
- chinaren同学录的字数倒记数
- Chinaren校友录所用的左边弹出式菜单
- chinaren的心情选择效果不错
- 从CLUB.CHINAREN上复制的
- chinaren同学录的字数倒记数
- 漂亮的鼠标提示的信息
- 抓取chinaren.com校友录留言的PHP小程序
- 关于情感:在chinaren论坛收藏的一些帖子
- 类似Chinaren首页栏目可拖动效果的源码
- 牛人在chinaren上的经典歌曲集
- 鼠标放上去支持html的提示
- 鼠标移动提示的广告代码
- 放鼠标出现的提示信息
- Treeview 鼠标悬停时的问题提示
- java漂亮样式的鼠标提示
- 自己写的js鼠标提示框
- 话题: 图像处理网络资源( 转载)很好,很值得看
- JAVA培训资料(转贴)
- 超大数阶乘算法
- RFC(Request For Comments)
- 首次使用DBISAM,感觉不错!
- chinaren的鼠标提示
- 程序员之男女(转帖)
- 小学生作文《我捡到一把AK》
- 撤销表空间和回退段
- JAVA相关基础知识(二)(转贴)
- 控制文件和重做日志文件
- J2EE架构的6个最佳实践
- FTP的安全问题
- 独立与客观—CMM中的软件质量保证实施准则