<div id="FloatDIV" style="top:0px;left:0px;position: absolute;top: 0px; border-right: activeborder 0px solid;
border-top: activeborder 0px solid; border-left: activeborder 0px solid; border-bottom: activeborder 0px solid;">
<a href="Recruitment_hot.php"><img id="imgs" src="img/gg.jpg" alt="迪普科技" /></a>
<div style="float:left; cursor:pointer; font-size:-1 " onclick="hide()">关闭</div>
</div>
<script language="javascript" type="text/javascript">
var MarginLeft = 5; //浮动层离浏览器右侧的距离
var MarginTop = 120; //浮动层离浏览器顶部的距离
var Width = 120; //浮动层宽度
var Heigth= 45; //浮动层高度
//设置浮动层宽、高
function Set()
{
document.getElementById("FloatDIV").style.width = document.getElementById("imgs").style.width;
document.getElementById("FloatDIV").style.height = document.getElementById("imgs").style.width;
}
//实时设置浮动层的位置
function Move()
{
if($.browser.webkit){
document.getElementById("FloatDIV").style.top = document.body.scrollTop + MarginTop + "px";
document.getElementById("FloatDIV").style.left = document.body.clientWidth - Width - MarginLeft + "px";
}else{
document.getElementById("FloatDIV").style.top = document.documentElement.scrollTop + MarginTop + "px";
document.getElementById("FloatDIV").style.left = document.documentElement.clientWidth - Width - MarginLeft + "px";
}
setTimeout("Move();",100);
}
function hide(){
document.getElementById("FloatDIV").style.display="none";
}
Set();
Move();
</script>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。