1.怎么才能在HTML中做个悬浮窗并在里面插个超链接。手机手机求代码
怎么才能在HTML中做个悬浮窗并在里面插个超链接。浮窗邱氏指标源码求代码
=========给你上传了附件,广告告异型窗口源码白边里面是源码gcc标准库源码源码,你去下载
在悬浮框里面加上超链接就行了
*{ padding:0px; margin:0px;}
.box{ width:px; background:#ccc; margin:0 auto; overflow:hidden;}
.main{ width:px; height:px; background:#; float:left;}
.sub{ width:px; background:#FC6; float:right;}
.sub{ width:px; height:px; background:#0CC; margin-bottom:px;}
.fixed{ width:px; height:px; background:#F; font:normal px/px \5FAE\8F6F\C5\9ED1; text-align:center; top:px;}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html xmlns="
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>悬浮框</title>
<link type="text/css" href="css/lrtk.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
</head>
<body>
<div class="box">
<div class="main"></div>
<div class="sub">
<div class="sub"></div>
<div class="sub"></div>
<div class="fixed">我是悬浮c在线升级源码悬浮框</div>
</div>
</div>
</body>
</html>
$(document).ready(function(e) {
t = $('.fixed').offset().top;
mh = $('.main').height();
fh = $('.fixed').height();
$(window).scroll(function(e){
s = $(document).scrollTop();
if(s > t - ){
$('.fixed').css('position','fixed');
if(s + fh > mh){
$('.fixed').css('top',mh-s-fh+'px');
}
}else{
$('.fixed').css('position','');
}
})
});