<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>鼠标右键更换</title>
<!-- CSS样式设定 -->
<style type="text/css">
<!--
.cMenu {
position: absolute;
visibility:hidden;
color:#000000;
150px;
border:2px dashed #999999;
background-color:#f0f0f0;
font-size:9pt;
line-height:18px;
cursor:default;
filter: Alpha(Opacity=80);
}
.menuitems {
padding-left:15px;
padding-right:10px;
}
-->
</style>
<!-- JS脚本 -->
<SCRIPT LANGUAGE="JavaScript">
// RightClickMenu
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems"){
if (event.srcElement.url != ''){
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
</SCRIPT>
</head>
<body>
<!-- 鼠标右键更换内容,更换下面相对应名称和链接即可。 -->
<RightClick>
<!--[if IE]>
<div id="ie5menu" class="cMenu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.cnrui.cn/blog">我的BLOG</div>
<HR>
<div class="menuitems" url="http://www.ryanxia.com" target="_blank">RYAN空间</div>
<div class="menuitems" url="http://www.awflasher.com" target="_blank">AWflash</div>
<div class="menuitems" url="http://www.a-fei.net" target="_blank">ONLYMAKE</div>
<div class="menuitems" url="http://www.rystudio.com" target="_blank">锐意工作室</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/blog/tools.asp" target="_blank">在线工具</div>
<div class="menuitems" url="http://www.cnrui.cn/blog/pplive.asp" target="_blank">在线电视</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/live/index.html" target="_blank">BTLIVE</div>
<div class="menuitems" url="http://www.ao-w.com/" target="_blank">奥网科技</div>
<div class="menuitems" url="http://www.synacast.com/" target="_blank">上海聚力传媒</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/blog/gbook.asp" target="_blank">给我留言</div>
<![endif]-->
<script language="JavaScript">
<!--
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</script>
</RightClick>
<!-- 鼠标右键更换内容完毕 -->
</body>
</html>
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>鼠标右键更换</title>
<!-- CSS样式设定 -->
<style type="text/css">
<!--
.cMenu {
position: absolute;
visibility:hidden;
color:#000000;
150px;
border:2px dashed #999999;
background-color:#f0f0f0;
font-size:9pt;
line-height:18px;
cursor:default;
filter: Alpha(Opacity=80);
}
.menuitems {
padding-left:15px;
padding-right:10px;
}
-->
</style>
<!-- JS脚本 -->
<SCRIPT LANGUAGE="JavaScript">
// RightClickMenu
function showmenuie5(){
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY
if (rightedge<ie5menu.offsetWidth)
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
ie5menu.style.left=document.body.scrollLeft+event.clientX
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY
ie5menu.style.visibility="visible"
return false
}
function hidemenuie5(){
ie5menu.style.visibility="hidden"
}
function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
}
}
function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
}
}
function jumptoie5(){
if (event.srcElement.className=="menuitems"){
if (event.srcElement.url != ''){
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
}
</SCRIPT>
</head>
<body>
<!-- 鼠标右键更换内容,更换下面相对应名称和链接即可。 -->
<RightClick>
<!--[if IE]>
<div id="ie5menu" class="cMenu" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div class="menuitems" url="http://www.cnrui.cn/blog">我的BLOG</div>
<HR>
<div class="menuitems" url="http://www.ryanxia.com" target="_blank">RYAN空间</div>
<div class="menuitems" url="http://www.awflasher.com" target="_blank">AWflash</div>
<div class="menuitems" url="http://www.a-fei.net" target="_blank">ONLYMAKE</div>
<div class="menuitems" url="http://www.rystudio.com" target="_blank">锐意工作室</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/blog/tools.asp" target="_blank">在线工具</div>
<div class="menuitems" url="http://www.cnrui.cn/blog/pplive.asp" target="_blank">在线电视</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/live/index.html" target="_blank">BTLIVE</div>
<div class="menuitems" url="http://www.ao-w.com/" target="_blank">奥网科技</div>
<div class="menuitems" url="http://www.synacast.com/" target="_blank">上海聚力传媒</div>
<HR>
<div class="menuitems" url="http://www.cnrui.cn/blog/gbook.asp" target="_blank">给我留言</div>
<![endif]-->
<script language="JavaScript">
<!--
if (document.all&&window.print){
ie5menu.className="cMenu"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
//-->
</script>
</RightClick>
<!-- 鼠标右键更换内容完毕 -->
</body>
</html>