<!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=utf-8" />
<title>框框随着鼠标点击的元素的位置改变而改变</title>
<style type="text/css">
.pop{
width: 350px;
height: 200px;
border: 1px solid #00f;
background-color: #ffffee;
display: none;
position:absolute;
}
.rc_box1,.rc_box2,.rc_box3 { display:inline-block; *display:inline; *zoom:1; position:relative; border-style:solid; border-color:RGB(255,130,0);}
.rc_box2,.rc_box3 { border-width:0 1px; *left:-2px; background-color:RGB(255,255,255);}
.rc_box1 { border-width:1px; line-height:1.5; position:absolute}
.rc_box2 { margin:0 -2px;}
.rc_box3 { margin:1px -2px; padding:0 6px; width:200px}
.lov1,.lov2 { position:absolute; overflow:hidden; width:0; height:0; border-top:6px dotted transparent; border-bottom:6px dotted transparent;
border-right:6px solid transparent;}
.lov1 { left:-9px; border-right-color:RGB(255,130,0);}
.lov2 { left:-8px; border-right-color:RGB(255,255,255);}
a{ z-index:-120px; position:relative; line-height:70px}
</style>
<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript">
$(function () {
$("a").hover(function () {
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载