博思互联建站网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

50元买空间送源码包安装 50元买1年美国空间送本站任意一款源码 快速赚取金币| 免费加入VIP

港台体验150M空间 免费备案港台空间 美国空间 com域名只需55元| pw域名38元

友情链接自助申请 - 博思建站网论坛广告位 博思建站网论坛广告位 - 博思建站网论坛广告位 博思建站网论坛 Archiver |论坛日志 | 论坛相册

搜索
热搜: 推广 免费 空间
论坛长期招聘版主 论坛专用2G双线主机,386元/年 韩国超速1G主机,免备案198元/年 精英1.2G国内外可选-特价198元/年
双线20人合租-20G仅698元/年 11G 国内外论坛专用主机126元/月 500M韩国免备案爆快 126元/年 500M国内双线主机快 126元/年
文字广告位招租 80元/月 文字广告位招租 80元/月 文字广告位招租 80元/月 文字广告位招租 80元/月
查看: 764|回复: 0

[窗口页面] 左边漂浮层 可以框架放页面

[复制链接]
发表于 2013-10-18 23:07:12 | 显示全部楼层 |阅读模式

本站源码安装服务:虚拟主机安装20元   win服务器安装30元   如果是买的本站源码,虚拟主机安装只需要15元

  1. <!--代码开始-->
  2. <head>
  3. <meta http-equiv="Content-Language" content="zh-cn">
  4. <meta charset="gbk" />
  5. <style type="text/css">
  6. *{padding:0;margin:0;}
  7. html{height:100%;}
  8. body{height:210%;}
  9. .box{position:absolute;width:100px;height:400px;background:}
  10. </style>
  11. </head>
  12. </head>

  13. <body>
  14. <div class="box" id="box1" style="bottom:52px;left:9px;position:absolute; width:152px; height:216px">
  15.         <table border="0" width="100%" id="table1" height="143">
  16.                 <tr>
  17.                         <td height="25">
  18.                         <p align="center"><b><font size="2">
  19.                         <a target="_blank" href="/pic/1111?zbian">
  20.                         <font color="#FF0000">会场入口</font></a></font></b></td>
  21.                 </tr>
  22.                 <tr>
  23.                         <td height="25">
  24.                         <p align="center"><font size="2">抢红包群:<font color="#FF0000"><b></b></font>
  25.                         (验证:双11抢红包)</font></td>
  26.                 </tr>
  27.                 <tr>
  28.                         <td height="25"><!--以下是QQ邮件列表订阅嵌入代码--><script >var nId = "dcdf2b2279e1c0c0af881beece1b8f421bd12a081dcd8892",nWidth="auto",sColor="light",sText="填写您的邮箱,抢先获取抢红包攻略:" ;</script><script src="http://list.qq.com/zh_CN/htmledition/js/qf/page/qfcode.js" charset="gb18030"></script></td>
  29.                 </tr>
  30.                 <tr>
  31.                         <td>
  32.                         <p align="center">
  33.                         <a href="/pic/1111?zbiantouxiang"><img src="/pic/hb.gif"></a></td>
  34.                 </tr>
  35.         </table>
  36.         </div>
  37. </body>
  38. <script type="text/javascript">
  39. var $id=function(id){
  40. return (document.getElementById(id)) || id;
  41. }
  42. var locked=false;
  43. var scroll=function (o){
  44. var space=$id(o).offsetTop;
  45. $id(o).style.top=space+'px';
  46. var fixed = function(){
  47.    if(locked) return;
  48.    locked=true;
  49.    var roll=setInterval(function(){
  50.     var height =document.documentElement.scrollTop+document.body.scrollTop+space;
  51.     var top = parseInt($id(o).style.top);
  52.     if(height!= top){
  53.      goTo = height-parseInt((height - top)*0.9);     $id(o).style.top=goTo+'px';
  54.     }
  55.     else{
  56.      if(roll) clearInterval(roll);
  57.      locked=false;
  58.     }
  59.    },50);
  60. }
  61. return fixed;
  62. }
  63. window.onscroll=scroll('box1');
  64. </script>
  65. <!--代码结束-->
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

a

QQ|小黑屋|手机版|Archiver|博思互联建站网 ( 蜀ICP备09002004号-1 )

GMT+8, 2024-4-28 14:25 , Processed in 0.090007 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表