不知道什么时候写的一个东西,放上来其实是为了填充下空洞的博客!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script>
function tc_mk(type) {
//展示层
document.getElementById("tcmk1"+type).style.display = "block";
//关闭层
document.getElementById("msgShut1"+type).onclick = function(){
document.getElementById("tcmk1"+type).style.display = "none";
}
}
</script>
<style>
.dp_none {display: none; z-index:888; width:275px; height:70px; border:1px solid #4b94d4; background:red; position:absolute; left:50%; top:50%; font-size:12px; margin-left:-140px; margin-top:-35px; line-height:25px;}
</style>
</head>
<body>
<div style="width:50%; float:left; border:1px solid #ccc; position:relative">
<ol>
<li><a href="#" οnclick="tc_mk('01')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('01')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('01')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('01')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('01')">哥是低调的哥</a></li>
</ol>
<div id="tcmk101" class="dp_none">
我是强大的内容1
<input name="" type="button" value="关闭" id="msgShut101" />
</div>
</div>
<div style="width:80%; float:right; border:1px solid #ccc; position:relative">
<ol>
<li><a href="#" οnclick="tc_mk('02')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('02')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('02')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('02')">哥是低调的哥</a></li>
<li><a href="#" οnclick="tc_mk('02')">哥是低调的哥</a></li>
</ol>
<div id="tcmk102" class="dp_none">
我是强大的内容2
<input name="" type="button" value="关闭" id="msgShut102" />
</div>
</div>
</body>
</html>