怎样给网站添加双侧对联

 时间:2024-11-16 10:26:46

1、​首先打开ftp工具下载需要加入代码的页面。

2、复制一下代码到你需要添加页面的</body>前面。<SCRIPT language=JavaScript>lastScrollY=0;function heartBeat(){diffY=document.body.scrollTop;percent=.1*(diffY-lastScrollY);if(percent>0)percent=Math.ceil(percent);else percent=Math.floor(percent);document.all.lovexin12.style.pixelTop+=percent;document.all.lovexin14.style.pixelTop+=percent;lastScrollY=lastScrollY+percent;}suspendcode12=”<DIV id=lovexin12 style=’left:10px;POSITION:absolute;TOP:220px;’><A HREF=’http://www.youhua666.com/’ target=_blank Title=’图片文字’><img src=’图片地址’ border=0 width=’100′ height=’261′></A></div>”document.write(suspendcode12);suspendcode14=”<DIV id=lovexin14 style=’right:10px;POSITION:absolute;TOP:220px;’><A HREF=’http://www.youhua666.com/’ target=_blank Title=’图片文字’><img src=’图片地址’ border=0 width=’100′ height=’261′></A></div>”document.write(suspendcode14);window.setInterval(“heartBeat()”,1);</SCRIPT>

怎样给网站添加双侧对联

3、保存文档。

4、使用ftp软件上传

5、刷新网页。看效果。

  • Html如何控制图片大小
  • html如何引入外部css样式
  • 如何在html中插入整个页面的背景图
  • html/css如何让背景颜色半透明?
  • css怎么给网页背景添加一张图片?垂直/水平重复
  • 热门搜索
    91年属什么生肖 qq红包怎么提现 仓鼠生了宝宝怎么办 血细胞分析报告怎么看 如何搭建私有云 厦门英才学校怎么样 北京如何办理居住证 显卡怎么看性能 a型血和b型血生的孩子是什么血型 哎生活vs爱生活